php4 连 mysql5 的问题
用php4连接mysql5时,
Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in
困了一天,最后还是到网上找到了解决办法:
在MYSQL Command Line Client中输入:SET PASSWORD FOR 'username'@'host' = OLD_PASSWORD('your_password');
Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in
困了一天,最后还是到网上找到了解决办法:
在MYSQL Command Line Client中输入:SET PASSWORD FOR 'username'@'host' = OLD_PASSWORD('your_password');