Repair mysql databases
This commit is contained in:
parent
0e7d133104
commit
2aa1260e3c
|
@ -7267,6 +7267,14 @@ quit
|
|||
/etc/init.d/mysql stop
|
||||
/etc/init.d/mysql start
|
||||
#+END_SRC
|
||||
*** Repair and optimize databases
|
||||
To check, repair and optimize the databases.
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
mysqlcheck -c -u root -p --all-databases
|
||||
mysqlcheck -u root -p --auto-repair --all-databases
|
||||
mysqlcheck -u root -p -o --all-databases
|
||||
#+END_SRC
|
||||
*** Backup all databases
|
||||
To back up all mysql databases:
|
||||
|
||||
|
|
Loading…
Reference in New Issue