feerdispzoo
Verified User
- Joined
- Jan 17, 2022
- Messages
- 189
Hello,
I've fallow to this guide for install CloudLinux:
Everything is okay. I've set mariadb 10.5
The problem is my application support only 10.1 - 10.4. I try downgrade to 10.4 with this:
cd /usr/local/directadmin/custombuild/
./build set mysql_inst mariadb
./build set mariadb 10.4
/usr/share/lve/dbgovernor/db-select-mysql --mysql-version=mariadb104
/usr/share/lve/dbgovernor/mysqlgovernor.py --install
The problem, is not possible downgrade to any version, during install by end of process I get issue
When I install again mariadb105 then working correct. The problem is only with downgrade/change version.
I've fallow to this guide for install CloudLinux:
Installing CloudLinux on DirectAdmin with CentOS
We are simplifying the cloud. One Login, 16 Countries, 27 Cities, Infinite Possibilities.
www.vultr.com
Everything is okay. I've set mariadb 10.5
The problem is my application support only 10.1 - 10.4. I try downgrade to 10.4 with this:
cd /usr/local/directadmin/custombuild/
./build set mysql_inst mariadb
./build set mariadb 10.4
/usr/share/lve/dbgovernor/db-select-mysql --mysql-version=mariadb104
/usr/share/lve/dbgovernor/mysqlgovernor.py --install
The problem, is not possible downgrade to any version, during install by end of process I get issue
Code:
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
Giving mysqld a few seconds to start up...
DB-Governor installed/updated...
Patch governor configuration file
DB-Governor restarted...
Check for the need of mysql_upgrade...
Tables should be upgraded!
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
FATAL ERROR: Upgrade failed
The installation of MySQL for db_governor completed
Rebuild php please... /usr/local/directadmin/custombuild/build php
Give mysql service time to start before service checking(15 sec)
Installation failed. Restore previous version? [y/n]
When I install again mariadb105 then working correct. The problem is only with downgrade/change version.