MySQL에서 root passwd 설정



출처: joon

mysql -uroot -p

mysql> use mysql;
Database changed

mysql> update user set password=password('password') where user='root';
Query OK, 3 rows affected (0.43 sec)
Rows matched: 3  Changed: 3  Warnings: 0

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

-password와 root 주의는 외따옴표로 묶어 주시면 됩니다.
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2008/08/25 02:08 2008/08/25 02:08
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/25

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/25

Leave a comment
« Previous : 1 : ... 29 : 30 : 31 : 32 : 33 : 34 : 35 : 36 : 37 : ... 55 : Next »