Percona XtraDB Cluster init script for Debian/Ubuntu patch (version 2)


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 😉

2 thoughts on “Percona XtraDB Cluster init script for Debian/Ubuntu patch (version 2)

  1. 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?

    1. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Last Tweets

  • Next week at ,
  • No Ping Will Tear Us Apart – Enabling member auto-rejoin in Group Replication !,
  • RT : 「三谷 さんのセッション、すべて良かったんですが特に良かったのが、 MySQL InnoDB ClusterのConsistency Levelのまとめ 」 「この辺は地雷キュアことyoku0825さんか運用キュアの三谷さんにおススメパターンを導いてほしい!(お前がやれ)」w  ,
  • RT : 【フォトスポット📸まとめ】 会場 フォトスポットにて撮影、投稿いただいた皆さんありがとうございました🙌 (投稿いただいた画像を使用させていただきました🙇‍♀️) 次回は今回よりも! 皆さんに楽しんでもらえる何かをご用意できればと思っております😃 ,
  • RT : Going to Live Austin but need a guide on what to do and see while there? Here is your guide on bats, breakfast, and BBQ! and be sure to drop by the kiosk @mysql_community,
Locations of visitors to this page