Recently I wrote a blog post with a patch for Percona XtraDB Cluster Init script. But this was more a dirty hack then a real debian/ubuntu patch as Jan pointed it to me.
So I rewrote that patch to not work as the init script of RedHat/CentOS but more like it should work on Debian,
Now to initialize the cluster, on the very first node that will start the cluster, you need to run the following command:
root@percona1:/etc/init.d# /etc/init.d/mysql initialize * Starting MySQL (Percona XtraDB Cluster) database server and initialize the cluster mysqld [ OK ] * Checking for corrupt, not cleanly closed and upgrade needing tables.
Please note, the new command initialize.
I hope this patch is better for Debian afficionados 😉
Thanks for these patches.
We’re working on ubuntu 12.04 in AWS and installed the xtradb software through aptitude.
But these two patches should probably make it into the /etc/init.d/mysql script that is put in place after the packages are installed. Are these patches planned to be merged in to the main release?
Hi Matt,
I’ve no idea if development will add those patches in main release, but you can always post a comment on launchpad’s bug saying you would like it and don’t forget to press the “that bug affects me” link.
Thank you.