How to solve the error when connecting to a Database as a Service from my hosting site?

121 views Asked by At

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?

1

There are 1 answers

0
user2068163 On

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