tidb数据库操作日志上哪看

要看所有的只能开 general log ,不过比较比较耗费资源和存储空间
可以参考如下链接:
https://docs.pingcap.com/zh/tidb/v5.4/system-variables#tidb_general_log

1 个赞