1,105,416 Community Members

Qt MySQL driver error

Member Avatar
mattster
Junior Poster
175 posts since Nov 2012
Reputation Points: 9 [?]
Q&As Helped to Solve: 17 [?]
Skill Endorsements: 0 [?]
 
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

Member Avatar
mattster
Junior Poster
175 posts since Nov 2012
Reputation Points: 9 [?]
Q&As Helped to Solve: 17 [?]
Skill Endorsements: 0 [?]
 
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 :(

Member Avatar
mattster
Junior Poster
175 posts since Nov 2012
Reputation Points: 9 [?]
Q&As Helped to Solve: 17 [?]
Skill Endorsements: 0 [?]
 
0
 

hello? anybody able to answer?

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