Mysql - root 비번 분실

1. 데몬을 죽인다.

# killall mysqld

2. skip grant 모드로 데몬 실행

# mysqld_safe --skip-grant &

3. mysql 실행

# mysql

4. root 비번 업데이트

mysql> update user set password=password('새패스워드') where user='root';
mysql> flush privileges;

5. 데몬 재실행

by overdose | 2009/01/15 17:07 | MySQL | 트랙백 | 덧글(1)

트랙백 주소 : http://devideby0.egloos.com/tb/2204215
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]
Commented by 보솨 at 2009/02/02 16:30

:         :

:

비공개 덧글

◀ 이전 페이지          다음 페이지 ▶