The phpmyadmin configuration file requires a top secret phrase password.

Source: Internet
Author: User
When using phpmyadmin, we may encounter an error message indicating that the phpmyadmin configuration file requires a top secret phrase and password. the configuration is as follows: phpmyadminconfigincphp. the code is as follows: & lt ;? Php

When phpmyadmin is used, we may encounter a top-secret phrase password error message in The phpmyadmin configuration file. the configuration is as follows: phpmyadmin/config. inc. php. the code is as follows:

  1. $ Cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';
  2. $ Cfg ['blowfish _ secret '] = 'sakia'; ("sakia" custom)
  3. ?>

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 "is uploaded to the server, and Then: $ cfg ['blowfish _ secret'] ="; or other values.

The above section describes how to solve the problem in windows. if it is in linux, the "$ cfg ['blowfish _ secret '] =" statement in phpmyadmin installed in CentOS is in config. inc. php.

Vim/usr/share/phpmyadmin/config. inc. php find $ cfg ['blowfish _ secret '] = '';/* you must fill in this for cookie auth! */Add any character after =. the code is as follows:

$ 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.