< mysql 사용자 권한 설정. >

mysql> grant all privileges on *.* to 'user'@'host' identified by 'new_password';

mysql> flush privileges;

참고 페이지

< root 암호 설정 >

mysqladmin -u root -p password new-password



맨날 잊어 먹고, 맨날 구글링 해서 쓴다.
잊어먹지 말자. -_-;;;
Posted by 하루하루