If a server running MySQL has an improper shutdown, the service cannot be started. This is because 2 files are in a corrupt state. This will cause WordPress sites hosted on the same server to display a database error. To fix this:
- Open: C:\ProgramData\MySQL\MySQL Server n.n\data
- Move ib_logfile0 & ib_logfile1 to a temp folder.
- Start “MySQL nn” Service