Bugzilla is a web-based bug tracking application and testing that is used by many software development company. There are various databases like MySQL as their backend support on extensively mainly because these two applications are freely available. Although this tool is pretty good in most cases it can come to a halt if the can get some of the MySQL tables corrupted. In such cases, you are not here to fulfill various tasks on the. You can use the "myisamchk"different parameters to repair command with MySQL database. If it does not work, then you have professional recovery software to MySQL MySQL database restore.
Discussion of a similar situation in Bugzilla, consider the following error message while creating a bug report:
"Undef error - DBD:: mysql:: db selectrow_array failed: Table 'attach_data' is
marked as crashed and should be repaired [for Statement "SELECT LENGTH (theData) are
OFFattach_data WHERE id =? "] At Bugzilla / Attachment.pm line 344
Bugzilla: Attachment: data size ('Bugzilla: Attachment = HASH (0x9df119c)') called "
Cause:
As can be seen from the message itself, the "attach_data 'table corrupt, so you also receive this error message in Bugzilla.
Resolution:
To fix this error message and repair MySQL database, you should follow these steps:
You should find out all corruptMyISAM tables in the database with the following command:
# Myisamchk / var / lib / mysql / bugs / *. MYI>> / tmp / myisamchk_log.txt
The / tmp / myisamchk_log.txt file contains the list of all the tables appear as tested:
Checking MyISAM file: user_group_map.MYI
Records: 182 Deleted blocks: 0
- Check the file size
- Check delete-chain record
- Delete check-key-chain
- Check index reference
- Check data record references index: 1
Repairthe table with the following command:
# Myisamchk-r profiles.MYI
You should check and repair with the myisamchk command displayed as a:
# Myisamchk - silent - force - fast - update-state / var / lib / mysql / bugs / *. MYI
The "myisamchk" tool is competent enough to check and repair MyISAM table. But some cases were noticed where the table is not repaired with this tool. On such occasions the worthwhile option is to use by third partiesImplementation of MySQL to repair software. This recovery MySQL Tools MySQL guarantee repair without damage to the original tables.
Such software is Stellar Phoenix Recovery for MySQL Database, MySQL, repairs files of all instances of logical corruption. Can be used on various Windows platforms, including Windows 7, Vista, Server 2003, XP and 2000 use the recovery utility recovers MySQL MySQL tables in MySQL 3.x, 4.x, 5.x and 6.x versions created .
Get Stellar Phoenix Database Repair for MySQL utility to fix and recover corrupt MySQL databases and restore all the unreadable database objects safely, such as views, primary keys, triggers and more.
ReplyDelete