upgrade mysql governor + mariadb
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Dimitrios Zamanakos
  2. Wednesday, 01 May 2019
  3.  Subscribe via email
Hi, i'm using mysql governor with mariadb 10.2 and want to update to mysql governor with mariadb 10.3
I didn't find any guide for updating, only https://docs.cloudlinux.com/mysql_governor/#change-mysql-version
Is this the steps for updating? I just just have to run

$ /usr/share/lve/dbgovernor/mysqlgovernor.py --mysql-version=MYSQL_VERSION
$ /usr/share/lve/dbgovernor/mysqlgovernor.py --install

and the system will automatically remove 10.2 and update to 10.3, or i should something extra?
Also in this guide it reports that: "If you are using cPanel or DirectAdmin - recompile Apache ."

As i understand Apache4 is installed via packages and dont have to be compiled anymore.

Is there anything i'm missing?
best regards,
Rate this post:
  1. 02.05.2019 13:05:41
  2. # 1
Vladimir Accepted Answer
Posts: 108
Joined: 04.07.2017

Yes, in order to change MySQL version you should run the following commands:
$ /usr/share/lve/dbgovernor/mysqlgovernor.py --mysql-version=MYSQL_VERSION
$ /usr/share/lve/dbgovernor/mysqlgovernor.py --install

where MYSQL_VERSION should be replaced with mariadb103 for MariaDB 10.3.

Please make full database backup (including system tables) before you switch to MariaDB 10.3. This action will prevent data loss in case if something goes wrong.

> As i understand Apache4 is installed via packages and dont have to be compiled anymore.

If you are using EA4, Apache recompile is not needed.
  1. 05.03.2020 12:03:13
  2. # 2
Morten Accepted Answer
Posts: 109
Joined: 16.04.2014
We have some servers with MariaDB 10.0 and want to upgrade to MariaDB 10.3.
But do you recommend upgrading first to 10.1 or 10.2 first?
  1. 05.03.2020 14:03:18
  2. # 3
Sergey Khristich Accepted Answer
Posts: 341
Joined: 20.05.2019
Hello Morten,
Thank you for reaching out! First of all, before starting the procedure, you need to make backups of all databases, including system tables. Then it is recommended to go sequentially to 10.1, then to 10.2, and then only to 10.3.
If you have any other questions, feel free to ask here. Thank you for contacting us.
Marketing Manager
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.