How to set phpMyAdmin automatic login and cancel auto sign-in
How do I set the installed phpMyAdmin to auto-login?
First, locate config.sample.inc.php in the root directory to copy a file name to config.inc.php (if a config.inc.php file already exists, modify the file directly).
Open config.inc.php Find $cfg [' Servers '] [$i] [' Auth_type ']?
Will $cfg [' Servers '] [$i] [' auth_type '] = ' cookie ';
Change the cookie in to HTTP or config?
That?
$cfg [' Servers '] [$i] [' auth_type '] = ' http ';
Or?
$cfg [' Servers '] [$i] [' auth_type '] = ' config ';
Then add the following code below:
$cfg [' Servers '] [$i] [' user ']????? = ' root ';???//Set the MySQL user name
$cfg [' Servers '] [$i] [' Password ']??? = ' 123′;??? Set the MySQL password
Save it.
If you want to cancel phpMyAdmin automatic login?
Just put
$cfg [' Servers '] [$i] [' auth_type '] = ' http ';?
Change into
$cfg [' Servers '] [$i] [' auth_type '] = ' cookie ';
Save it.