Is there a full SQL log available?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 请问有没有全量SQL的日志

| username: 华健-梦诚科技

TIDB V6.1

I need to record all the SQL executed in TiDB. Where can I find them?

| username: 啦啦啦啦啦 | Original post link

You can enable the general log, which will only apply to the current TiDB instance connection.

| username: 华健-梦诚科技 | Original post link

Got it, thank you.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.