I've searched on this for the last hour and haven't found anything useful. I'm getting the "Error establishing a database connection" message.
I want to connect to my external database. I'm running wordpress locally. So I have changed the DB_HOST to my actuall mysql host.
I had previously setup everything locally including mysql. Then I was pretty happy with everything and wanted to try developing locally but connecting to my dev mysql account.
So I'm using something like this
Where ll the details are as they should be. I have used the setttings in ssh to connect to mysql so I know they're right.
Am I missing something? I'm sure this can be done..
My mysql account is with Dreamhost if that matters...