1.vi /etc/mysql/debian.cnf
以user password登录
- 修改密码:
ALTER USER 'root'@'localhost'IDENTIFIED BY '********'
1.vi /etc/mysql/debian.cnf
以user password登录
ALTER USER 'root'@'localhost'IDENTIFIED BY '********'
本文标题:Debian或Ubuntu服务器:忘记mysql密码 重置
本文链接:https://www.haomeiwen.com/subject/iqlplqtx.html
网友评论