Changed mysql adapter