如果你忘记了MySQL密码,如何重置它呢?
下面是错误答案:
首先停止MySQL服务,然后使用skip-grant-tables参数启动它:
shell /etc/init.d/mysql stop\nshell mysqld_safe –skip-grant-tables
未经允许不得转载:机械百科 » MySQL修改密码命令(mysql修改密码的命令(mysql改默认密码))
如果你忘记了MySQL密码,如何重置它呢?
下面是错误答案:
首先停止MySQL服务,然后使用skip-grant-tables参数启动它:
shell /etc/init.d/mysql stop\nshell mysqld_safe –skip-grant-tables