phpmyadmin configuration file now requires top-secret phrase password_PHP Tutorial

WBOY
Release: 2016-07-13 10:57:08
Original
1186 people have browsed it

When using phpmyadmin, we may encounter the error message that the phpmyadmin configuration file now requires a top-secret phrase password. Let me summarize the solution for you. Friends who need to know can refer to it.

The configuration is as follows: phpmyadmin/config.inc.php

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

$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['blowfish_secret'] = 'sakia';(其中的"sakia"自定义)
?>

Copy code

$cfg['Servers'][$i]['auth_type'] = 'cookie';

$cfg['blowfish_secret'] = 'sakia'; ("sakia" is customized)
代码如下 复制代码
$cfg['blowfish_secret'] = ”;
?>

If there is no config.inc.php file in your phpmyadmin, we need to find a file "config.sample.inc.php" in the phpMyAdmin file, and then rename it to "config.inc.php" to upload to the server.

Then put

 代码如下 复制代码
 vim /usr/share/phpmyadmin/config.inc.php

or other value can be
 代码如下 复制代码
 $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

The above describes how to solve the problem in Windows if it is in Linux
 代码如下 复制代码
 $cfg['blowfish_secret'] = 'pooy'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

Then the "$cfg['blowfish_secret'] =" statement in phpmyadmin installed under CentOS is in config.inc.php
The code is as follows
Copy code
vim /usr/share/phpmyadmin/config. inc.php

Found
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'] = 'pooy '; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ pooy is a character I added randomly http://www.bkjia.com/PHPjc/632130.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632130.htmlTechArticleWhen using phpmyadmin, we may encounter an error message that the phpmyadmin configuration file now requires a top-secret phrase password. Here I will Let me summarize the solutions for everyone. Friends who need to know more can refer to...
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
Popular Tutorials
More>
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!