Unable to connect to mysql database using corelab.mysql driver version

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Posts: 1
Joined: Mon 28 May 2007 14:03

Unable to connect to mysql database using corelab.mysql driver version

Post by Sonali » Mon 28 May 2007 14:07

I am getting following error while connecting to the mysql database using mysql driver version

Error Connecting to Database : System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at CoreLab.Common.Utils.TryParseInt(String s, Int32& pos)
at CoreLab.MySql.ab.g(String A_0)
at CoreLab.MySql.MySqlInternalConnection.get_ServerVersionNormalized()
at CoreLab.MySql.MySqlConnection.f()
at CoreLab.MySql.MySqlConnection.Open()

Any help on this topic would be appreciated.

Thank you.
Sonali Kulkarni

Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 29 May 2007 07:22

First of all try to use the latest version of MySQLDirect .NET.
Please send me a small test project to reproduce the problem. It is
desirable to use 'test' schema objects, otherwise include definition of your own database objects.
Use e-mail address provided in the Readme file.
Do not use third party components.
If it is impossible for you to create test project please send us a piece of
your code where the error occurs.

Post Reply