直接运行一下代码就可以:
log-error=log-error.log
log=log.log
log-bin=log-bin.log
log-queries-not-using-indexes=log-queries-not-using-indexes.log
log-warnings=1
log-slow-queries=log-slow-query.log
log-update=log-update.log
long_query_time=1
时间: 2024-11-05 22:48:04