Upgrade Database Mariadb 5.5 to 10.5 on Plesk

Upgrade versi database dari mariadb 5.5 ke 10.5 pada plesk

  • Secara default versi databse yang digunakan oleh plesk adalah mariadb 5.5.xx, cek di Tools & Settings > Applications & Databases: Database Servers
  • Download script installer mariadb 10.5 kemudian jalankan script installer.
[root@funny-volhard plesk]# wget https://support.plesk.com/hc/en-us/article_attachments/4584125667858/c7-mariadb-10.5-upgrade.sh && chmod +x c7-mariadb-10.5-upgrade.sh

--2021-09-28 13:56:46--  https://plesk.zendesk.com/hc/article_attachments/360022419980/mariadb-10.5-upgrade.sh
Resolving plesk.zendesk.com (plesk.zendesk.com)... 104.16.53.111, 104.16.51.111
Connecting to plesk.zendesk.com (plesk.zendesk.com)|104.16.53.111|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://support.plesk.com/hc/article_attachments/360022419980/mariadb-10.5-upgrade.sh [following]
--2021-09-28 13:56:46--  https://support.plesk.com/hc/article_attachments/360022419980/mariadb-10.5-upgrade.sh
Resolving support.plesk.com (support.plesk.com)... 104.16.51.111, 104.16.53.111
Connecting to support.plesk.com (support.plesk.com)|104.16.51.111|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1340 (1.3K) [text/x-shellscript]
Saving to: ‘mariadb-10.5-upgrade.sh’

100%[==============================================================================>] 1,340       --.-K/s   in 0s

2021-09-28 13:56:47 (9.14 MB/s) - ‘mariadb-10.5-upgrade.sh’ saved [1340/1340]

[root@funny-volhard plesk]# ./c7-mariadb-10.5-upgrade.sh
Dumping all databases
stopping MariaDB service
creating backup of mysql directory
removing mysql-server package in case it exists
error: package no package provides mysql-server is not installed
Upgrading MariaDB
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.idroot.cloud
 * extras: mirror.papua.go.id
 * updates: mirror.papua.go.id
mariadb                                                                                          | 3.4 kB  00:00:00
(1/2): mariadb/updateinfo                                                                        | 5.7 kB  00:00:00
(2/2): mariadb/primary_db
  • Tunggu hingga proses installasi selesai, kemudian cek kembali versi database pada plesk maka sudah berganti versi menjadi 10.5
  • https://support.plesk.com/hc/en-us/articles/213403429–How-to-upgrade-MySQL-5-5-to-5-6-5-7-or-MariaDB-5-5-to-10-x-on-Linux

herdiana3389

A system administrator with skills in system administration, virtualization, linux, windows, networking, cloud computing, container, etc.