If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Fix Corrupt Database?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-25-07, 00:22
rollings rollings is offline
Registered User
 
Join Date: Jul 2007
Posts: 5
Can't connect to local MySQL server through socket

Hello members

I have search Google "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)"

And I can't find any help on (11). and I have tired in other forums and didnt get answer yet

I get this error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) around lunch peak times.

Anyone experience this problem or know what to do to fix it? I would appreciate it.

Thanks for your valuable time!

katie
Reply With Quote
  #2 (permalink)  
Old 07-25-07, 00:30
rollings rollings is offline
Registered User
 
Join Date: Jul 2007
Posts: 5
Fix Corrupt Database?

Hello members

My database seems to of got corrupt over night. I sent a support ticket to Dreamhost this morning but have not received a reply. I tried logging in via PHPMyAdmin and my user/pass is not recognized even though in the account settings both are still their. I made a new testing account which works but it does not load the table. When i click the table to load the status bar just says loading and nothing else....

So my next option is to check/repair the database via shell but I dont know how to... I tried to google it but they didn't have a dummies guide that I could use...

So if anyone can help would be useful

Its a IPB forum that has been corrupted the IPB site itself does'nt say what the exact error is except that its a DB error.
Please suggest

Thanks for your time:
Katie
Reply With Quote
  #3 (permalink)  
Old 07-25-07, 01:33
loquin loquin is offline
Super Moderator
 
Join Date: Jun 2004
Location: Arizona, USA
Posts: 1,797
What kind of database? MySQL?
__________________
Lou
使大吃一惊
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert

Reply With Quote
  #4 (permalink)  
Old 07-25-07, 03:14
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Usually you get more joy if posting in the correct forum

Moving to MySQL.
__________________
Testimonial:
Quote:
pootle flump
ur codings are working excelent.
Reply With Quote
  #5 (permalink)  
Old 07-25-07, 03:57
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
yep, phpmyadmin -> mysql

moving thread to mysql forum
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #6 (permalink)  
Old 07-25-07, 04:00
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
now merging with your other thread in mysql forum
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #7 (permalink)  
Old 07-25-07, 09:48
aschk aschk is offline
Registered User
 
Join Date: Mar 2007
Location: 636f6d7075746572
Posts: 770
The following
Quote:
"Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)"
usually implies that the MySQL server is not running or has halted for one reason or another. However given that you can access PhpMyAdmin and it's not causing any problems with a new database I would guess that this problem is no longer existing.

Do you know how it's corrupt? Have you got an error specifying so?

Use myisamchk on MyISAM tables, and use CHECK TABLE and REPAIR TABLE on InnoDB tables.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On