To MySQL enable slow query log in Cpanel server, you can use the following steps. Add the following to /etc/my.cnf…