If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Guestbook - Connection error  XML
Forum Index » Support Forum
Author Message
Anonymous



after creating the DB tables I used the link
Click now here to setup the guestbook admin...
/guestbook/admin.php


And got these errors:

Warning: Access denied for user: 'root@localhost' (Using password: NO) in ................/guestbook/lib/mysql.class.php on line 30

Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in ................/guestbook/lib/mysql.class.php on line 30
Connection Error


Does anybody have an idea how to solve this problem?
Thanks a lot
Anonymous



I had the same.

Open up config.inc.php and amend the database settings at the top:

/* database settings */

$GB_DB["dbName"] = "name of database";
$GB_DB["host"] = "localhost";
$GB_DB["user"] = "your user name";
$GB_DB["pass"] = "password";

(modify the red bits)

Save and upload
Anonymous



thanks - being new to php your mail help a lot
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum