标签:mysql
解决方法:
CREATE USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘password‘;
grant all privileges on *.* to ‘root‘@‘localhost‘ identified by ‘password‘ with grant option;
可以讲password,改成你要设置的密码
Access denied for user 'root'@'localhost' (using password: YES)
标签:mysql
原文地址:http://blog.csdn.net/zc123456zzc/article/details/45504923