I mean to say when I restart the mysql service with the above configuration, mysql service takes long time to start and dont' start at all. Nothing in mysql logs and are empty.
Você especificou a opção log-error
em /etc/my.cnf
?
After commenting the following
master-*
lines on both the master, MySQL starts normally and replication works.#master-host = 192.168.2.xx #master-user = repli #master-password = secret #master-connect-retry = 60
Then how to specify the master server on slaves?. Is
CHANGE MASTER TO MASTER_HOST='192.168.2.xx', MASTER_USER='repli', MASTER_PASSWORD='secret',...
enough?.
As opções master-*
são removidas no MySQL 5.5. Claro, CHANGE MASTER TO
é suficiente porque o valor é salvo no arquivo master.info
.
Are MySQL 5.5.24 & ubuntu 12.04 production ready?
Sim. Mas dê uma olhada em este para mais informações.