How To Repair, analyze & optimize all database in mysql

Started on the old forum in November 2012 · view the original in the archive · old links redirect here

4 replies · 572 views · started 14 years ago · 1 min read

3 participants
Sanju Kr Developer · 104 posts #1

Login as root and run following command

mysqlcheck --all-databases -r

#repair, it will repair all database

mysqlcheck --all-databases -a

#analyze, it will analyze all database

mysqlcheck --all-databases -o

#optimize, it will optimize all database

amylee Principal · 1,092 posts #2

or use phpmyadmin :/

subzero Super moderator Fellow · 3,954 posts #4

You can do this in php my admin..

lol in like repair.php why rooting it ?

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Sanju Kr Developer · 104 posts #5

obviously it can be done in phpmyadmin but as i have already said it for all databse including roudncube and other db and command only for server having root access,, Its better to run one command or fix one my one from phpmyadin 🙂

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close