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 > is this table corrupted??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-09, 06:09
akhalsa akhalsa is offline
Registered User
 
Join Date: Jul 2009
Posts: 2
is this table corrupted??

I have just inherited the job of administering a database from another guy who did not leave the company on good terms (I won't be able to ask him anything)

When I tried backing up the database by doing a database dump I got the following error:

mysqldump: Got error: 1017: Can't find file: 'tblFavoriteOwners' (errno: 2) when using LOCK TABLES

On a bit of further inspection, I found that the table tblFavoriteOwners appears when I run SHOW TABLES

However, any attempts to access anything specific about this table for instance DESCRIBE tblFavoriteOwners result in the following error:

ERROR 1017 (HY000): Can't find file: 'tblFavoriteOwners' (errno: 2)

Is there anything I can do to rescue this table, or should I just try dropping it in order to properly backup the rest of the database?

Thanks a lot
Reply With Quote
  #2 (permalink)  
Old 07-15-09, 06:40
ashish_mat1979 ashish_mat1979 is offline
Registered User
 
Join Date: Aug 2005
Posts: 30
Try "Check Table" & "Repair Table" for your table if it is MyISAM table.
__________________
Ashish
Entertainment Overloaded
Reply With Quote
  #3 (permalink)  
Old 07-15-09, 07:07
akhalsa akhalsa is offline
Registered User
 
Join Date: Jul 2009
Posts: 2
When I tried CHECK TABLE tblFavoriteOwners I get the following response:

Table: beds.tblFavoriteOwners
Op: Check
Msg_type: error
Msg_text: Can't find file: 'tblFavoriteOwners' (errno: 2)

When I do REPAIR TABLE tblFavoriteOwners I get the same response except Op is obviously repair instead of check.
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