mysql相关:
mysql --help |grep my.cnf 配置文件 添加skip-grant-tables 重启服务 (改密码)
mysql use mysql
update user set Password=Password(‘111111‘) where User=‘root‘;
flush privileges;
mysql 密码找回
原文:http://akbkcklxj.blog.51cto.com/4402213/1618999