How to Set automatic login for phpmyadmin

Source: Internet
Author: User
Tags time zones

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

Related Article

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.