Repair Database


This guide will show you how to run the Repair Database utility to repair your Virtualizor Database in the event of a MySQL crash.


  • Take a backup of your Virtualizor Database located at /usr/local/emps/var/mysql
  • There can be data loss. So please verify that the data is intact after the repair.
  • Keep a copy of the output for your reference.


Just run the following command :

root# /usr/local/emps/bin/php /usr/local/virtualizor/scripts/repair_db.php 

The utility will ask you for a confirmation .

Was this helpful to you?