MySQL improvements.