Is there a way to see completed process list in mysql (SHOW FULL PROCESSLIST)
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