- Home /
Can i use Mysql.data.dll to connect database in IOS ???
i want to build up a application run in android and ios.
the mysql database is put on amazon RDS service.
i use Mysql.data.dll to connect database.
in android, the application can connect the Mysql database .
but in IPhone, the connect is fail.......
this is code.
public static void OpenSql()
{
// MySqlConnectionStringBuilder asd = new MySqlConnectionStringBuilder();
try
{
string connectionString = string.Format("Server = {0};port={4};Database = {1}; User ID = {2}; Password = {3};",host,database,id,pwd,"3306");
dbConnection = new MySqlConnection(connectionString);
dbConnection.Open();
}catch (Exception e)
{
throw new Exception("error:" + e.Message.ToString());
}
}
How can i do .....
please help me....
Answer by Armageddon · Apr 30, 2018 at 08:26 AM
Just download mysql connecter 6.0.7 .net/mono version from link https://downloads.mysql.com/archives/c-net/. and find mysql.data.dll in it. Than, replace the dll with the one present in your unity plugin folder.
Your answer
Follow this Question
Related Questions
MySql Android 1 Answer
How to use MySQL.Data dll in Unity 0 Answers
Why it doesn't save data on the online database? 0 Answers
Making Highscore table with mySql but name doesn't shows? Help please! 0 Answers
Internetconnection without php 0 Answers