Go Back   HostGator Peer Support Forums > HostGator Announcements > Network Status

Notices

Reply
 
Thread Tools
  #1  
Old 04-27-2006, 10:54 AM
plumwd's Avatar
plumwd plumwd is offline
Hatchling Croc
 
Join Date: Oct 2005
Location: Two Rivers, WI
Posts: 47
Default Is Gator36 Down?

Has the database server been changed on Gator36 at all? I've been having many problems lately with my site at http://www.realwowonline.com

At times I can't reach it at all, or I get the following error. I understand what the error means, but I haven't touched my code at all to cause an error.

Quote:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /home/plumwd/public_html/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/plumwd/public_html/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/plumwd/public_html/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database

Last edited by plumwd; 04-27-2006 at 10:56 AM.
Reply With Quote
  #2  
Old 04-27-2006, 02:27 PM
PsiPro PsiPro is offline
King Croc
 
Join Date: Nov 2005
Posts: 812
Default Re: Is Gator36 Down?

Dont use sockets unless its a remote DB (unless you have specific reason to). Use the server name 'localhost'
Reply With Quote
  #3  
Old 04-27-2006, 02:54 PM
dema dema is offline
Baby Croc
 
Join Date: Feb 2006
Location: Toledo, OH
Posts: 65
Default Re: Is Gator36 Down?

Quote:
Originally Posted by PsiPro
Dont use sockets unless its a remote DB (unless you have specific reason to). Use the server name 'localhost'
She is most likely using "localhost", the socket here is just the layer on which the network works with relation to the kernel. The error she is getting is usually the result of the mysqld process being down, and thus, no socket exists. The PHP error generated is kind of lame, but it's better than the T_PAAMAYIM_NEKUDOTAYIM one (:
Reply With Quote
  #4  
Old 04-27-2006, 03:53 PM
plumwd's Avatar
plumwd plumwd is offline
Hatchling Croc
 
Join Date: Oct 2005
Location: Two Rivers, WI
Posts: 47
Default Re: Is Gator36 Down?

You are exactly right Dema.

As an aside, this has been an issue for me for the last week or so, I'm curious as to whether there's something going on with the MySQL server on gator36 because this shouldn't be happening.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 07:41 PM.

 
Forum SEO by Zoints