如何解决mysql数据库忘记密码

vim /etc/my.cnf 添加此行 skip-grant-table systemctl restart mariadb mysql select user,password,host from mysql.user; update mysql.user set password=password(“123456”) where user=“root” and host=“localhost
相关文章
相关标签/搜索