今天把EASY-CDN的WEB代码放到wapm上跑一下,结果出错,
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\usr\local\www\data\web\Connections\conn.php on line 9
Fatal error: Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\usr\local\www\data\web\Connections\conn.php on line 9
GOOGLE了一下,两找了两种解决方法:
mysql> set PASSWORD FOR
-> = OLD_PASSWORD('akin');
mysql> UPDATE mysql.user SET Password = OLD_PASSWORD('akin')
-> WHERE Host = '%' AND User = 'akin';
mysql> FLUSH PRIVILEGES;
阅读(1564) | 评论(0) | 转发(0) |