We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,620 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Qt MySQL driver error

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!!

3
Contributors
3
Replies
3 Days
Discussion Span
4 Months Ago
Last Updated
10
Views
mattster
Junior Poster
130 posts since Nov 2012
Reputation Points: 9
Solved Threads: 10
Skill Endorsements: 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

darkc99
Junior Poster in Training
61 posts since Jan 2012
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 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 :(

mattster
Junior Poster
130 posts since Nov 2012
Reputation Points: 9
Solved Threads: 10
Skill Endorsements: 0

hello? anybody able to answer?

mattster
Junior Poster
130 posts since Nov 2012
Reputation Points: 9
Solved Threads: 10
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0702 seconds using 2.7MB