在我的android项目中,我创建了一个离线SQLite数据库,将数据存储在用户的手机中。但是现在,我想让这个数据库在线,这样每个拥有应用程序的人都可以使用一个数据库(如果第一个用户更改了数据,数据就会在第二个用户的应用程序中发生变化)。我如何使我现有的数据库在线,以便有几个人可以使用它?(是否需要使用PHP脚本创建新数据库?)下面是一些我的数据库类代码:
public sta
我有下面的php代码来连接到mysql。mysql_connect( "myserver.com" , "root", "redhat","datastore") or die(mysql_error()); Warning: mysql_connect(): Host '10.21.21.10' is not allowed to connect to this MySQL<