Based on percona update procedure (https://www.percona.com/doc/percona-server/5.7/upgrading_guide_56_57.html) you need to do :
sudo service mysql stop
sudo apt-get install percona-server-server-5.7
sudo mysql_upgrade
sudo service mysql restart
In my case I have a cluster with 3 nodes (multi-master):
My questions are :
Kind regards, Silviu
I found the answer in the Percona XtraDB documentation: (https://www.percona.com/doc/percona-xtradb-cluster/LATEST/howtos/upgrade_guide.html)
Basically you have to do for each node in the cluster:
First open 2 ssh sessions
sudo service mysql stop
sudo apt-get remove percona-xtrabackup* percona-xtradb-cluster*
sudo apt-get install percona-xtradb-cluster-57
sudo service mysql stop
cp /var/lib/mysql/grastate.dat /etc/www/grastate.dat
sudo mysqld --skip-grant-tables --user=mysql --wsrep-provider='none'
then go to sesison #2
mysql_upgrade
sudo mysqld stop
sudo service mysql restart