From f9b3c09b75566312845a08787df67e74ebfcfed9 Mon Sep 17 00:00:00 2001
From: Alberto Colla <alberto.colla@garr.it>
Date: Wed, 21 Jun 2023 08:23:59 +0000
Subject: [PATCH] Update file percona_manual_sync.rst

---
 web/support/kb/cloud/percona_manual_sync.rst | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/web/support/kb/cloud/percona_manual_sync.rst b/web/support/kb/cloud/percona_manual_sync.rst
index 2faaef1..38aea3b 100644
--- a/web/support/kb/cloud/percona_manual_sync.rst
+++ b/web/support/kb/cloud/percona_manual_sync.rst
@@ -44,13 +44,13 @@ connect to one of the servers, and force ``mysql`` restart as master.
   
 - Edit file /etc/mysql/percona-xtradb-cluster.conf.d/mysqld.cnf, you should find the line::
 
-  $ wsrep_cluster_address=gcomm://<ip_1>,<ip_2>
+  wsrep_cluster_address=gcomm://<ip_1>,<ip_2>
 
 where <ip_1>, <ip_2> are the IP addresses of the other members of the cluster.
 
 - Comment this line, copy/paste then remove the IP addresses, leaving::
 
-   $ wsrep_cluster_address=gcomm://
+   wsrep_cluster_address=gcomm://
 
   
 .. comment
@@ -88,7 +88,13 @@ start ``mysql`` on the remaining nodes, as usual
 go back to the first node, stop ``mysql``, revert the change to ``wsrep_cluster_address`` and restart ``mysql``
 ----------------------------------------------------------------------------------------------------------------
   
-  $ sudo mv /tmp/mysql.cnf /etc/mysql/percona-xtradb-cluster.conf.d/mysqld.cnf
+On the first node edit the file ``/etc/mysql/percona-xtradb-cluster.conf.d/mysqld.cnf`` and uncomment the original line:
+
+  wsrep_cluster_address=gcomm://<ip_1>,<ip_2>
+
+Then restart mysql::
+
+
   $ sudo service mysql restart
 
 start ``juju`` agents on all the units
-- 
GitLab