Home > Database > phpMyAdmin > How to change mysql password using phpmyadmin

How to change mysql password using phpmyadmin

王林
Release: 2019-12-28 15:05:08
Original
2551 people have browsed it

How to change mysql password using phpmyadmin

First open phpmyadmin

How to change mysql password using phpmyadmin

Click "User" in the picture above, as shown in the picture, you can see all current users

How to change mysql password using phpmyadmin

Select the last line, root localhost, click "Edit Permissions", as shown in the picture:

How to change mysql password using phpmyadmin

In the pop-up window , keep pulling down to "Change Password", as shown in the picture:

How to change mysql password using phpmyadmin

Enter the new password twice and click "Execute";

Note: The "Generate" button refers to the new password generated after encrypting the currently set password, that is, the generated string.

If you want to use the password you set, do not click the "Generate" button.

How to change mysql password using phpmyadmin

After the password is successfully changed, visit the website again, and the display will be as shown below:

How to change mysql password using phpmyadmin

Methods to solve "Access Denied" Yes, open the installation directory of phpMyAdmin, find the config.inc.php file, open

How to change mysql password using phpmyadmin

and find $cfg['Servers'][$i]['password '] = ''; Change the password to the password just in phpmyadmin and save it

How to change mysql password using phpmyadmin

##Open phpMyAdmin at this time and you can connect normally

How to change mysql password using phpmyadmin

Recommended related articles and tutorials:

phpmyadmin tutorial

The above is the detailed content of How to change mysql password using 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