Created
February 22, 2024 19:19
-
-
Save r4nd1/74a0c8405aa067fd7f7f4a6e9d7d6533 to your computer and use it in GitHub Desktop.
Upgrade version mariadb on CWP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
service mysql stop | |
service mariadb stop | |
systemctl disable mariadb | |
rpm --nodeps -ev MariaDB-server | |
yum clean all | |
yum -y update "MariaDB-*" | |
yum -y install MariaDB-server | |
systemctl enable mariadb | |
service mariadb start | |
mysql_upgrade | |
rpm -qa|grep -i maria |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment