PhpMyAdmin cannot connect to the database after changing the MySQL Database Password

Source: Internet
Author: User

If phpMyAdmin is enabled, change the root password in the permission, and then open phpMyAdmin. "phpMyAdmin tries to connect to the MySQL server, but the server rejects the connection. Check the host, user name, and password in config. Inc. php and confirm that the information is consistent with the information given by the administrator of the MySQL server .". Solution to this problem:

Find config in phpMyAdmin. inc. PHP file, change $ cfg ['servers'] [$ I] ['auth _ type'] = 'config';: $ cfg ['servers'] [$ I] ['auth _ type'] = 'http '; in addition, modify the password in $ cfg ['servers'] [$ I] ['Password.

When phpMyAdmin is opened again, the following page is displayed. Click the open new phpMyAdmin Window link to bring up a page asking you to enter the user name and password, enter the user name and password to open the MySQL operation interface again ....

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.