MySQL remote connection fails with “unknown authentication method”

前端 未结 7 1060
名媛妹妹
名媛妹妹 2020-11-28 15:22

I am trying to remotely connect to MySQL server online from my local machine, but I am getting the following error:

Warning: PDO::__construct(): The server r         


        
相关标签:
7条回答
  • 2020-11-28 15:53

    alter user 'username'@'localhost' identified with mysql_native_password by 'password'; would fix it.

    0 讨论(0)
提交回复
热议问题