CyberPanel Community

How to change in cyberpanel mariadb 10.0 to version 10.2 or 10.3?

vo
volmagby #1

Hi. When you install cyberpanel the default MariaDB server 10.0 and it is outdated. How to change in cyberpanel mariadb 10.0 to version 10.2 or 10.3?

8 replies
hn
hassan_noor #2

try to update it from command

bo
bouroo #3

// Stop service
systemctl stop mysql
// Remove old version
yum -y remove mariadb-server
// Change repo version
sed -i ‘s|10.0|10.2|g’ /etc/yum.repos.d/MariaDB.repo
// Install newer version
yum -y install mariadb-server
// Start service
systemctl start mysql
// View DB root’s password
cat /etc/cyberpanel/mysqlPassword
// Run upgrade
mysql_upgrade -u root -p

vo
volmagby #4

How to change in cyberpanel mariadb 10.1 to version 10.2 or 10.3 on ubuntu 18.xx?

ma
manualsnow #5

So, why is CyberPanel using MariaDB v10.1 instead of v10.3 (latest stable)?

v10.3 is present in your repositories since Dec 2018 (https://lax.cyberpanel.sh/mariadb/10.3/)

And what is the proper upgrade procedure for existing CyberPanel installations?

ma
manualsnow #6

Can CyberPanel it even be upgraded to MariaDB v10.3 and work stable?

fl
fliva #8

Why CyberPanel is using an so old MariaDB version?

th
thisjrodriguez #9

Type your comment> @fliva said:

Why CyberPanel is using an so old MariaDB version?

I really don’t know, I should update it

The command works perfectly! mariadb 10.4 working

Sign in to reply