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 
Advance Guestbook Error Can't figure it out!  XML
Forum Index » Support Forum
Author Message
Anonymous



I keep getting the following message on the Guestbook after installing the MySQL databases. Please Help!

Warning: Access denied for user: 'root@localhost' (Using password: NO) in /home/virtual/site8/fst/var/www/html/guestbook/lib/mysql.class.php on line 30

Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in /home/virtual/site8/fst/var/www/html/guestbook/lib/mysql.class.php on line 30
Connection Error
--------------------------------------------------------------------------------

MySQL Error : Connection Error
Error Number: 1045 Access denied for user: 'root@localhost' (Using password: NO)
Date : Mon, May 5, 2003 15:21:10
IP : 68.99.239.179
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows 9
Referer : http://www.10.10entertainment.com/guestbook/install.php
PHP Version : 4.2.2
OS : Linux
Server : Apache
Server Name : www.10.10entertainment.com

Thanks!
Anonymous



the error is saying for me too
Anonymous



Warning: Access denied for user: 'atpudham@localhost' (Using password: YES) in /home/virtual/site39/fst/var/www/html/guestbook/install.php on line 220

Warning: MySQL Connection Failed: Access denied for user: 'atpudham@localhost' (Using password: YES) in /home/virtual/site39/fst/var/www/html/guestbook/install.php on line 220
Cannot connect to database
Anonymous



Just open the config.inc.php file in the dir /admin/ there on the first lines you have to put your login credentials for your mysql.

signing out!
Anonymous



Thanks got it figured out. Just had to put the right credentials in. LOL
Anonymous



okay i have the same problem here. can somebody explain it to me and be more specific, please. like what do i put in the credentials???
spor
Student

Joined: 18/04/2003 05:02:37
Messages: 50
Offline

Go to your guestbook admin folder and open config.inc.php with an editor
and find

/* database settings */

$GB_DB["dbName"] = ""; <--insert the name of your database
$GB_DB["host"] = "localhost";
$GB_DB["user"] = ""; <--insert your login name you use for the databse
$GB_DB["pass"] = ""; <--insert the password you use to access your database
Anonymous



$GB_DB["host"] = "localhost";


it isn't always localhost, but 90% of the time it is. Just check with your host first to be sure. Some servers use separate computers for the databases, and you will link to them.[/code]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum