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

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.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.