[PHP]mysql 접속 에러
# Script/PHP2017. 6. 16. 10:57[PHP]mysql 접속 에러

PHP Warning: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. 위와 같이 오류가 발생할 경우는 php버전과 mysql버전에서 사용하는 password 암호화 방식이 다르기때문에 발생된 에러입니다. 해결방법은 아래와 같습니다. mysql> sel..

image