Database Repair

From SolusVM

Jump to: navigation, search

If your database becomes corrupt you can run the following line in ssh on your master:

mysqlcheck --all-databases -u`grep -m1 $1: /usr/local/solusvm/includes/solusvm.conf | cut -d ':' -f 2` -p`grep -m1 $1: /usr/local/solusvm/includes/solusvm.conf | cut -d ':' -f 3` -r
  • Please note the above command is on one line
Personal tools
Installation/Upgrading
Customization