Click here to Skip to main content
15,886,095 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
MySql.Data.MySqlClient.ExceptionInterceptor.Throw(Exception exception) at MySql.Data.MySqlClient.MySqlConnection.Throw(Exception ex) at MySql.Data.MySqlClient.MySqlCommand.Throw(Exception ex) at MySql.Data.MySqlClient.MySqlCommand.CheckState() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()


I am getting above exception. I am not able to figure out the reason for it.
The problem arised when I decided to switch to MySql 5.2.7.
earlier I was working with 3.5.1.
Now I have a MySql 64bit connection with 32bit .Net Driver

I have MySql 64bit installed at one server and my website is on another server which is 32bit hence requires 32bit driver
Posted
Updated 28-Aug-15 19:05pm
v2
Comments
Richard MacCutchan 28-Aug-15 3:42am    
You cannot mix 64 and 32 bit in the same application.
Herman<T>.Instance 28-Aug-15 4:43am    
MySql is not in his application (I hope) ;)
I do not have the feeling that this is the complete exception. What type of exception is given?
Richard MacCutchan 28-Aug-15 5:14am    
So how does it connect to the database, and how does it throw an exception, if it's not in the application?
Herman<T>.Instance 28-Aug-15 5:17am    
Than wha does this mean:
MySql 64bit connection with 32bit .Net Driver?
Richard MacCutchan 28-Aug-15 5:22am    
I assume it means he has a 64 bit application trying to connect through the 32 bit .NET driver. However, as with so many questions, the OP fails to provide proper details, so your guess is as good as mine.

Actually, on second thoughts OP's statement does not mean anything.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900