Cannot connect to MariaDB after upgrade from MySQL

713 Views Asked by At

I had MySQL5.7 on my Windows machine. I have installed MariaDB 10.7 and uninstalled MySQL.

I restored the MySQL dump file in MariaDB. I can connect to MariaDB now using MySQL Workbench and query the DB correctly.

However when I try to connect to the DB using C# code I get the following exception:

Versions of MySQL prior to 5.6 are not currently supported

and this is the inner exception:

Versions of MySQL prior to 5.6 are not currently supported

1

There are 1 best solutions below

0
E M On

Try to use a higher version of the MySQL connector library.

https://dev.mysql.com/downloads/windows/installer/8.0.html