Install Percona, Debian, MX Linux

Install GnuPG, the GNU Privacy Guard:
sudo apt-get install gnupg2
Fetch the repository packages from Percona web:
wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
Install the downloaded package with dpkg:
sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
Update the local cache:
sudo apt-get update
Enable 8.0 repository:
sudo percona-release setup ps80
Install client:
apt install percona-server-client
Passwordless access:
cat << 'EOF' > ~/.my.cnf
[client]
host=104.248.92.132
user=root
password=zabbix
EOF
sudo chmod 600 ~/.my.cnf
Internal:
cat << 'EOF' > ~/.my.cnf
[client]
host=10.133.80.228
user=root
password=zabbix
EOF
sudo chmod 600 ~/.my.cnf

No comments: