Home  >  Article  >  Backend Development  >  phpmyadmin login prompt profile now requires a phrase password_PHP Tutorial

phpmyadmin login prompt profile now requires a phrase password_PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 17:06:451080browse

The phrase password is used by phpmyadmin to prevent confusion when multiple logins occur, so we are required to configure the $cfg['blowfish_secret'] phrase password in config.sample.inc.php. Let me introduce the solution to you.

The configured phpmyadmin3.2.4 is used to manage the MySQL database. After logging in, the bottom of the page prompts: The configuration file now requires a phrase password.
Solution: Edit the config.inc.php file in the phpmyadmin directory and find: $cfg['blowfish_secret'] = ' '; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

Enter any characters within the two single quotes after $cfg['blowfish_secret'] = ' '; to enhance password security.


Specific solutions


1. Change

in phpMyAdmin/libraries/config.default.php

 代码如下 复制代码
$cfg['blowfish_secret'] = '';

changed to

The code is as follows
 代码如下 复制代码

$cfg['blowfish_secret'] = 'bKjia.c0m';

Copy code


$cfg['blowfish_secret'] = 'bKjia.c0m';

 代码如下 复制代码

$cfg['blowfish_secret'] = '';

 代码如下 复制代码

 $cfg['blowfish_secret'] = 'bKjia.c0m';

(Note: 'bKjia.c0m' is a random character)

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

The code is as follows Copy code
$cfg['blowfish_secret'] = '';

Into
The code is as follows Copy code
$cfg['blowfish_secret'] = 'bKjia.c0m'; (Note: 'bKjia.c0m' is a random character) This password is used to encrypt cookies to avoid confusion when cookies are shared by multiple PhpMyAdmin or other programs.
http://www.bkjia.com/PHPjc/630683.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/630683.htmlTechArticleThe phrase password is phpmyadmin. In order to prevent confusion when multiple logins occur, we are asked to configure config.sample.inc $cfg['blowfish_secret'] phrase password in .php, let me give you the password below...
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