'How do I get a list of every MySQL query on a server with a corresponding time stamp?#
I have a web application that is crashing at certain intervals. The standard logs are not giving enough information, so I would like to have a log of every MySQL query so I can look at the time stamp and see what query(ies) was(were) running at the time of the crash.
I was unable to find any results in search for how to do this. Can anyone explain how to enable this type of log?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
