How to Enable The Slow Query Log

How to Enable MySQL Slow Query Log in a cPanel/WHM Linux server

To MySQL enable slow query log in cPanel server, you can use the following steps. Add the following to /etc/my.cnf file on the server. # vi /etc/my.cnf log-slow-queries=/var/lib/mysql/slow.log After that, do the following commands to create the file with the right ownership and file permissions # touch /var/lib/mysql/slow.log # chmod 660 /var/lib/mysql/slow.log # chown mysql:mysql […]

See More

WordPress 4.7.5 Security Release – Immediate Update Recommended

  A few hours ago WordPress abruptly released 4.7.5 which is a security release. It fixes six vulnerabilities which are detailed on the wordpress.org blog. I’d like to encourage you to update to 4.7.5 as soon as possible. Unless you have disabled automatic updates, your site may have already been upgraded to WordPress 4.7.5. This […]

See More

Security Awareness : WannaCrypt ransomware attack

    You maybe aware of the recent cyber attack affecting millions of computer systems throughout the world due to a vulnerability in the SMB/CIFS protocol on Windows operating systems. These attacks known as ransomware, encrypt files of the target system making them inaccessible to the user before demanding payment in return for decrypting the files. For […]

See More