How to Set automatic phpmyadmin login and cancel Automatic Login

Source: Internet
Author: User

How can I set the installed phpmyadmin to automatic login!

(1) Find config in the root directory. inc. php (root directory) or config. default. php (root directory) And then: libraries \ config. default. php (Friendly reminder: Because different versions may involve different files, basically these three files ),

(2) Open config. inc. in php, find $ cfg ['servers'] [$ I] ['auth _ type'] and convert $ cfg ['servers'] [$ I] ['auth _ type'] = 'cookies '; the cookie in is changed to http or config, that is, $ cfg ['servers'] [$ I] ['auth _ type'] = 'http '; or $ cfg ['servers'] [$ I] ['auth _ type'] = 'config ';

(3) Add the following code below:

$ Cfg ['servers'] [$ I] ['user'] = 'root '; // set the mysql username $ cfg ['servers'] [$ I] ['Password'] = '000000'; // set the mysql password

Save it.

If you want to cancel Automatic phpmyadmin login. Just put $ cfg ['servers'] [$ I] ['auth _ type'] = 'http '; change to $ cfg ['servers'] [$ I] ['auth _ type'] = 'cooker'. Save the settings.

Articles you may be interested in
  • How to Set automatic login for phpmyadmin
  • PhpMyAdmin does not allow empty password login Solution
  • Thinkphp automatic verification and automatic filling are invalid Solutions
  • Use the PHP function memory_get_usage to obtain the current PHP memory consumption for program performance optimization.
  • Reasons why PHP adds a backslash before the quotation mark and how PHP removes the backslash, there are three ways to disable the php magic quotation mark
  • Learn to set five common MySQL database Parameters
  • PhpMyAdmin Cannot start session without errors error Solution
  • Mobile phone website width automatically adapts to mobile phone screen

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.