mysql adapter