Sometimes, when you open your website, you might see the error "Failed DB function failed with error number 145"

This means your database has crashed and needs to be repaired

1. Login to phpMyAdmin (can be done via Plesk on your VPS)
Websites and Domains > Click on Database > Webadmin

2. Choose the affected database. If you only have one database, it should choose it by default so you don't need to do anything.

3. In the main panel, you should see a list of your database tables. Check the boxes by the tables that need repair.

4. At the bottom of the window just below the list