![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Dear Comunity, I need your help. I accidently deleted some '.MYD' files. I want to restore them, without stopping the running server. how i can do this. i am using Linux OS, i tried to create file using ---> vi tablename.MYD(a blank file) but it is not accepted by MySql. regards, bala |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi Dilip, it means i loosed the data, correct Dilip. is there any other way to gain that data, any binary logs etc? regards, bala |
#5
| |||
| |||
|
|
Log_name | +----------------------+ localhost-bin.000008 | localhost-bin.000009 | +----------------------+ |
#6
| |||
| |||
|
|
Hi Dilip, I got two binary logs in Server. I don't know how to find server uptime? mysql> show master logs; +----------------------+ | Log_name | +----------------------+ | localhost-bin.000008 | | localhost-bin.000009 | +----------------------+ 2 rows in set (0.00 sec) if i ask for structure it is giving error message mysql> desc userdetails; ERROR 1016 (HY000): Can't open file: 'userdetails.MYI' (errno: 145) if i create .MYD file using vi editor, MySql giving following message |
|
mysql> desc userdetails; ERROR 1105 (HY000): File './everest/userdetails.MYD' not found (Errcode: = 13) but the file is exist. |
|
tell me how i can get the data. |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
Thank you Daniel for reply. Just in curiocity i want ask u, how u r taking daily backups, just using 'mysqldump' or using any Tools. |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
On 5/9/06, balaraju mandala <balaraju.mandala (AT) gmail (DOT) com> wrote: Thank you Daniel for reply. Just in curiocity i want ask u, how u r taking daily backups, just using 'mysqldump' or using any Tools. I'm using mysqldump plus bzip2 to compress data for about 2 years now. Tried many tools, mysqldump scripted in bash (linux) or even in .bat (windows) was always better than any other tools. -- Daniel da Veiga Computer Operator - RS - Brazil -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ ------END GEEK CODE BLOCK------ |
![]() |
| Thread Tools | |
| Display Modes | |
| |