Question :
I am new to Mysql server, I use the below query to see what are all processes or queries that users are currently executing.
SHOW FULL PROCESSLIST;
I needed to check those processes, which users executed in past. like those processes which were executed and they got completed or aborted.
Is there a way to check the already executed processes via any query in MysqL server ?
Answer :
In MySQL, queries executes in the past can be seen in the general log.
See the reference manual:
https://dev.mysql.com/doc/refman/8.0/en/query-log.html