PHP mysqli_connect: authentication method unknown to the client [caching_sha2_password]

Open a File
C:\ProgramData\MySQL\MySQL Server 8.0\my.ini
and Edit like this

# The default authentication plugin to be used when connecting to the server
#default_authentication_plugin=caching_sha2_password
default-authentication-plugin=mysql_native_password

댓글

이 블로그의 인기 게시물

일본어 조사 を(오 : ~을 / ~를)입력 방법

세계의 전기와 전자제품 50Hz / 60Hz , 110V / 220V / 230V