davethomaspilot
14th January 2014, 17:05
I can connect and issue queries to a MySql database with no issues on my Windows 7 development machine. But, when I try running on another Windows machine, I get:
"Driver not loaded Driver not loaded"
I have copied the plugins directory to a release directory on the target machine. The mysql dlls are in release/plugins/sqldrivers. That directory is in the path.
Do I also need to install some additional MySql client software on the target machine?
Thanks,
Dave Thomas
Added after 32 minutes:
Copying the libmysql.dll from my dev machine to the target machine seemed to fix the problem.
I guess that dll came from the Msql installation.
Should I actually go through the installation process too? I just want my Qt application to be able to issue queries--don't need the sql command prompt, etc.
"Driver not loaded Driver not loaded"
I have copied the plugins directory to a release directory on the target machine. The mysql dlls are in release/plugins/sqldrivers. That directory is in the path.
Do I also need to install some additional MySql client software on the target machine?
Thanks,
Dave Thomas
Added after 32 minutes:
Copying the libmysql.dll from my dev machine to the target machine seemed to fix the problem.
I guess that dll came from the Msql installation.
Should I actually go through the installation process too? I just want my Qt application to be able to issue queries--don't need the sql command prompt, etc.