MySQL Log of invalid Queries

前端 未结 5 2056
一生所求
一生所求 2021-02-05 05:25

I AM NOT RUNNING THE COMMANDS FROM PHP!

I have MySQL log_error value set to /var/log/mysql/error.log

However when I connect to a database and run an SQL command,

5条回答
  •  生来不讨喜
    2021-02-05 06:18

    This is not so trivial. The best way to do this, is to log bad queries in your application. There is no built-in way.

提交回复
热议问题