diff --git a/pages/common/mysqlcheck.md b/pages/common/mysqlcheck.md new file mode 100644 index 0000000000..543d4b8933 --- /dev/null +++ b/pages/common/mysqlcheck.md @@ -0,0 +1,20 @@ +# mysqlcheck + +> Check and repair MySQL tables. +> More information: . + +- Check a table: + +`mysqlcheck --check {{table}}` + +- Check a table and provide credentials to access it: + +`mysqlcheck --check {{table}} --user {{username}} --password {{password}}` + +- Repair a table: + +`mysqlcheck --repair {{table}}` + +- Optimize a table: + +`mysqlcheck --optimize {{table}}`