When using phpmyadmin, we may encounter a top-secret phrase Password error message in the phpmyadmin configuration file. Below I will summarize the solution for you. For more information, see.
The configuration is as follows: phpmyadmin/config. inc. php
The Code is as follows: |
Copy code |
<? Php $ Cfg ['servers'] [$ I] ['auth _ type'] = 'cooker '; $ Cfg ['blowfish _ secret '] = 'sakia'; ("sakia" custom) ?> |
If your phpmyadmin does not contain config. inc. in the php file, we need to find a file named "config." In the phpMyAdmin file. sample. inc. php, and rename it as "config. inc. php Upload server.
Then
The Code is as follows: |
Copy code |
$ Cfg ['blowfish _ secret'] = "; |
Or other values.
The above describes how to solve the problem in linux
The "$ cfg ['blowfish _ secret'] =" statement in phpmyadmin installed in CentOS is in config. inc. php.
The Code is as follows: |
Copy code |
Vim/usr/share/phpmyadmin/config. inc. php
|
Find
The Code is as follows: |
Copy code |
$ Cfg ['blowfish _ secret'] = '';/* you must fill in this for cookie auth! */
|
Add any character after =
The Code is as follows: |
Copy code |
$ Cfg ['blowfish _ secret '] = 'poo';/* you must fill in this for cookie auth! */
|
Pooy is a random character.