How to set and enable MariaDB slow query log
To enable and set up the slow query log in MariaDB, you need to modify the configuration file my.cnf and restart the MariaDB service. Here are the steps to enable the slow query log in MariaDB: Open the my.cnf configuration file: sudo nano /etc/my.cnf Add the following lines to the configuration file: [mysqld] slow_query_log = … Read more