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

Recommended Answers

All 3 Replies

Member Avatar for nova37

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

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 :(

hello? anybody able to answer?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.