added support for mysql

broken as of now