Error QMYSQL Plugin on Windows
-
@Stelian said in Error QMYSQL Plugin on Windows:
C:Program Files/MYSQL/MySQL Server 8.0/lib
Then that's the one you should be having in your PATH environment variable.
One other thing you can use is Dependency Walker. Use it on your Qt MySQL plugin. Check that it can find the MySQL dll.
-
@Stelian said in Error QMYSQL Plugin on Windows:
C:Program Files/MYSQL/MySQL Server 8.0/lib
Then that's the one you should be having in your PATH environment variable.
One other thing you can use is Dependency Walker. Use it on your Qt MySQL plugin. Check that it can find the MySQL dll.
-
@SGaist yes, I have that path in my path environment variable.
I have never used Dependency Walker.
What do I have to do ?@Stelian
Go to http://www.dependencywalker.com/, read, and download the appropriate for your architecture. You just point it at a.exe
, or in this case the.dll
you are having trouble with. Look through its output window, to see whether there is another.dll
which is required but cannot be found, and report back. -
If you close the yellow branches does the MySQL dll appear as good or not ?
-
I meant: close the branches where all these warnings can be seen. Just take care to verify that you're not hiding a bigger issue while doing that.
-
I meant: close the branches where all these warnings can be seen. Just take care to verify that you're not hiding a bigger issue while doing that.
-
@SGaist i got the same issue.
This is my dependency walker screen. LIBMYSQL.DLL looks good but i dont know why i still got this error "QSqlDatabase: QMYSQL driver not loaded".image url)
-
And is the library in the correct folder?