Welcome to YLOAN.COM
yloan.com » Data Recovery » Recovering Mysql Corruption In Bugzilla Database
Games Personal-Tech Data Entry registry cruise torrent mac code virus storage uninstaller systems cisco bugs wireless codes maintenance dell update communication trojan atlanta Data Backup Data Storage Data Protection Data Recovery Anti-Virus Windows Linux Software Hardware Mobil-Computing Certification-Tests Computers & Internet Internet

Recovering Mysql Corruption In Bugzilla Database

Bugzilla is a web-based bug tracking and testing application that is used by many software development companies

. It extensively various databases including MySQL for its backend support especially because both of these applications are freely available. Although this tool runs pretty fine in most cases, it can get stalled when the some of the MySQL tables get corrupt. In such cases, you are unable to perform various tasks on the database. You can use the 'myisamchk' command with different parameters to repair MySQL database. If it does not work, then you should use a professional MySQL recovery software to recover MySQL database.

Discussing a similar situation in Bugzilla, consider you get the following error message while generating a bugs 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)


FROM attach_data WHERE id =?"] at Bugzilla/Attachment.pm line 344

Bugzilla::Attachment::datasize('Bugzilla::Attachment=HASH(0x9df119c)') called"

Cause:

As can be inferred from the message itself, the 'attach_data' table is corrupt, which is why you are getting this error message in Bugzilla.

Resolution:

To resolve this error message and repair MySQL database, you should perform the following steps:

You should find out all the corrupt tables in the MyISAM database using the following command:

# myisamchk /var/lib/mysql/bugs/*.MYI >> /tmp/myisamchk_log.txt

The /tmp/myisamchk_log.txt file will contain the list of all the checked tables as displayed:

Checking MyISAM file: user_group_map.MYI

Data records: 182 Deleted blocks: 0

- check file-size

- check record delete-chain

- check key delete-chain

- check index reference

- check data record references index: 1

Repair the table using the following command:

# myisamchk -r profiles.MYI

You should do a check and repair using the myisamchk command as displayed:


# myisamchk --silent --force --fast --update-state /var/lib/mysql/bugs/*.MYI

The 'myisamchk' tool is competent enough to check and repair the MyISAM table. But some instances have been noticed where the table is not repaired using this tool. On such occasions, the most worthwhile option is to use a third-party software to perform MySQL repair. These MySQL recovery tools guarantee MySQL repair without any damage to the original tables.

One such software is Stellar Phoenix Database Recovery for MySQL, which repairs MySQL files from all instances of logical corruption. Can be used on various Windows platforms including Windows 7, Vista, Server 2003, XP, and 2000, this MySQL recovery utility recovers MySQL tables created in MySQL 3.x, 4.x, 5.x, and 6.x versions.

by: mark willium
Recovering Your Data From Damaged Or Corrupted Partitions Get Your Zip Archives Back With The Easy Zip Recovery Solution 3 Easy Steps For Hard Drive Recovery Easy Solution For Hard Drive Recovery Necessity of RAID Recovery after RAID 5 Failure Hard Drive Recovery Causes Of File Loss Important Features Of Hard Drive Recovery? Recover Deleted Files - How Can You Lose Data From Your Hard Drive? Use Easy Excel Recovery To Recover Your Excel Documents Effectively Retrieve Rar Data With Easy Rar Recovery A National Oil and Gas Asset and Exploration & Production Database for Ukraine is a Critical Infrastructure element to attract Investors External Hard Drives, Finest Solution To Store More Data Securely Cloud Computing Popularity - Cost Effective Datacenter Infrastructure
print
www.yloan.com guest:  register | login | search IP(52.14.186.192) Washington / Seattle Processed in 0.008645 second(s), 7 queries , Gzip enabled , discuz 5.5 through PHP 8.3.9 , debug code: 52 , 3031, 165,
Recovering Mysql Corruption In Bugzilla Database Seattle