I post my solution for a 3 nodes Percona Cluster.
This is what worked for me.
First of all, make a full mysqldump of your databases (just in case).
NODE 1
$ systemctl stop mysql
$ cd /var/lib
$ cp -rp mysql /backupdir # backup
$ rm -rf mysql
$ mkdir mysql
$ chown mysql:mysql mysql
$ chmod 750 mysql
OPTIONAL: Trunc logs
`$ :> /var/log/mysqld.log`
$ vim /etc/my.cnf
--> lower_case_table_names=1
Initialize data directory with additional parameters:
$ mysqld --defaults-file=/etc/my.cnf --initialize-insecure --user=mysql --console
$ ls -l /var/lib/mysql
$ more /var/log/mysqld.log
Start mysql services in bootstrap mode
$ systemctl start mysql@bootstrap.service
$ mysql -uroot --skip-password
--> reset root password
mysql> alter user 'root'@'localhost' identified by 'xxxxxxxxxx';
mysql> flush privileges;
mysql> exit;
NODE 2
$ systemctl stop mysql
$ cd /var/lib
$ cp -rp mysql /backupdir # backup
$ rm -rf mysql
$ mkdir mysql
$ chown mysql:mysql mysql
$ chmod 750 mysql
OPTIONAL: Trunc logs
$ :> /var/log/mysqld.log
$ vim /etc/my.cnf
--> lower_case_table_names=1
Startup mysql service (and initialize directory for this node):
$ systemctl start mysql
$ ls -l /var/lib/mysql
$ more /var/log/mysqld.log
NODE 3
$ systemctl stop mysql
$ cd /var/lib
$ cp -rp mysql /backupdir # backup
$ rm -rf mysql
$ mkdir mysql
$ chown mysql:mysql mysql
$ chmod 750 mysql
OPTIONAL: Trunc logs
$ :> /var/log/mysqld.log
$ vim /etc/my.cnf
--> lower_case_table_names=1
Startup mysql service (and initialize directory for this node):
$ systemctl start mysql
$ ls -l /var/lib/mysql
$ more /var/log/mysqld.log
NODO 1
Restart services in normal mode (from bootstrap mode)
$ systemctl stop mysql@bootstrap.service
$ systemctl start mysql
REFERENCES:
https://dev.mysql.com/doc/mysql-installation-excerpt/8.3/en/data-directory-initialization.html
https://dev.mysql.com/doc/mysql-installation-excerpt/8.3/en/data-directory-initialization.html$data-directory-initialization-procedure
https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html$sysvar_lower_case_table_names