I’ve bootstrapped the first node and started mysql on the 2nd node after generating and copying the cert, and configuring the mysqld.cnf file as described (Ubuntu 24.04).
Slight modification: I’ve mounted a 2nd drive for the mysql data, and it’s in /mnt/data rather than the normal mysql directory.
Mysql fails to start on 2nd node.
In the /var/log/mysql/error.log, I get a bunch of this:
I’ve tested with and without the firewalls, I’ve double/triple checked that the certs are the same in /etc/ on all 3 nodes, with mysql:mysql ownership and permissions as advised.
Certs inside the /mnt/data directory are NOT the same, but the instructions don’t say anything about that.
I did try putting the cluster certs in a specific dir (/etc/mysql/clustercerts), and specified the full paths in both the wsrep_provider_options statement and [sst] section, but from the “passing config” line in the error log, it appears that the full path was not provided to Galera. (see highlighted in screenshot). Does that mean it’s still looking in the data directory?
And if so, should I replace the same files in the data directory? I was cautious to do so as there are other certs in there as well I didn’t want to screw up.