The Infamous ‘Error establishing a database connection’ Error

Last week I backed up my posts and themes and then delet­ed my test WordPress.org instal­la­tion on which I devel­oped and test­ed my oth­er self host­ed blog over the last few months.

I did this part­ly in order to start afresh with WP 4.0 RC1 beta test­ing. How­ev­er I encoun­tered the ‘Error estab­lish­ing a data­base con­nec­tion’ Error that pre­vent­ed the instal­la­tion. I could not fig­ure how to resolve this and even­tu­al­ly gave up.

I resumed the instal­la­tion today and saw this error again! Some­how I felt like try­ing by adding the actu­al host­name instead of localhost as the val­ue of the Database Host prop­er­ty.

It worked 🙂

Categories:

,

Tags:

Leave a Reply

%d bloggers like this: