0

I followed this tutorial (and read others as well) https://www.digitalocean.com/community/tutorials/how-to-configure-a-galera-cluster-with-mariadb-on-ubuntu-12-04-servers to install galera cluster with maria DB on Ubuntu 14.04 on DigitalOcean. I used this repository:

sudo add-apt-repository 'deb http://mirror.jmu.edu/pub/mariadb/repo/5.5/ubuntu precise main'

I configured everything properly but when I try to start the cluster invoking sudo service mysql start --wsrep-new-cluster in the first node I have this error:

root@****:~# service mysql start --wsrep-new-cluster
start: invalid option: --wsrep-new-cluster
Try `start --help' for more information.

Am I missing anything? Thanks for any suggestions!

Prem
  • 71
  • 4
  • Check version of mariadb and galera -- wsrep-new-cluster is relatively new. – Rick James Aug 16 '15 at 23:57
  • The problem was that! I installed the LEMP application and the other instance of mysql server was causing problem. I reset the droplet, install only Ubuntu 14.04 and everything worked fine! Thanks!! – Prem Aug 18 '15 at 11:56

0 Answers0