I'm sorry, but I wasn't able to make your plugin work. The plugin itself and the mysql server are installed. Please make a minimal demo project, if you don't mind. Your development can be useful for a lot of users.