libmysql.dll should be in the directory where your executable is and qsqlmysql.dll should be in sqldrivers subdirectory (unless you have qt.conf file).
Use Dependency Walker to check what other DLLs you need (you can ignore *java*.dll).
libmysql.dll should be in the directory where your executable is and qsqlmysql.dll should be in sqldrivers subdirectory (unless you have qt.conf file).
Use Dependency Walker to check what other DLLs you need (you can ignore *java*.dll).
jacek,
Thanks for the reply. I've got it working now.
I have one more question: accessing the database from other machines is very slow. Could you (or anyone with some ideas) provide me with some suggestions that would help me speed up database access?
I'm currently using MySql and I've set it up to be used on a "server" machine.
I don't use MySQL, so I can't help you with it, but first you should check how much data do you pass between client and the server. In PostgreSQL you can log all queries to see how often they're issued --- maybe it's possible also in MySQL. Can your network handle such amount of traffic?
Bookmarks