cat /etc/mysql/debian.cnf
用文件内的client的user进行登录
登录成功后
更改密码:
update user set Password="159753" where User="root";
转载:https://blog.csdn.net/lynnucas/article/details/55050190