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 MoreCategory: MYSQL
Manage MySQL services through WHM
Manage MySQL services through WHM In today’s blog we are going to discuss about MySQL Services in WHM/cPanel. It provides various tools for managing the MySQL databases on the server. You can also perform the various operations like how to manage MySQL user passwords, how to change the Root MySQL Password, and repair MySQL database […]
See MoreSteps For Configuring Primary MySQL Database on Your Server
Database configuration In this blog we are going to configure the primary MySQL database on your server. You all know that MySQL is a Relational Database Management System. cPanel and WHM’s interfaces support MySQL or MariaDB. MariaDB is one of the most popular database servers. It is free and open source software.It also supports PostgreSQL […]
See More