我注册的000webhost的,我可以连接到通过上载有MySQL数据库的网页:连接mysql的远程通过免费的主机
mysql_connect('localhost', 'user', 'pass') or die('Could not connect to database');
mysql_select_db('name') or die('Could not select database');
但似乎it does not allow connecting remotely。
是否有任何免费的主机有MySQL数据库,并允许远程连接?
感谢它为我工作python呢!确保按照他们的说法进行设置。 http://wiki.helionet.org/Mysql#Connecting_Remotely – htmlfarmer
此外,ping到heliohost.org的延迟有点慢,大约100毫秒,付费服务器会给你大约40毫秒。 – htmlfarmer