How to install MySQL Governor on a cPanel server

First of all, log into the WHM (root). Once logged in, upgrade the MySQL version from MySQL 5.7 to MariaDB 10.3. Once the upgrade is completed, follow the steps to install MySQL Governor on the cPanel server.

Reason for upgrading MySQL version to MariaDB

MariaDB structured with MySQL, it optimizes the websites hosted on the server.

Install MySQL Governor:

yum remove db-governor db-governor-mysql -y
yum install governor-mysql -y

Now, run the followings:

/usr/share/lve/dbgovernor/ --mysql-version=mariadb103
/usr/share/lve/dbgovernor/ --install

Make sure to copy the databases.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix lveinfo database error of CLN

Run the following command: service lvestats stoptar -zcvf /root/lveinfo_backup_$(date...

How to Install KernelCare on cPanel/WHM server

To install KernelCare, you need to log in with the root user on your cPanel server. Check for...

Switching all cPanel acc/s to "inherit" PHP version

You can change all cPanel users to inherit with this CLI command: for each in `cat...

How to fix issues like PHP selector not available

Some of our clients face the issues like "PHP selector not available" on cPanel accounts of their...

CloudLinux installed, but still showing CentOS

Some of our clients face the issue, that's why we're writing the tutorial to fix it. First of...