fix mysql adapter warning