WebHosting Talk Advertising  

Go Back   SA WebHosting Talk - Web Hosting Discussions > SA WebHostingTalk > Content
Forums Home Members List Arcade Mark Forums Read

Recent blog posts

Navigation

Syndicate
Syndicate content

 
How to repair all MySQL databases on a server in one go
By SoftDux at 04/22/2009 - 22:33
SoftDux's picture
Here's a quick & ditry trick to repair all MySQL databases on a server, in one go.

Run the following commands on your server, in the console as root.

mysqlcheck --all-databases -r #repair
mysqlcheck --all-databases -a #analyze
mysqlcheck --all-databases -o #optimize

by OmniPrint on Thu, 04/30/2009 - 06:35
thank you this is helpful

by Rudi on Tue, 05/05/2009 - 10:43
These commands are rather useful, and I'm sure one could even add it to a crontjob to run once per week? Or how about adding it to the servers start up scripts?

Latest Forum post

Forum


All times are GMT +2. The time now is 10:45 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright @ 2009 SA WebHosting Talk