Pergunta

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

Foi útil?

Solução

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.

Outras dicas

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.

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top