Troubleshooting Corruption in InnoDB

(apologies for the raw dump, keeping this for myself for posterity) Error: (intermittently) Warning: mysqli_connect(): (HY000/2002): No such file or directory in {} on line # Suspicions: – MySQL hitting a resource or connection limit – MySQL has a configuration error – Corrupt hardware/disk/partition/blocks – MySQL has corrupt data Checks: Read more…