WordPress: The Dreaded “Error Establishing Database Connection” message

My site has just been down for more than 24 hours due to a wordpress update, that in its wisdom the plugin developer assumed that the version of MySQL would be an older version, and corrupted the WordPress database that the site uses.

I’ve recovered the site from last nights backup, and thankfully there has been no data loss, but its still a timely reminder as to the importance of regular backups of both files and the database of even a small WordPress site.

Needless to say, panic averted, and automatic plugin updates are now turned off!

Mac OS Console Error

I’ve just turned my iMac on this morning and am getting the following error repeating non-stop. I have Googled but cannot find any reference to it, so if you find this error because you are experiencing the same error, then please let me know if you find out a fix!

(com.displaylink.useragent[1644]) Service could not initialize: Unable to set current working directory. error=2, path=/System/Library/Extensions/DisplayLinkDriver.kext/DisplayLinkAgent: 14C1514: xpcproxy + 12907 [1227][63706214-56DC-3155-B46F-D4F21C9B1C0B]: 0x2

(com.displaylink.useragent) Service only ran for 0 seconds. Pushing respawn out by 5 seconds.

 

Screen Shot 2015-03-23 at 09.16.09