1

when I try to access my phpMyAdmin. It occurs this error message.

MySQL said:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server

What should I do. I'm afraid I did something wrong here. I have wamp server as my serve and MySQL 5.1 as the database application program. please tell me what to do. My wamp server is 2.0

3
Contributors
2
Replies
8
Views
7 Years
Discussion Span
Last Post by teedoff
0

Hello,

The message is telling you one of two things:

1. That you did not give the root mysql password when trying to connect.

2. MySQL is not up and running.

Try connecting to mysql from the command line with the following

mysql -u root -p database_name

SHould prompt you for the root password. If there is not one you should set one.

0

I had this issue too awhile back when I first installed WAMP. I had to completely uninstall WAMP, delete the folder, then reinstall maming sure I didn't create a password during installation. You can add a password later.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.