So I had a customer come to me asking me to check his domain.
I see the error establishing connection message. SSH in and I see this:
Now, the log itself says:
Obviously, something is very wrong here… and it may be because I just barely woke up, but I’m not seeing anything immediately obvious besides this bit which doesn’t tell me anything useful:
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files…
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer…
InnoDB: Doing recovery: scanned up to log sequence number 2 3610099732
150906 12:14:05 InnoDB: Starting an apply batch of log records to the database…
InnoDB: Progress in percents: 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54$
InnoDB: Apply batch completed
What exactly caused the SQL server to die?
Edit: Also, already optimized and repaired tables, but I’m still working on investigating exactly what caused the server to die since there doesn’t seem to be anything obviously wrong with the server.