phpMyAdmin connection to MySQL server is denied

Source: Internet
Author: User
Tags phpmyadmin

Show:

PhpMyAdmin tries to connect to the MySQL server, but the server rejects the connection. You should check the host, user name, and password in the configuration file and confirm that the information is consistent with the information given by the MySQL server administrator.

Reason:

May be caused by a change to MySQL password.

Workaround:

1. Modify the $cfg in config.inc.php under phpMyAdmin [' Servers '] [$i] [' password '] = '; Change the value of the password;

2. Modify $cfg[' Servers ' [$i] [' auth_type '] = ' http '; Modify to HTTP

Of course, there may still be a mistake, because this is caused by IE cache, choose IE Internet Options, general-"clear browsing history, clear the cache to resolve the problem."

The following are configuration information about the database configuration in config.inc.php:

There is a config.inc.php in the phpMyAdmin directory where you can open it with the editing software and then

/* Authentication type and Info * * This sentence below
$cfg [' Servers '] [$i] [' auth_type '] = ' config ';
$cfg [' Servers '] [$i] [' user '] = ' root ';
$cfg [' Servers '] [$i] [' password '] = ' ************* '; Database Password
$cfg [' Servers '] [$i] [' extension '] = ' mysqli ';

phpMyAdmin connection to MySQL server is denied

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.