2

I am using MySql connector 6.6.4 and when i make call to Open method of MySqlConnection ot throws exception :

Arithmetic OverFlow Exception:

i am getting this exception, unable to understand why its happening, thanks in advance.

enter image description here

Ehsan Sajjad
  • 61,834
  • 16
  • 105
  • 160

3 Answers3

1

As what I've seen in your screenshot, the exception was thrown during authentication. There's a thread MySQL Bugs#66647 saying it's connector problem.

Check if you're using the right connector on your MySQL.

Freddie Fabregas
  • 1,162
  • 1
  • 7
  • 17
0

please make sure that your MySQL driver and IIS (which are running) use the same compiler platform (either x86 or x64) both must be matched.

-2

You are trying to save the values whose size is less than given value, please make sure that you are passing the correct in put to Query.