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