How to set phpMyAdmin automatic login and cancel automatic logon

Source: Internet
Author: User
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.

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