| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		icehammer -
 
  Joined: 07 Jul 2006 Posts: 6
 
  | 
		
			
				 Posted: Fri Jul 07, 2006 3:49 pm    Post subject: Server Error: Could Not Connect????? | 
				      | 
			 
			
				
  | 
			 
			
				I get this msg when i try to see my site on Abyss.. using win XP pro.. 
 
 
 
Warning: mysql_connect(): Can't connect to MySQL server on 'localhost' (10061) in E:\Site\Site\chat\connect.php on line 2
 
Server Error: Could Not Connect.
 
 
 
 
how can i solve this prob??? | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		AbyssUnderground -
 
  Joined: 31 Dec 2004 Posts: 3855
 
  | 
		
			
				 Posted: Fri Jul 07, 2006 4:02 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Try putting in the right username/pass/host and make sure MySQL is running. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
 
www.abyssunderground.co.uk | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		icehammer -
 
  Joined: 07 Jul 2006 Posts: 6
 
  | 
		
			
				 Posted: Sat Jul 08, 2006 5:03 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				 	  | The Inquisitor wrote: | 	 		  | Try putting in the right username/pass/host and make sure MySQL is running. | 	  
 
 
 
 
 
How do i make sure that my SQL is running?? I'm using abyss on XP pro.. | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		AbyssUnderground -
 
  Joined: 31 Dec 2004 Posts: 3855
 
  | 
		
			
				 Posted: Sat Jul 08, 2006 6:40 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Open task manager and click the processes tab. Look for a process similar to "mysqld-nt.exe". If its there then MySQL is running.
 
 
If you are having problems configuring it then visit my site and follow the tutorials. www.abyssunderground.co.uk . _________________ Andy (AbyssUnderground) (previously The Inquisitor)
 
www.abyssunderground.co.uk | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		Brian121 -
 
  Joined: 29 Jan 2007 Posts: 1
 
  | 
		
			
				 Posted: Mon Jan 29, 2007 7:43 am    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				We have just installed an eventum setup for a database test and are  getting the following error in our error logs although things appear to be working properly. W are also occasionally getting a server not available message while using/refreshing eventum. Any suggestions?
 
 
'INSERT INTO 
 
user_eventum.eventum_issue_history 
 
( 
 
his_iss_id, 
 
his_usr_id, 
 
his_created_date, 
 
his_summary, 
 
his_htt_id) VALUES ( 
 
5, 
 
10, 
 
'2007-01-10 20:47:33', 
 
'Issue updated (Description) ', 
 
) [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 13]' _________________ digital certificates | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		aprelium -
 
  Joined: 22 Mar 2002 Posts: 6800
 
  | 
		
			
				 Posted: Mon Jan 29, 2007 9:21 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Brian121,
 
 
This is a script error. We suggest reporting it to the script authors. _________________ Support Team
 
Aprelium - http://www.aprelium.com | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		Lucifiel -
 
  Joined: 29 Jul 2007 Posts: 1
 
  | 
		
			
				 Posted: Sun Jul 29, 2007 10:49 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				 	  | AbyssUnderground wrote: | 	 		  | Try putting in the right username/pass/host and make sure MySQL is running. | 	  
 
 
Just a question: if my host is "localhost", then it should be this, right?
 
 
$cfg['Servers'][$i]['host'] = 'localhost';
 
 
Just asking because I'm getting this same issue. I've even tried connecting after turning off the firewall and turning off static ip.
 
 
So, default mysql account user = root and default port = 3306 . I've already opened 3306 port on both UDP/TCP. Still, I can't connect to the server.
 
 
How frustrating! :(
 
 
Edit: In my.ini 
 
 
I added: #Bind Address
 
bind-address=localhost 
 
Also, mysqld-nt.exe is running. | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		aprelium -
 
  Joined: 22 Mar 2002 Posts: 6800
 
  | 
		
			
				 Posted: Tue Jul 31, 2007 1:32 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Lucifiel,
 
 
Try using 127.0.0.1 instead of localhost and check that your MySQL server is actually running. _________________ Support Team
 
Aprelium - http://www.aprelium.com | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		 |