Author |
Message |
31/08/2005 14:06:24
|
joecanz
Beginner
Joined: 30/08/2005 16:49:25
Messages: 5
Offline
|
I mentioned an error in a previous post, but I have now installed the guestbook tables. The problem is that when I try to access the guestbook at the follwing URL, www.rocketbomb.com/guestbook, I get this error:
Access denied for user: 'root@localhost' (Using password: YES) in /home/rocketbo/public_html/guestbook/lib/mysql.class.php on line 30
I looked at line 30, but since I don't know anything about PHP, I don't understand it.
Joe
|
|
31/08/2005 15:33:06
|
JTD
Graduate
Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline
|
You need to put the correct info in your config.php file.
|
LINK-> Use Lazarus Guestbook |
|
31/08/2005 16:32:07
|
joecanz
Beginner
Joined: 30/08/2005 16:49:25
Messages: 5
Offline
|
Yeah, maybe I should change root@localhost to something else...
OK, thanks--I'll see if I can fix it.
|
|
31/08/2005 17:40:22
|
JTD
Graduate
Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline
|
Most generally all it needs to say is Localhost.
|
LINK-> Use Lazarus Guestbook |
|
31/08/2005 18:22:38
|
joecanz
Beginner
Joined: 30/08/2005 16:49:25
Messages: 5
Offline
|
Yeah, someone told me that... I'm not sure what the problem is. I'll have to look at the config file again. I think I need to install the database through the INSTALL script, but when I try that I get a "syntax error." I wonder if my unzip program added some kind of characters, since I'm using a MAC OS 9.
Thanks a lot, though.
|
|
01/09/2005 13:34:10
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
"Access denied for user: 'root@localhost'. It is saying your database username is root. That means you didn't change it in the config.inc.php file.
The file information below needs to be changed to your information.
Above your post is a sticky that says "read this before posting...". In it is a link to the post that explains how to customize this file:
Admin config.inc.php file:
http://proxy2.de/forum/viewtopic.php?t=3654
|
|
01/09/2005 13:43:26
|
joecanz
Beginner
Joined: 30/08/2005 16:49:25
Messages: 5
Offline
|
Thanks a lot--It seems to be working now. You guys are brilliant.
Thanks again,
Joe
|
|
|