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 
Advanced guestbook error, need help!  XML
Forum Index » Support Forum
Author Message
fiasco1
Newbie

Joined: 31/12/2003 01:44:26
Messages: 2
Offline

Anyone have any idea what this error means and how to fix the problem so that I can get the guestbook working? Thanks for your help.


Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'frozenja_guestbo @localhost' (Using password: YES) in /home/frozenja/public_html/guestbook/lib/mysql.class.php on line 30
Connection Error
--------------------------------------------------------------------------------

MySQL Error : Connection Error
Error Number: 1045 Access denied for user: 'frozenja_guestbo @localhost' (Using password: YES)
Jam'n
Graduate
[Avatar]

Joined: 07/01/2003 17:31:39
Messages: 166
Location: Netherlands
Offline

Looks like you use the wrong user name and/or password for the MySQL database.
Did you also configure everything correctly in the config.inc.php file before you uploaded it?

Like this:

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

Jam'n


------------------------------------------------

Only the man who's truly educated
understands that he knows very little...

------------------------------------------------
[WWW]
fiasco1
Newbie

Joined: 31/12/2003 01:44:26
Messages: 2
Offline

Thank you for your reply! The problem seems to be fixed and the guestbook is working well!
Anonymous



how do i find out my localhost, I cant seem to get it?
darrenabela
Beginner

Joined: 22/01/2004 15:59:54
Messages: 7
Location: London
Offline

okay Ive gone through the forums and checked my config file, but getting

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.jesmondd:/tmp/mysql.jesmondd' (2) in /home/jesmondd/web/guestbook/lib/mysql.class.php on line 30
Connection Error
--------------------------------------------------------------------------------

MySQL Error : Connection Error
Error Number: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.jesmondd:/tmp/mysql.jesmondd' (2)
Date : Wed, January 28, 2004 08:35:47
IP : 205.228.81.7
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; msie6xpv1; .NET CLR 1.0.3705)
Referer :
PHP Version : 4.3.0
OS : Linux
Server : Apache/1.3.26 (Unix) PHP/4.3.0 mod_perl/1.27 mod_gzip/1.3.19.1a FrontPage/4.0.4.3
Server Name : www.jesmonddenehotel.co.uk



I originally got to the install pages with no problems, then created the Tables and databases with no problems, however when I goto the admin pages I get the error above. Now Ive been told that my skt is localhost:/tmp/mysql.<username> Im putting this in but still getting errors?

Can any one help me?
Thanks
Darren.abela@morganstanley.com
[Email] [WWW]
Anonymous



Basically I connected to the install page okay and created the DB and table okay, but I cant get into the admin page??????

Any one please!
Anonymous



Hi,

Most of the time hosting providers use "localhost" as the server, but some have there own setting (Yahoo).
Just ask your hosting partner what the server name is.


What error does the admin page give?
darrenabela
Beginner

Joined: 22/01/2004 15:59:54
Messages: 7
Location: London
Offline

okay finally found out the problem.

apparently the software code doesnt user socket connections.

I had someone modify the mysql.call.php to cater for it.

Does this make sense and can any one explain?

Thanks

www.jesmonddenehotel.com
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum