Phpmyadmin configuration instructions

Source: Internet
Author: User
For phpmyadmin configuration instructions, find librariesconfig. default. php file (config. default. copy php to The phpmyadmin directory and rename it config. inc. php). For windows editing, use a Wordpad (do not use notepad, which is UTF8 encoding). In linux, use vim to edit it directly. $ I1 is the global variable by default. all phpmyadmin configurations are described.

Find/libraries/config. default. php file (config. default. copy php to The phpmyadmin directory and rename it config. inc. php). For windows editing, use a Wordpad (do not use notepad, which is UTF8 encoding). In linux, use vim to edit it directly. By default, $ I = 1 is a global variable, which can be added as needed.

?

?

Configuration item Description
$ Cfg ['pmaabsoluteuri '] = 'http: // 192.168.1.11/onlyyouknow '; Enter the address for accessing phpmyadmin
$ Cfg ['servers'] [$ I] ['only _ db'] = ''; You can leave it blank. if one or more databases are filled in, the login user will only see these databases, such as ['db1', 'db2 '…]
$ Cfg ['servers'] [$ I] ['host'] = 'localhost '; The local machine can use localhost by default. if you add more servers, enter the host name or IP address of the $ n server, where $ n must be at $ I = 1. the attachment defines the global variable. Use localhost to ignore the specified port. the default value is 3306.
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'config '; Cookie is recommended.
$ Cfg ['servers'] [$ I] ['user'] = 'root '; MySQL user (mysql user name, root is not recommended ;)
$ Cfg ['servers'] [$ I] ['password'] = ''; MySQL password
$ Cfg ['blowfish _ secret'] = '? '; If you enter any information, the system will not prompt "the configuration file requires a top secret phrase and password ."
$ Cfg ['logincookievalidity '] = 1800; Connection timeout, in seconds
$ Cfg ['servers'] [$ I] ['verbose '] = ''; When the multi-server mode is enabled, this string will be displayed in the drop-down menu instead of the host name.

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.