View Single Post
  #4  
Old 28th October 2012, 01:12
djmostek djmostek is offline
Member
 
Join Date: Aug 2007
Posts: 63
Thanks: 5
Thanked 1 Time in 1 Post
Default

Till can U give me some feedback one more time? Im doing my cluster with tutorial (http://www.howtoforge.com/installing...th-ispconfig-3) and i am on the step when i am supposed to add in /etc/mysql/my.cnf
Code:
 [mysqld]
server-id = 1
replicate-same-server-id = 0
auto-increment-increment = 2
auto-increment-offset = 1
 
master-host = 192.168.0.106
master-user = slaveuser
master-password = slave_user_password
master-connect-retry = 60   
 
expire_logs_days        = 10
max_binlog_size         = 500M
and after adding it and then after running commands
Code:
 scp -pr /var/lib/mysql/* root@server2.example.tld:/var/lib/mysql/
 scp -pr /etc/mysql/debian.cnf root@server2.example.tld:/etc/mysql/debian.cnf
I cannot start my mysql server.
So summarising: after stopping mysql service and editing /etc/mysql/my.cnf there is no way to restart MySQL again.

Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
Reply With Quote