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

mysql密码重置_MySQL

WBOY
Release: 2016-06-01 13:11:41
Original
920 people have browsed it

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

2.重启mysql。

3.use mysql;

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template