You need to copy libmysql.dll and ackmysql.dll in the plugindir of your project.
If you didn't set any plugindir, the plugindir is your work dir.