Symptoms
MySQL Governor fails to start with output similar to the following.
[Sat Feb 12 02:46:20 2022] Try to connect with options from dbgovernor config file [Sat Feb 12 02:46:20 2022] Try to connect with no password under root [Sat Feb 12 02:46:20 2022] Access denied for user 'root'@'localhost' (using password: NO) [Sat Feb 12 02:46:20 2022] Governor successfully connected to mysql [Sat Feb 12 02:46:20 2022] Update your MySQL to CLL version from repo.cloudlinux.com. Current is 10.3.32-MariaDB [Sat Feb 12 02:46:20 2022] Incorrect mysql version
Description
The issue occurs when the governor-mysql
package has been installed, but not configured.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Set the SQL version to install.
/usr/share/lve/dbgovernor/mysqlgovernor.py --mysql-version=$sqlversion
Please note that "$sqlversion" must be replaced with the SQL version to install (i.e., mysql80, mariadb106, etc.). - Install the MySQL Governor SQL version.
/usr/share/lve/dbgovernor/mysqlgovernor.py --install
Additional resources
Comments
0 comments
Article is closed for comments.