Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Check the Integrity of Plesk system database  (Read 2114 times)

0 Members and 1 Guest are viewing this topic.

anju

  • Guest
Check the Integrity of Plesk system database
« on: November 30, 2013, 03:59:00 pm »
Hi,

Sometimes you get failed upgrade or data storage issues due to corrupted database structure. You can fix such types of issues by using the following steps.

1. Back up the Parallels Plesk Panel database before applying any changes.

2. Check the database structure to display issues in the Parallels Plesk Panel database:

    /usr/local/psa/admin/bin/php check_db.php --by-problem | --by-table

3. Run the utility with --help to get a list of all available options:
 
    /usr/local/psa/admin/bin/php check_db.php --help

4. Show the recommended SQL instructions to fix the database inconsistency issues:
 
    /usr/local/psa/admin/bin/php check_db.php --sql

5. Fix the database structure by applying the recommended SQL instructions.

6. Check the database after making the changes.