Open AdemarLombriga opened 1 month ago
System.InvalidCastException: Objeto não pode ser convertido de DBNull em outros tipos.
em System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider)
em MySql.Data.MySqlClient.Driver.LoadCharacterSets(MySqlConnection connection)
em MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection)
em MySql.Data.MySqlClient.MySqlConnection.Open()
em SpellEditor.Sources.Database.MySQL..ctor(Boolean initialiseDatabase)
em SpellEditor.Sources.Database.AdapterFactory.GetAdapter(Boolean initialiseDatabase)
em SpellEditor.MainWindow.<>c__DisplayClass44_0.<LoadAllData>b__1(
Which WoW version are you using? Which locale (can you upload your DBC files for me to look at?)
Are you using MySQL or SQLite?
If MySQL, try using a different database name.
If SQLite, try deleting the SpellEditor.db
file and trying again.
I'm using version 3.3.5
Think I have the same issue, using MariaDB 1.11.6 on debian, client 3.3.5 with mysql, tried different version of the software.
System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) at MySql.Data.MySqlClient.Driver.LoadCharacterSets(MySqlConnection connection) at MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection) at MySql.Data.MySqlClient.MySqlConnection.Open() at SpellEditor.Sources.Database.MySQL..ctor(Boolean initialiseDatabase) at SpellEditor.Sources.Database.AdapterFactory.GetAdapter(Boolean initialiseDatabase) at SpellEditor.MainWindow.<>c__DisplayClass44_0.<loadAllData>b__0()
I have same issue and i'm at the same point as you
For the Linux issues with MariaDB, see: https://github.com/stoneharry/WoW-Spell-Editor/issues/230#issuecomment-2256028864