If the script requires remote-mysql, we don't enable that on free hosting. If it needs an IP and won't accept anything else, including "localhost" which is the correct hostname to use, there's not much we can do. Localhost is what the mysql hostname should be set to on a free hosting account.