mysql_error:mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication
时间:2022-03-14 02:43
SET old_passwords =0;
UPDATE mysql.user SET Password =PASSWORD(‘testpass‘) WHERE User=‘testuser‘ limit 1; SELECT LENGTH(Password) FROM mysql.user WHERE User=‘testuser‘; FLUSH PRIVILEGES;