I use a local installation of MySQL to develop my sites, and I often write small programs to manipulate the database directly. Everything works ok locally, but when I try to do the same thing in the remote MySQL installation, I get the error Unable to connect to any of the specified MySQL hosts.