Skip to content

Windows MySql 비밀번호 분실시 변경방법

MintState August 30, 2011 at 4:25 PM Views 14138

Windows MySql 비밀번호 분실시 변경방법

작업관리자에서 MySql 프로세스를 끝낸다

명령프롬프트창에서…
c:\………\MySqld - -skip-grant

새로운 명령프롬프트 창을 띠운다.
c:\………\mysql -u root -p
password :

mysql>use mysql
Database changed
mysql>update user set password=password(’변경할 비번’) where user=(’root’);
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0

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

mysql>quit

Share X Facebook LINE QR code

0 comments

Be the first to comment.