my sql help !!! PLEASE !!!

Status
Not open for further replies.

nayddan

New Member
Messages
24
Reaction score
0
Points
0
what does this mean and how do I fix it i am trying to run a guest book

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/nayddan/public_html/guestbook/lib/mysql.class.php on line 30
Connection ErrorMySQL Error : Connection Error
Error Number: 1045 Access denied for user 'root'@'localhost' (using password: NO)
Date : Sun, March 2, 2008 03:05:28
IP : 149.135.114.4
Browser : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Referer :
PHP Version : 5.2.5
OS : Linux
Server : Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Server Name : www.kihas.com
Thanks for any help
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
It means that you have not set the right username and password

You need to change the username and password in your config file for the guestbook.
The username should be your cPanel username and the password should be your cPanel password.
 
Last edited:

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
The logical name would be 'config.php' or 'configuration.php'
If you can't find a file with that name it could be in 'index.php'

If you still can't find the configuration, see if you can find some installation instructions (The guestbook should have come with some, if not try the developers website)
 
Status
Not open for further replies.
Top