1.11M Members

Qt MySQL driver error

 
0
 

Hi everyone,

Heres my problem: I've installed Qt 4, and there is no qmysql.dll/.a in C:\Qt\4.8.4\plugins\sqldrivers.

I am running a MySQL database program and I get Database error: Driver not loaded.

Theres not really a lot of help anywhere on google so hopefully DaniWeb will yet again prove itself as a brilliant community!

Thanks in advance!!

nova37
Deleted Member
 
0
 

if you are using mysql c API then i think you shoud paste mysqld.dll in your application directory or you should use mysqlclient.lib to avoid any dependency

 
0
 

I've got the mysqlclient.lib, so stick that in my project directory? And I can't find mysqld.dll - only an mysqld.exe, or and libmysqld.dll?

I still seem to be getting the same errors :(

 
0
 

hello? anybody able to answer?

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: