【小白求助】debian 7.5 启动之后出现ERROR 1045 (28000)
debian吧
全部回复
仅看楼主
level 1
请问一下这个问题怎么解决啊!阿里云的云服务器。
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
2017年01月07日 05点01分 1
level 8
密码错误
2017年01月08日 06点01分 4
level 13
Warning: World-writable config file '/etc/mysql/debian.cnf' is ignored 大致是说mysql的这个配置文件有问题(权限全局可写),任何一个用户都可以修改它。这是mysql的一种安全机制,所以忽略掉这个配置文件,导致无法进入。所以
lz
修改一下这个文件的权限再试试。设置其他用户不可写,如:chmod 755 /etc/mysql/debian.cnf
另外推荐lz使用较新的debian stable版本。
2017年01月08日 08点01分 5
1