PhpMyAdmin tries to connect to the MySQL server, but the server rejects the connection. You should _ MySQL

Source: Internet
Author: User
PhpMyAdmin tries to connect to the MySQL server, but the server rejects the connection. Check the host, user name, and password phpmyadmin in config. inc. php.

PhpMyAdmin can be enabled at the beginning, but I changed the root password in the permission, and then opened phpMyAdmin, and it will show: "phpMyAdmin tried to connect to the MySQL server, but the server refused to connect. Check the host, user name, and password in config. inc. php and make sure the information is consistent with the information given by the administrator of the MySQL server .", The strange thing is that I set config. inc. in php, the $ cfg ['servers'] [$ I] ['password'] has already filled in the password. why not?

Solution:

Clear the browser cache

Or

Change config in The phpmyadmin directory. inc. in php: $ cfg ['servers'] [$ I] ['auth _ type'] = 'config'; changed: $ cfg ['servers'] [$ I] ['auth _ type'] = 'http ';

You can...

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.