mysql db 접근 에러
"Access denied for user " "(using password: YES)")"
이렇게 나올 경우
1. localhost와 %의 비밀번호가 다를 경우
mysql> use mysql
mysql> select * from user;
mysql> update user set Password=Password('password') where User='Username' and Host='%';
mysql> commit;
mysql> flush privileges;
2. 권한이 없을때
mysql> grant select, insert, update, delete, create, drop, alter on dbname.*to 'leo'@'%';
mysql> flush privileges;
-----------------------------------------------------------------------------------------------
출처 : http://shonm.tistory.com/entry/MYSQL-Access-denied-for-user-using-password-YES
'컴터 때찌 > Error' 카테고리의 다른 글
[mysql] ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (0) | 2013.10.09 |
---|---|
[Error] RuntimeError: No package configuration found for: nspr (0) | 2013.07.31 |
[Error] About " Sublime Text 2 " (1) | 2013.07.12 |
[Error-PHP] Snoopy.class.php fsockopen 에러 ~ (0) | 2011.07.19 |
[Error-vSphere] (0) | 2011.07.18 |