mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-31 14:55:30 +02:00
mysqlcheck: add page (#10154)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
a34783d2e9
commit
8e2a63cce2
1 changed files with 20 additions and 0 deletions
20
pages/common/mysqlcheck.md
Normal file
20
pages/common/mysqlcheck.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# mysqlcheck
|
||||
|
||||
> Check and repair MySQL tables.
|
||||
> More information: <https://dev.mysql.com/doc/refman/8.0/en/mysqlcheck.html>.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue