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 > Recover Data from table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-22-04, 07:52
DJD DJD is offline
Registered User
 
Join Date: Nov 2004
Posts: 2
Recover Data from table

Hello there.

Unfortunately yesterday my board was hacked by someone. Fortunately i did have backup.. but it was one week back. So what he did was to empty most of the tables but due to the structure of mysql i think it is possible to recover the data.
We want to recover rows from a mysql (.myd) file marked as deleted. the first byte of each row has been set to 00. Setting it differently would allow a repair with the regular myisamchk utility. Do you know any way of doing that except doing it manual row by row (its about 200.000 rows )

I 'll appreciate any answer
Best Regards,
Kostas.
Reply With Quote
  #2 (permalink)  
Old 11-22-04, 13:40
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
Don't know but it is likely you could do a find/replace using PERL or some other script language pretty quickly.
Reply With Quote
  #3 (permalink)  
Old 11-22-04, 15:34
DJD DJD is offline
Registered User
 
Join Date: Nov 2004
Posts: 2
The difficult part is to find where the row starts/ends so to find what 00 you have to change.. i am so confused..
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