1.vi /etc/mysql/debian.cnf 以user password登录 修改密码:ALTER USER 'root'@'localhost'IDENTIFIED BY '********'