Home >Database >Mysql Tutorial >mysql忘记root密码解决方法_MySQL

mysql忘记root密码解决方法_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:30:08840browse

bitsCN.com

mysql登录时,忘记root密码了怎么办?

在配置文件中的[mysqld]中加入skip-grant-tables,然后重启mysql,这个时候mysql会跳过授权表,直接启动。

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:mysql日志类型_MySQLNext article:mysql或查询语句_MySQL