Home > Database > phpMyAdmin > body text

How to recover the forgotten database password in phpmyadmin

王林
Release: 2020-02-14 13:27:34
Original
3632 people have browsed it

How to recover the forgotten database password in phpmyadmin

1. Open the my.ini configuration file and find the mysqld configuration item, as follows:

[mysqld]
port=3306
Copy after login

Add skip-grant-tables below and then you can Skip the password input and enter the command terminal;

2. Then change the password input:

update mysql.user set password=password("新密码") where user=root;
Copy after login

3. After changing the password, delete the skip-grant- added in my.ini tables will do.

Related recommendations: phpmyadmin tutorial

The above is the detailed content of How to recover the forgotten database password in phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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