全部博文(930)
分类: Mysql/postgreSQL
2009-08-28 15:18:38
官方的说法是
MySQL 4.1 and up uses an authentication protocol based on a password hashing algorithm that is incompatible with that used by older clients.
解决办法是:
UPDATE mysql.user SET Password = OLD_PASSWORD('newpwd')
WHERE User = 'usrname';
update后还有重启下mysql服务,在运行程序就可以了