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…

Hello I have the same problem. you solved? Thank

Me too, on Android.

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.