I am using a MySql 4.1.14 on Debian unstable for the
mythtv backend server.
WinMyth produces this error dialog upon startup:
Error Specified cast is not valid.
at System.Convert.ToInt64(Object value)
at
Mysql.Data.MysqlClient.NativeDriver.Configure(MySqlConnection
connection)
at Mysql.Data.MySqlClient.MySqlConnection.Open()
at MythBase.DataLayer.FillTableWithQuery(String cmdString)
at MythBase.DataLayer.GetChannelList()
at WinMyth.MainWindow.InitializeTvListView()
at WinMyth.MainWindow..ctor()
at WinMyth.MainWindow.Main()
See http://bugs.mysql.com/bug.php?id=12771
I tried replacing the faulty .dll with the 1.0.6 MySql
v1.1 .Net Connector, but got this message.
Error The located assembly's manifest definition with
name 'MySql.Data' does not match the assembly reference.
at MythBase.DataLayer.FillTableWithQuery(String cmdString)
at MythBase.DataLayer.GetChannelList()
at WinMyth.MainWindow.InitializeTvListView()
at WinMyth.MainWindow..ctor()
at WinMyth.MainWindow.Main()
So it does not even get further. But, according to the
MySql bug report, the problem was corrected in version
1.0.5. The WinMyth installation uses 1.0.4.20163