Відмінності між версіями «Mysql-repair»
Перейти до навігації
Перейти до пошуку
Flint (обговорення | внесок) (Created page with "check table employee # mysqlcheck -c thegeekstuff employee -u root -p check all tables # mysqlcheck -c alfresco -u root -p check all tables all databases # mysqlcheck ...") |
Flint (обговорення | внесок) |
||
| Рядок 11: | Рядок 11: | ||
Combine Check, Optimize, and Repair Tables | Combine Check, Optimize, and Repair Tables | ||
# mysqlcheck -u root -p --auto-repair -c --all-databases | # mysqlcheck -u root -p --auto-repair -c --all-databases | ||
| + | |||
| + | [[http://www.thegeekstuff.com/2011/12/mysqlcheck/ How to Check and Repair MySQL Tables Using Mysqlcheck]] | ||
Поточна версія на 22:12, 12 березня 2013
check table employee
# mysqlcheck -c thegeekstuff employee -u root -p
check all tables
# mysqlcheck -c alfresco -u root -p
check all tables all databases
# mysqlcheck -c -u root -p --all-databases
Optimize Tables using Mysqlcheck
# mysqlcheck -o thegeekstuff employee -u root -p
Repair Tables using Mysqlcheck
# mysqlcheck -r thegeekstuff employee -u root -p
Combine Check, Optimize, and Repair Tables
# mysqlcheck -u root -p --auto-repair -c --all-databases