问题:
ERROR 1045 (28000): Access denied for user 'vnap'@'localhost' (using password: YES)
解决方法:
使用root用户登录,删除匿名用户。
select user, host from mysql.user where user='';
delete from mysql.user where user='';
flush privileges
参考:
http://stackoverflow.com/questions/10299148/mysql-error-1045-28000-access-denied-for-user-billlocalhost-using-passw