build custom plugin for mysql