Analyze, check, auto-repair and optimize Mysql Database

mysqlcheck -a --auto-repair -c -o -uroot -p [DB]
A useful way to do a full check and auto repair damaged databases

By: michelem
2009-02-06 15:49:16

What Others Think

For all databases on localhost: mysqlcheck --analyze --optimize --auto-repair --all-databases --host=localhost --user=[user] --password=[root]
jensih · 662 weeks and 2 days ago
More and more car buyers are now actually actually embracing a vehicle buying agent or car broker to simply help them manage their car purchasing. Here the client extends to play on an amount field with the dealer,learn more since the automobile buying agent or car broker normally has exactly the same knowledge and expertise since the dealer to manage to negotiate on every area of the offer to the main advantageous asset of the buyer.
KayGasaway · 42 weeks and 1 day ago
tillyracker · 23 weeks and 2 days ago
You used to work at to make a little money custom cabinets colorado springs
tillyracker · 23 weeks and 2 days ago
Repairence of all the data bases have become possible through this blog. They have shared the explanation of the complete process with us and also users can try it now>> for vin decoder Lexus. I always follow this blog to resolve such technical issues occurring in my devices.
MaryKlein · 18 weeks and 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: