How can I set the installed phpmyadmin to automatic login!
First, find config in the root directory. sample. inc. copy a file name in php and change it to config. inc. php (if config. inc. php file, you can directly modify the file), open config. inc. php found
$ Cfg ['servers'] [$ I] ['auth _ type ']
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';
The cookie in is changed to http or config:
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'http ';
Or
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'config ';
Add the following code below:
$ Cfg ['servers'] [$ I] ['user'] = 'root '; // set your mysql username $ cfg ['servers'] [$ I] ['Password'] = '000000'; // set your mysql password
Save it.
If you want to cancel Automatic phpmyadmin login. You only need
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'http ';
Change
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';
Save it.
Articles you may be interested in
- How to Set automatic phpmyadmin login and cancel Automatic Login
- PhpMyAdmin does not allow empty password login Solution
- Phpmyadmin configuration file description
- PhpMyAdmin Cannot start session without errors error Solution
- How to solve the Call to undefined function curl_init error in php running?
- How to set the jump wait time for the thinkphp page Jump (successerror)
- Summary of several methods for setting time zones in PHP
- Php prompts Call to undefined function curl_init () Error Solution