Outside access


I have been trying to contact my mysql database from another website outside of my dreamhost domain. I have gone as far as setting the range of ips where this database can be contacted from to % (open to all) as well as the ip of the server, a wildcarded name %.domain.tld but i can not connect to it. Does anyone know if this is a known problem?