List:MySQL and .NET« Previous MessageNext Message »
From:Bob Dankert Date:October 14 2005 9:03pm
Subject:.net connector error with MySQL 4.1.14
View as plain text  
When I execute the query "show tables;" from MySQL 4.1.14, I get the
following error from the MySQL .Net connector (version 1.0.6, also
tested 1.0.3):

 

An unspecified error occured.

System.InvalidCastException: 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 MyDBTools.DBExecute.executeMySqlQuery(DBConnect connection, String
DBSQL)

show tables;

 

If I switch my database to a duplicate database except running MySQL
4.1.13a, this query works fine.  I believe this is likely a bug and will
submit a bug incident, but does anyone have any ideas regarding this?

 

Thanks,

 

Bob

 

Envision Information Technologies

Associate

bob@stripped

v. 608-256-5680 x713

f. 608-256-3780

 


Thread
.net connector error with MySQL 4.1.14Bob Dankert14 Oct
RE: .net connector error with MySQL 4.1.14David Dindorp17 Oct