* add a check for mysql collation * reflect review comments * update collation check logic * save indent