Closed ccoob closed 1 year ago
Qt_SQL_driver_5.13.2_MinGW_7.3_64 the drivers in the folder "sqldrivers" are for Qt 5.14.2 and the file "libmysql.dll" is for Qt 5.13.2. When you try to use both of them, it reports a error like "Cannot mix incompatible Qt library (version 0x50d02) with this library (version 0x50e02)"
Qt_SQL_driver_5.14.2_MinGW_64 And the drivers in this link are for Qt 5.13.2 while the title is "5.14.2". I don't know the version of the "libmysql.dll" in this link. But it can't be for MySQL 8.0.
As you can see in the following screenshots, the versions of the drivers are correct:
I admit that the libmysql.dll in the 5.14.2 package is very old. Please use a newer one that comes with a current MySQL installation
Sorry,it is my bad. I didn't know how to see the version of the library. At first I downloaded the 5.14.2 package and it didn't work (I didn't know the libmysql.dll is too old). And then I downloaded the 5.13.2 package and it still didn't work(because the driver version was not fit). Finally I mixed them up, and it miraculously succeeded. I thought it was the drivers fault, but actually it wasn't. Could you please delete this issue? It is a disgrace. Sorry for wasting your time.
Could you please clarify which files are incorrect and post the link(s) here. Your last post and the issue title don't match. Thank you very much