Home> Database> phpMyAdmin> body text

How to change the administrator password in phpmyadmin

Release: 2020-03-12 13:23:14
Original
5069 people have browsed it

How to change the administrator password in phpmyadmin

phpmyadmin How to change the administrator password:

Recommended:phpmyadmin introductory tutorial

1. After logging in to phpMyAdmin, See the "Permissions" link at the top,

2, go in and you can see the list of administrator account names, click "Edit Permissions" in the list of administrators that need to be modified,

3, on the page There will be a password box below, just enter it and save it.

How to change the administrator password in phpmyadmin

After completing the modification, you need to modify your login password in config.inc.php of phpmyadmin, otherwise phpmyadmin cannot connect to mysql.

You need to modify the configuration file of phpmyadmin. Open the config.inc.php file with Notepad, find the following parts and modify them

$cfg['Servers'][$i ]['host'] = 'localhost';

$cfg['Servers'][$i]['port'] = '3306';

$cfg['Servers' ][$i]['user'] = 'Fill in your username here';

$cfg['Servers'][$i]['password'] = 'Fill in your MySQL password here';

$cfg['Servers'][$i]['AllowNoPassword'] = true;

After saving config.inc.php, restart the server to access phpmyadmin.

Related recommendations:PHP video tutorial

The above is the detailed content of How to change the administrator 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!