Programing/WEB
[Mysql + PHP] Mysql8.* caching_sha2_password 문제
진 주
2019. 10. 24. 09:55
/etc/mysql/my.cnf 파일에 아래 문구 추가
default-authentication-plugin=mysql_native_password
php mysqli_connect: authentication method unknown to the client [caching_sha2_password]
I am using php mysqli_connect for login to a MySQL database (all on localhost)
stackoverflow.com
https://mysqlserverteam.com/upgrading-to-mysql-8-0-default-authentication-plugin-considerations/