[转]MySQL 经验集
时间:2017-03-02 13:05:59
收藏:0
阅读:220
1 -- my.ini -> 在 [mysqld] 节点下加入一行 skip-grant-tables 然后重启服务 2 -- 接下来无密码登录到 mysql 执行以下命令 3 use mysql 4 show tables 5 update user set password = password(‘123456‘) where user=‘root‘ 6 flush privileges;
电脑上安装了最新的 MariaDB 使用方法和 MySql 一样,只是端口号是 3333
下载地址:https://downloads.mariadb.org
忘记密码步骤转自:http://www.cnblogs.com/Richard-xie/p/4205630.html
原文:http://www.cnblogs.com/z5337/p/6489840.html
评论(0)