If you host your own instance of MariaDB, you can run it with logs to examine statements by following the guide at Query log output destination
Resource | URL |
---|---|
Log output | https://mariadb.com/kb/en/library/general-query-log/#choosing-the-general-query-log-output-destination |
MariaDB Docker | https://hub.docker.com/_/mariadb/ |