The phpmyadmin configuration file requires a top secret phrase password.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.