Home >Database >Mysql Tutorial >PhpMyAdmin configuration file now requires a phrase password workaround_MySQL

PhpMyAdmin configuration file now requires a phrase password workaround_MySQL

WBOY
WBOYOriginal
2016-07-06 13:32:441337browse

The new version of PhpMyAdmin has enhanced security and requires a phrase password to be set in the configuration file. Otherwise, after entering, there will be a red warning prompt saying "The configuration file now requires a phrase password.".

Solution:

1. Change

in phpMyAdmin/libraries/config.default.php

$cfg['blowfish_secret'] = ''; changed to $cfg['blowfish_secret'] = '123456'; (Note: '123456' is an arbitrary character)

2. In the phpMyAdmin directory, open config.sample.inc.php, line 18

$cfg['blowfish_secret'] = ''; changed to $cfg['blowfish_secret'] = '123456'; (Note: '123456' is an arbitrary character)

This password is used to encrypt cookies to avoid confusion when cookies are shared by multiple PhpMyAdmin or other programs.

Complete the above two steps, refresh the web page, OK, the prompt "The configuration file now requires a phrase password." no longer exists!

The above is the entire content of the solution to the PhpMyAdmin configuration file now requiring a phrase password. I hope it can give you a reference and hope you can support it.

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