I utilized a free hosting service called 00webhost.com for hosting php-MySQL app. The database was then uploaded to a xeround.com which provides Database-as-a-Service. xeround.com gave url=instancexxxxx.db.xeround.com:57xx as well as a username and password. But 00webhost.com gave the following error:
Can't connect to MySQL server on 'instancexxxxx.db.xeround.com' (4)
How do I solve this?
First thing I'd check is that the database has the option for external access turned on, judging by the connect string it probably is...but you never know