您的位置:首页 > 博客中心 > 数据库 >

mysqlnd cannot connect 连接错误处理方法

时间:2022-03-14 08:37

mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD(‘your_existing_password’). This will store a new, and more secure, hash value in mysql.user. 

使用phpadmin连接上远程数据库,执行以下sql即可:

SET SESSION old_passwords=FALSE;
 
SET PASSWORD = PASSWORD(‘yourpassword‘);

 

本类排行

今日推荐

热门手游