Home > Mobile >  QT to connect the MySQL prompt Driver not the loaded Driver not the loaded!
QT to connect the MySQL prompt Driver not the loaded Driver not the loaded!

Time:09-17

Key: the connection to normal development environment, but can't connect after the release of MySQL,
I am in the development of the virtual machine environment, on the virtual machine and the physical machine (Win10) are running normally,
Tip Driver not too at colleagues Win10 the loaded Driver not the loaded!
On the prototype is prompt, operating system and the development of the virtual prototype machine is the same system!
Libmysql. DLL has into executable directory, qsqlmysql. DLL has been included in the sqldrivers when windeployqt folder,
Development environment: Windows 7 ultimate 64 + QT5.9.9 + VS2015 32-bit

CodePudding user response:

Search into countless, countless try, finally settled, the libmysql. DLL version (file version: 5.7.28.0) with low (5.5.54.0).
High version libmysql. DLL file for MySQL installation colleagues to, he should give me is his installation which version of the DLL.
This problem is strange, I am no MySQL development environment, is a remote connection to the same MySQL database,
Although the problem is resolved, but the cause of what is, or not clear!
  •  Tags:  
  • Qt
  • Related