ID:273168
 
I've been messing with MySQL a little, I found a free webhosting thing that I'm trying to use to test it out. I was going to try to use the BYOND MySQL to do it, but I've hit a problem. The BYOND format looks for "dbi:mysql:[database]:[sever]:[port]", but the information that the free webhosting provides me is in the form of "Hostname: sql***.php0h.com". Is it possible to connect to a mysql database with this information?
Yes, just use that hostname as the 'server' part of the DBI. However, it should be noted that most MySQL configurations don't allow users access from remote locations (meaning it only works for scripts working on the same server) you may need to have the host alter that for you.