I’ve installed the Percona Server software on 3 Centos nodes (version 5.6).
After that, I installed the Cluster software (version 5.5) - most of that seemed to be already included in the server software.
Next step : adapt the my.cnf file according to www.percona.com/doc/percona-xtradb-cluster/5.5/howtos/cenots_howto.html
Now, when I try to start the first node with
/etc/init.d/mysql start --wsrep_cluster_address=“gcomm://”
I get :
Starting MySQL (Percona Server)… ERROR! The server quit without updating PID file
and the mysql log file says :
…
2014-01-27 14:55:23 9723 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.15-rel63.0 started; log sequence number 1626027
2014-01-27 14:55:23 9723 [ERROR] /usr/sbin/mysqld: unknown variable ‘wsrep-cluster-address=gcomm://’
2014-01-27 14:55:23 9723 [ERROR] Aborting
…
What do you mean by installed the Percona Server software on 3 Centos nodes (version 5.6) and then installed cluster software version 5.5 ? Did you installed both Percona Server and Percona XtraDB Cluster ?
Can you show me the output of
@holvoetj,
The error clearly says there is a typo in [COLOR=#252C2F] ‘wsrep-cluster-address=gcomm://’ the variable should be wsrep_cluster_address [COLOR=#252C2F] and not wsrep-cluster-address
u should put that in correct my.cnf file, check to see which my.cnf file its using while its starting…! (usually /etc/my.cnf or /etc/mysql/my.cnf) cross check with these files.
What’s the output of /usr/sbin/mysqld --verbose --help | grep -A 1 “Default options” ?
and also do a grep of “[COLOR=#252C2F]wsrep[COLOR=#252C2F]-cluster[COLOR=#252C2F]-address” on all .cnf files.
somewhere its present!, you have to remove it.
[root@553579-srv115 ~]# /usr/sbin/mysqld --verbose --help 2>&1 | grep -A 1 “Default options”
Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf /usr/etc/my.cnf ~/.my.cnf
[root@553579-srv115 ~]# ls -l /etc/my.cnf /etc/mysql/my.cnf /usr/etc/my.cnf ~/.my.cnf
ls: cannot access /etc/mysql/my.cnf: No such file or directory
ls: cannot access /usr/etc/my.cnf: No such file or directory
ls: cannot access /root/.my.cnf: No such file or directory
-rw-r–r-- 1 root root 1279 Jan 29 11:03 /etc/my.cnf