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
댓글 없음:
댓글 쓰기