| Author | Message | 
				 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 31/12/2003 01:50:13
	 | 
					
						
						| 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)
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 31/12/2003 13:14:43
	 | 
					
						
						| Jam'n Graduate
 
 ![[Avatar]](/forum/images/avatar/9851679603ed7b6d3d2c7f.gif) 
 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...
 
 ------------------------------------------------
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 02/01/2004 00:41:00
	 | 
					
						
						| 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! | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 27/01/2004 22:44:19
	 | 
					
						
						| Anonymous 
 
 
 
 | how do i find out my localhost, I cant seem to get it? | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 28/01/2004 09:43:56
	 | 
					
						
						| 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
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 28/01/2004 16:02:45
	 | 
					
						
						| 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!
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 29/01/2004 11:59:33
	 | 
					
						
						| 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?
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 29/01/2004 14:46:24
	 | 
					
						
						| 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
 | 
		
					 
						|  | 
				
		
				
					|  |