我做了一些调整,设置了一个新的根密码,如下所示SET PASSWORD FOR 'root'@'localhost' = PASSWORD('MyNewPass');GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'MyNewPass';ufw allow3306
然后,我将bi
Warning: PDO::__construct(): The server requested authentication method unknown to the client [mysql_old_passwordSQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
在尝试使用本地服务器上的MySQL脚本连接到Hostgator上的PHP数据库服务器时,我得到了上面的错误。据我所知,这是一个