Author |
Message |
06/05/2003 00:37:19
|
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!
|
|
06/05/2003 03:30:25
|
Anonymous
|
the error is saying for me too
|
|
06/05/2003 03:33:22
|
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
|
|
06/05/2003 20:26:49
|
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!
|
|
09/05/2003 21:08:16
|
Anonymous
|
Thanks got it figured out. Just had to put the right credentials in. LOL
|
|
06/06/2003 08:24:02
|
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???
|
|
11/06/2003 06:07:33
|
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
|
|
11/06/2003 12:22:47
|
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]
|
|
|