Probably libmysqlclient.dll/so is not accesible by the plugin.