Connection string is ok, but internally MySQL launch a System.ArgumentOutOfRangeException with message
Length cannot be less than zero.
Parameter name: length
An exception occurred in test, thread 0001 ()
Type: System.ArgumentOutOfRangeException
Message:
Length cannot be less than zero.
Parameter name: length
Call Stack:
0000000000000053, mscorlib.dll, string.cs, String.Substring, (null)
000000000000001b, MySql.Data.dll, (null), MySqlConnectAttrs.get_ProgramName, (null)
0000000000000007, mscorlib.dll, MonoProperty.cs, MonoProperty.GetterAdapterFrame, (null)
0000000000000076, mscorlib.dll, MonoProperty.cs, MonoProperty.GetValue, (null)
0000000000000066, MySql.Data.dll, (null), NativeDriver.SetConnectAttrs, (null)
0000000000000086, MySql.Data.dll, (null), MySqlAuthenticationPlugin.Authenticate, (null)
0000000000000031, MySql.Data.dll, (null), NativeDriver.Authenticate, (null)
0000000000000300, MySql.Data.dll, (null), NativeDriver.Open, (null)
0000000000000011, MySql.Data.dll, (null), Driver.Open, (null)
0000000000000040, MySql.Data.dll, (null), Driver.Create, (null)
0000000000000006, MySql.Data.dll, (null), MySqlPool.CreateNewPooledConnection, (null)
000000000000008b, MySql.Data.dll, (null), MySqlPool.GetPooledConnection, (null)
000000000000001e, MySql.Data.dll, (null), MySqlPool.TryToGetDriver, (null)
000000000000001d, MySql.Data.dll, (null), MySqlPool.GetConnection, (null)
0000000000000116, MySql.Data.dll, (null), MySqlConnection.Open, (null)
000000000000010d, dbm.dll, (null), DBMMySQL.Connect, (null)
000000000000003b, test.exe, test_dbm.swift, __Global.main, (null)
In fact, you need try to connect to a Mysql database to debug, because Fire/Silver don’t let us debug inside DLLs yet.
I think that the problem is the DLL generate by Fire that are missing some information used by Mysql driver that are not required by the others drivers. It is the only explanation I could imagine until now.