adapter hopefully working for mysql