• BDIX
    • BDIX Shared Hosting
    • BDIX Reseller Hosting
    • BDIX KVM VPS
    • BDIX Windows VPS
  • Hosting
    • Singapore Web Hosting
    • WordPress Hosting
    • Cheap Shared Hosting
    • Turbo Hosting
  • Reseller Hosting
    • Singapore Reseller Hosting
    • USA Reseller Hosting
  • Server
    • Singapore VPS
    • USA VPS
    • Germany VPS
    • Cheap VPS
  • Domain
    • Register Domain
    • Transfer Domain
    • Domain Promos
Linkedin Twitter Youtube Facebook
  • support@prenhost.com
  • Hosting Flash Sale: Starting at $0.43/mo for a limited time
  • WhatsApp Support
  • Login
newph-transperent- newph-transperent-
  • BDIX
    • BDIX Shared Hosting
    • BDIX Reseller Hosting
    • BDIX KVM VPS
    • BDIX Windows VPS
  • Hosting
    • Singapore Web Hosting
    • WordPress Hosting
    • Cheap Shared Hosting
    • Turbo Hosting
  • Reseller Hosting
    • Singapore Reseller Hosting
    • USA Reseller Hosting
  • Server
    • Singapore VPS
    • USA VPS
    • Germany VPS
    • Cheap VPS
  • Domain
    • Register Domain
    • Transfer Domain
    • Domain Promos
Client Area
Client Area

How to Fix WHMCS Database Crashed (Table Marked as Crashed) Error

by sajibe
March 21, 2025
Web Server, WHM, WHMCS

How to Fix WHMCS Database Crashed (Table Marked as Crashed) Error

Running WHMCS for your web hosting business or billing platform is smooth — until you suddenly face a dreaded error:

SQLSTATE[HY000]: General error: 1194 Table 'tblticketmaillog' is marked as crashed and should be repaired

If you’re seeing this error, it means one or more MyISAM tables in your WHMCS database have crashed and require repair. This problem often occurs due to unexpected server shutdowns, disk space issues, or abrupt MySQL service interruptions.

In this guide, I’ll show you exactly how to fix WHMCS database crash errors step by step.


✅ Common Error Messages in WHMCS

  • SQLSTATE[HY000]: General error: 1194 Table is marked as crashed
  • MyISAM-table is corrupted, fix it using switch “-r” or “-o”
  • WHMCS tblticketmaillog table marked as crashed

Why Does the WHMCS Database Crash Happen?

  • Unexpected server reboots
  • Low disk space
  • Improper shutdown of MySQL
  • Hardware or filesystem issues

How to Check for Crashed WHMCS Tables

  1. SSH into your server as root.
  2. Run this command to scan all MyISAM tables:
find /var/lib/mysql -name "*.MYI" -exec myisamchk {} \; | grep -Ei "error|corrupt|crash|not ok|recover|repair"
  1. This will show all tables that are either corrupted or require fixing.

How to Repair Crashed Tables in WHMCS

Step 1: Stop MySQL Service

Before repairing tables, it’s recommended to stop MySQL:

systemctl stop mysql

Step 2: Repair the Corrupted Table

Navigate to your WHMCS database directory (replace valtonetgroup_db with your DB name):

cd /var/lib/mysql/valtonetgroup_db
myisamchk -r -f tblticketmaillog.MYI

Step 3: Repair Other Tables

You might see warnings like “Table is usable but should be fixed.” You can repair them as well:

myisamchk -r -f tbladminlog.MYI
myisamchk -r -f tblconfiguration.MYI
myisamchk -r -f tbltickets.MYI
myisamchk -r -f tblemails.MYI

Step 4: Start MySQL Service Again

systemctl start mysql

Step 5: Verify Everything

find /var/lib/mysql -name "*.MYI" -exec myisamchk {} \; | grep -Ei "error|corrupt|crash|not ok|recover|repair"

If the output is clean, your WHMCS database is healthy.


Pro Tip: Automate Repairs

You can automatically repair all issues with one command:

find /var/lib/mysql -name "*.MYI" -exec myisamchk -r -f {} \;
Tags: mysqlwhmcs

Leave a Reply Cancel reply

You must be logged in to post a comment.

Recent Posts

  • How to Fix the “No NBD Device Passed to Disconnect – disconnect_nbd()” Error in Virtualizor
  • How to Fix WHMCS Database Crashed (Table Marked as Crashed) Error
  • Troubleshooting CloudLinux 9 Update Error: python3-rhn-check Dependency Issue
  • How to Set a Different Time Zone for a cPanel User (Cron Jobs & PHP)
  • Windows Vps

Recent Comments

No comments to show.

71-75 Shelton Street, Covent Garden, London
Company Number: 15697833

Payment Method
Company
  • About Us
  • News Feed
  • Affiliate Program
  • Knowledgebase
  • Client Area
  • Get in touch
Hosting
  • Singapore Hosting
  • Fastest WordPress Hosting
  • Turbo Hosting
  • Cheap Hosting
  • Reseller Hosting
  • VPS Hosting
Software Hosting
  • OpenCart Hosting
  • Magento Hosting
  • LiteCart Hosting
  • PrestaShop Hosting
  • Moodle Hosting
  • POS Hosting
Join Our Newsletter

We’ll send you news and offers.

Social Media
Facebook-f Linkedin X-twitter Whatsapp

Copyright © 2018 - 2025 PrenHost. All Rights Reserved

Report Abuse/Spam | Terms of Services | Refund Policy | Privacy Policy | Server Status