phpMyAdmin #1045-access denied for user ' root ' @ ' localhost ' (using Password:no
PHP MySQL and phpMyAdmin installed under Windows
The following error occurred when entering http://127.0.0.1/phpMyAdmin/or http://127.0.0.1/phpMyAdmin/index.php in the address bar
"#1045-access denied for user ' root ' @ ' localhost ' (using Password:no)"
Version is phpMyAdmin 2.11.6
The following code has been modified in the config.inc.php and config.sample.inc.php files
------Solution--------------------
I have also had this problem.
The problem is either the wrong password or the database host error that you connected to the database is the $db_host value error.
------Solution--------------------
Set a username and password for the database, and give this user permission to access it.
------Solution--------------------
Attempt to perform a connection at the command line to confirm the correctness of the password
Follow the prompts #1045-access denied for user ' root ' @ ' localhost ' (using Password:no)
Indicates that no password was entered when connecting
------Solution--------------------
Look at the Data DB table and user table settings
------Solution--------------------
It helps you to look at this address! ~ ~
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.