Bug #55504 | mysqlcheck deletes .myd files | ||
---|---|---|---|
Submitted: | 23 Jul 2010 11:31 | Modified: | 24 Jul 2010 5:48 |
Reporter: | vincenzo antolini | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: General | Severity: | S1 (Critical) |
Version: | 5.1.48-community | OS: | Windows (2003 STANDARD EDITION) |
Assigned to: | CPU Architecture: | Any | |
Tags: | delete, deleted, myd, mysqlcheck |
[23 Jul 2010 11:31]
vincenzo antolini
[23 Jul 2010 11:46]
Valeriy Kravchuk
Please, send the results of dir D:\mysql\Data\demo_com and your my.ini file content, as a private file/comment if you want.
[23 Jul 2010 11:56]
vincenzo antolini
I attach a screenshot of the folder. I have run again the command mysqlcheck on the folder and it has corrupted again the database.
[23 Jul 2010 11:56]
vincenzo antolini
data file AFTER mysqlcheck execution
Attachment: sshot-1.png (image/png, text), 43.83 KiB.
[23 Jul 2010 12:04]
vincenzo antolini
mysqlcheck will delete the original .MYD file and leave a temporary one. myisamchk will file because the original .MYD file is missing. The only way to recover the situation is to rename all the temporary files.
[24 Jul 2010 5:48]
MySQL Verification Team
Vincenzo, please don't use 'myisam_use_mmap' in my.cnf. This is a duplicate of bug #49030