📖 ~1 min read
Table of contents
Symptom & Impact
Database is unavailable because mysqld exits during startup.
Environment & Reproduction
Ubuntu 20.04 with abrupt restart during MySQL write activity.
Root Cause Analysis
InnoDB redo logs and data files are inconsistent after unclean shutdown.
Quick Triage
Review MySQL error log for InnoDB checkpoint and log sequence details.
Step-by-Step Diagnosis
Validate datadir integrity, config overrides, and recent storage anomalies.

Solution – Primary Fix
Take backup, apply InnoDB recovery workflow, and restart MySQL safely.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Restore from replica or backup if local recovery risks data consistency.
Verification & Acceptance Criteria
MySQL starts cleanly and key application queries return expected results.
Rollback Plan
Revert to pre-recovery backup snapshot if post-repair validation fails.
Prevention & Hardening
Use durable storage, graceful shutdown, and tested backup/replica strategy.
Related Errors & Cross-Refs
Disk full and filesystem remount-ro events commonly precede corruption.
Related tutorial: View the step-by-step tutorial for Ubuntu 18.04 LTS.
View all Ubuntu 18.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
MySQL InnoDB crash recovery practices for Ubuntu deployments.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.