IT. POST LIST

POST ALL LABEL

Client does not support authentication protocol requested by server; consider upgrading MySQL (4.0->5.0 마이그레이션시)

By 때찌때찌맴매 - 12월 04, 2013

mysql 마이그레이션 4.0 에서 5.0 이상으로 버젼 업.



db 정상 접근 및 소스 connection 부분도 정상이다..그런데..



Client does not support authentication protocol requested by server; consider upgrading MySQL —>요론 에러가…



확인  결과 mysql 4.1 미만에서 그 이상으로 버젼 업후 홈페이지에 연동 시키면 이러한 오류가 나는 경우가 있음..



이경우 걍 4.0 이하를 위한 접속계정을 해주면됨



[root@localhost ]# mysql -uroot -p



mysql> use mysql;
Database changed
mysql> set password for ‘접속계정’@’localhost(호스트)’ = OLD_PASSWORD(‘접속계정에대한패스워드’);
Query OK, 0 rows affected (0.00 sec)

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


  • Share:

You Might Also Like

0 개의 댓글