- Home /
Database works on unity editor,but not on android device
I have a mssql database.this database store server.my server ip 93.89.230.234.I connect this database on computer unity project but i cant connect android phone.My string is;
string TryConnect= @"Data Source = 93.89.230.234; user iD=;password="; I use unity 2017.2.0f3 . I attach system.data on assets and ref. using System.Data; using System.Data.SqlClient;., I have problem this part; SqlConnection dbconKontrol = new SqlConnection(TryConnect); dbconKontrol.Open(); If I use computer i have connecting, but i use android phone i cant connect database.Database is sql2012 on server.I use this database on asp.net
I dont want sqlite. Please help me on Mssql connect on unity.
,I have a mssql database.this database store server.my server ip 93.89.230.234.I connect this database on computer unity project but i cant connect android phone.My string is;
string TryConnect= @"Data Source = 93.89.230.234; user iD=;password="; I use unity 2017.2.0f3 . I attach system.data on assets and ref. using System.Data; using System.Data.SqlClient;., I have problem this part; SqlConnection dbconKontrol = new SqlConnection(TryConnect); dbconKontrol.Open(); If I use computer i have connecting, but i use android phone i cant connect database.Database is sql2012 on server.I use this database on asp.net
I dont want sqlite. Please help me on $$anonymous$$ssql connect on unity.
$$anonymous$$aybe you need to add something to the android manifest? Just a thought... I don't really know what to add.