> mysqladmin - u root -p create 생성할DB명


> mysql -u root -p

mysql> grant select, insert, update, delete, create. drop
      ->on 생성한DB명.* to '생성할유저명'@'localhost' identified by '사용할암호'

mysql> grant select, insert, update, delete, create. drop
      ->on 생성한DB명.* to '생성할유저명'@'%' identified by '사용할암호'


'%' 는 모든 외부연결을 허용합니다.



Posted by 빨강토끼
,