(❀╹◡╹)
[Mysql + PHP] Mysql8.* caching_sha2_password 문제 본문
/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/
'Programing > WEB' 카테고리의 다른 글
[JS] SNS 공유하기 (페이스북, 트위터, 카카오톡) (0) | 2019.11.21 |
---|---|
[JS] 브라우저 체크 스크립트 (0) | 2019.11.14 |
[Mysql] 로그인 시 caching_sha2_password 오류 (0) | 2019.10.23 |
[Mysql] 인코딩 utf-8 셋팅 (0) | 2019.10.23 |
[PHP] POST 전송 후 뒤로가기 시 세션 만료 문제 (0) | 2019.10.18 |