'Getting/logging a list of previously run SQL queries

From this question, I learned that I can use SHOW FULL PROCESSLIST to get a list of active queries. But the query disappears after running the query. Is there a way to list the previously run queries or to some log files when a query is running?

Note - I'm using DBeaver to view queries using SHOW FULL PROCESSLIST



Solution 1:[1]

The query manager helps you in this case

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 JohanB