Connecting mysql remotely via free host

Dev555 picture Dev555 · May 31, 2012 · Viewed 23.1k times · Source

I registered on 000webhost and I can connect to mysql db pages that are uploaded there via:

mysql_connect('localhost', 'user', 'pass') or die('Could not connect to database');
mysql_select_db('name') or die('Could not select database');

But it seems it does not allow connecting remotely.

Is there any free host which has mysql db and allows remote connections ?

Answer

Abhishek Bhatia picture Abhishek Bhatia · May 31, 2012

try heliohost.org
I used it sometime back and they got good service as well.The only problem is the registration get filled too quickly