You should use your own MySQL for testing. It is not a valid thing to use a foreign server for that. It might be possible that the provider of that service is blocking you due to false calls.
Check out
XAMPP[
^]. it's free, easy to use (you can simply switch it on and off) and will give you a complete webserver including MYSQL for your localhost.