What is the reason for the message “Access denied for user”?

Hello.

I’ll tell you right away that I’m a beginner. I take care of the book. Installed EasyPHP-3. Apache and MySQL are working fine (green indicator). I created a web folder on drive C, where I add examples. I took a short program from the book to create a table. When launched, I received the following message:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'Guest'@'localhost' (using password: YES) in C:webinstall_1.php on line 10

I understand that MySQL is not accessible. Some additional settings are needed. The database and table were not formed.


Answer 1, authority 100%

Invalid username or password. Checkif everything is correct.


Answer 2, authority 100%

In the 10th line of the script at C:webinstall_1.php you have the mysql_connect() function. It contains the username, password, and database to connect to. Check the correctness of the entered data.