What are you using for "MySQL Server" in you configuration? I was getting the same error until I talked to my hosting service and found they use a different ip to host the database. Also you have to be sure you have the user and password set up correctly for the remote database.