Last active
August 13, 2022 21:17
-
-
Save acip/43ddf3d672beac7ae22b122cd613d476 to your computer and use it in GitHub Desktop.
Install Percona 5.7 (drop in MysqSql 5.7 replacement) on Ubuntu 22.04 Jammy
This file contains hidden or 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
wget https://downloads.percona.com/downloads/Percona-Server-5.7/Percona-Server-5.7.38-41/binary/debian/focal/x86_64/libperconaserverclient20_5.7.38-41-1.focal_amd64.deb | |
wget https://downloads.percona.com/downloads/Percona-Server-5.7/Percona-Server-5.7.38-41/binary/debian/focal/x86_64/percona-server-client-5.7_5.7.38-41-1.focal_amd64.deb | |
wget https://downloads.percona.com/downloads/Percona-Server-5.7/Percona-Server-5.7.38-41/binary/debian/focal/x86_64/percona-server-common-5.7_5.7.38-41-1.focal_amd64.deb | |
wget https://downloads.percona.com/downloads/Percona-Server-5.7/Percona-Server-5.7.38-41/binary/debian/focal/x86_64/percona-server-server-5.7_5.7.38-41-1.focal_amd64.deb | |
apt purge mysql-server* -y | |
apt autoremove -y | |
apt install mysql-common debsums libmecab2 | |
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.6_amd64.deb | |
dpkg -i libssl1.1_1.1.1l-1ubuntu1.6_amd64.deb | |
rm libssl1.1_1.1.1l-1ubuntu1.6_amd64.deb | |
touch /etc/mysql/percona-server.cnf | |
mv /var/lib/mysql /var/lib/mysql-old | |
mkdir /var/lib/mysql | |
chown mysql:mysql /var/lib/mysql | |
mkdir /etc/mysql/mysql.conf.d/ | |
dpkg -i *.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment