MYSQL dll linking issue with QT in windows 10
-
@jsulm "here" meant the current PC in which i'm trying to get access to mysql database.
And how can i check MySQL client Library whether it is missing or not?Thank you!
@mvsri Does C:\Qt\Qt5.12.3\5.12.3\mingw73_64\plugins\sqldrivers\qsqlmysqld.dll exist?
-
wrote on 19 Dec 2019, 09:28 last edited by
@mvsri I think you don't have MySQL connector installed on your PC ==> https://stackoverflow.com/questions/31821329/qmysql-driver-loading-error
You have to download it from MySQL web site and install it
-
@mvsri If it is working on the other PC then copy the MySQL client lib from there
-
@mvsri I think you don't have MySQL connector installed on your PC ==> https://stackoverflow.com/questions/31821329/qmysql-driver-loading-error
You have to download it from MySQL web site and install it
wrote on 19 Dec 2019, 09:38 last edited by@KroMignon I have followed that steps earlier in other PC and it's working in it.
But the problem is when i try this in my PC it doesn't work and the configuration of both PC's are same and even i tried copying mysql client lib from other PC to my PC and still it doesn't work -
@mvsri said in MYSQL dll linking issue with QT in windows 10:
even i tried copying mysql client lib from other PC to my PC
Where / how did you copy it? And you should not distribute debug stuff (as qsqlmysqld.dll suggests you're doing)
-
@mvsri said in MYSQL dll linking issue with QT in windows 10:
even i tried copying mysql client lib from other PC to my PC
Where / how did you copy it? And you should not distribute debug stuff (as qsqlmysqld.dll suggests you're doing)
wrote on 19 Dec 2019, 10:01 last edited by@Christian-Ehrlicher
I have uninstalled everything and reinstalled QT and MYSQL following every step which i did on other PC.
But still i have the same problem. i even checked the PATH everything is correct and i don't know where am i going wrong. -
@Christian-Ehrlicher
I have uninstalled everything and reinstalled QT and MYSQL following every step which i did on other PC.
But still i have the same problem. i even checked the PATH everything is correct and i don't know where am i going wrong.wrote on 19 Dec 2019, 10:34 last edited by@mvsri Just to be sure every dependency is correctly set, can you try to check C:/Qt/Qt5.12.3/5.12.3/mingw73_64/plugins/sqldrivers/qsqlmysqld.dll with Dependency Walker ?
12/12