davidds64
New Pleskian
- Server operating system version
- Alma Linux 9.4 with latest updates
- Plesk version and microupdate number
- Plesk Obsidian 18.0.62 Update 1
I cannot upgrade MariaDB to latest version via web interface, it simply does nothing. I am running Alma Linux 9.4 (compatible with Red Hat Enterprise Linux 9.4) with latest updates and Plesk Obsidian 18.0.62 Update 1. PHP Version 8.3.9. MariaDB 10.5.22. I do not have mariadb root password, since Plesk handles this through the admin user. So...
I have been looking for a way to upgrade MariaDB to latest version in this situation, and I built a guide. I would like to know if it is good enough and I can upgrate mariadb and keep plesk running. Would you please check it and tell me if i have to make any modifications?
This is the Guide:
If you can’t upgrade MariaDB through the Plesk interface, you can perform the upgrade via the command line. Here’s a step-by-step guide to help you upgrade MariaDB on AlmaLinux 9 with Plesk:
Backup Your Databases:
plesk db dump > /root/all-databases.sql
Stop MariaDB Service:
systemctl stop mariadb
Add the MariaDB Repository: Create a new repo file:
vi /etc/yum.repos.d/MariaDB.repo
Paste the following contents into the file:
[mariadb]
name = MariaDB
baseurl = Index of /yum/11.4.2/almalinux9-amd64/
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
Remove Old MariaDB Server:
dnf remove mariadb-server
dnf clean all
Install the Latest MariaDB Version:
dnf install MariaDB-server galera-4 MariaDB-client MariaDB-shared MariaDB-backup MariaDB-common
Start MariaDB Service:
systemctl start mariadb
systemctl enable mariadb
Run MariaDB Upgrade:
mysql_upgrade -uadmin -p`cat /etc/psa/.psa.shadow`
Verify the Installation:
mysql -V
systemctl status mariadb
This process should help you upgrade MariaDB to the latest version while ensuring compatibility with Plesk123.
Could I perform this upgrade safety? I do not want my plesk server and linux to stop working properly. Than you so much in advance for your help.
I have been looking for a way to upgrade MariaDB to latest version in this situation, and I built a guide. I would like to know if it is good enough and I can upgrate mariadb and keep plesk running. Would you please check it and tell me if i have to make any modifications?
This is the Guide:
If you can’t upgrade MariaDB through the Plesk interface, you can perform the upgrade via the command line. Here’s a step-by-step guide to help you upgrade MariaDB on AlmaLinux 9 with Plesk:
Backup Your Databases:
plesk db dump > /root/all-databases.sql
Stop MariaDB Service:
systemctl stop mariadb
Add the MariaDB Repository: Create a new repo file:
vi /etc/yum.repos.d/MariaDB.repo
Paste the following contents into the file:
[mariadb]
name = MariaDB
baseurl = Index of /yum/11.4.2/almalinux9-amd64/
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
Remove Old MariaDB Server:
dnf remove mariadb-server
dnf clean all
Install the Latest MariaDB Version:
dnf install MariaDB-server galera-4 MariaDB-client MariaDB-shared MariaDB-backup MariaDB-common
Start MariaDB Service:
systemctl start mariadb
systemctl enable mariadb
Run MariaDB Upgrade:
mysql_upgrade -uadmin -p`cat /etc/psa/.psa.shadow`
Verify the Installation:
mysql -V
systemctl status mariadb
This process should help you upgrade MariaDB to the latest version while ensuring compatibility with Plesk123.
Could I perform this upgrade safety? I do not want my plesk server and linux to stop working properly. Than you so much in advance for your help.