That url will not work. The mysql functions are looking for just a hostname, not a URL. Something like server.example.com not http://server.example.com/some/path.
Secondly, the database server you are connecting to has to be setup to allow incoming connections, you also might need to setup a tunnel or some other such thing depending on what that database server allows.
I doubt however that GoDaddy allows outside connections to mysql. Secondly, large queries might be really slow connecting to a remote db server like that.
Need Help regarding Configuration of Remote MySQL Database !
Moderator: General Moderators