WordPress fix for “Error establishing a database connection”

If you have googled everywhere and tried everything, still not working, try this:

change “localhost” to “127.0.0.1″.

It worked for me.

Leave a Reply