Forgott to mention that I am using the JDBC Mysql type of connection, with the driver installed and working.
Remote database is blocked here. In this case, JDBC is one of those that lets you perform querying from outside server environment (example Android apps, or anything that came from outside server). Unfortunately, there’s no workaround to these matter.
Thanks for your response,
Is remote database blocked even if I pay for the service?, do you know any other service that allows it?
Some (little portion of) provider may not provide Remote MySQL support, even if it’s paid service. That’s why it’s always good idea to find out about the provider first before choosing them.
InfinityFree has some kind of partnership with iFastNet, so anything that comes with something extra – or just call it Premium – goes to iFastNet. Your best bet should be there.