Home >Database >Mysql Tutorial >mysql密码重置_MySQL

mysql密码重置_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:11:41925browse

1.my.ini文件中,[mysqld]下面增加一行skip-grant-tables并保存.

2.重启mysql。

3.use mysql;

4.update user set password=password('新密码') WHERE User='root';

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