Home  >  Article  >  Database  >  Solution to why phpmyadmin cannot be opened after changing the password

Solution to why phpmyadmin cannot be opened after changing the password

尚
Original
2019-12-12 10:25:512606browse

Solution to why phpmyadmin cannot be opened after changing the password

The solution is very simple:

1. Overwrite the config.default.php in the /libraries directory with the config.inc.php file under phpmyadmin

2. Then modify the phpmyadmin/config.inc.php file

$cfg['PmaAbsoluteUri'] = 'http://192.168.2.129/phpmyadmin/';
$cfg[ 'Servers'][$i]['host'] = 'localhost';//(Usually the default is used, there are exceptions)
$cfg['blowfish_secret'] = ''//Change it to any character, otherwise There will be an error message when logging in. I forgot the specific number
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i][' user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password

PHP Chinese website, there is A large number of free phpmyadmin introductory tutorials, everyone is welcome to learn!

The above is the detailed content of Solution to why phpmyadmin cannot be opened after changing the password. For more information, please follow other related articles on the PHP Chinese website!

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