Added more MySQL settings and show more logs.