Comments on: Why MySQL says the server is not configured as a slave http://www.xaprb.com/blog/2007/08/01/why-mysql-server-not-configured-as-slave/ Stay curious! Thu, 02 May 2013 12:36:53 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Asanka http://www.xaprb.com/blog/2007/08/01/why-mysql-server-not-configured-as-slave/#comment-20237 Asanka Thu, 13 Sep 2012 19:11:58 +0000 http://www.xaprb.com/blog/2007/08/01/why-mysql-server-not-configured-as-slave/#comment-20237 HA!
Can’t believe I missed the server_id, in fact, I had commented that out just a few hours ago to debug something else.

Thanks.

]]>
By: scorpionking http://www.xaprb.com/blog/2007/08/01/why-mysql-server-not-configured-as-slave/#comment-19955 scorpionking Fri, 30 Mar 2012 19:45:43 +0000 http://www.xaprb.com/blog/2007/08/01/why-mysql-server-not-configured-as-slave/#comment-19955 Thanks for the informative post. somehow my server-id was 0 even though it was in .my.cnf file in the bottom, i moved it under [mysqld] section and it worked fine.

]]>
By: Kingmf http://www.xaprb.com/blog/2007/08/01/why-mysql-server-not-configured-as-slave/#comment-19916 Kingmf Sat, 10 Mar 2012 06:26:55 +0000 http://www.xaprb.com/blog/2007/08/01/why-mysql-server-not-configured-as-slave/#comment-19916 Two questions:
1.In the first step,should we just configration the slave msyql server’s cnf file as normal but set the master vars OR just set the server’s id?
2.In the second step?you mean if you have only two mysql ,you can not set master’s server id as 1 and slave’s server-id as 2(or 0), it seems in my mind ,it should only be different, am I ringht?

]]>
By: Stefan Lasiewski http://www.xaprb.com/blog/2007/08/01/why-mysql-server-not-configured-as-slave/#comment-19531 Stefan Lasiewski Fri, 05 Aug 2011 21:01:59 +0000 http://www.xaprb.com/blog/2007/08/01/why-mysql-server-not-configured-as-slave/#comment-19531 You’ve saved me again! This was a really tricky problem to debug.

Our fix was to explicitly set ‘server-id’ in my.cnf , even though `SHOW VARIABLES LIKE ‘server_id’` shows this is a `1`. I have a more detailed description of my problem at http://dba.stackexchange.com/questions/4400 .

Baron, I love your stuff.

If I run into a particularly difficult problem with MySQL replication, and I google around enough, I eventually come across one of your posts somewhere.

I had no idea that this was your blog until some other guy said “Thanks Baron”. Ironically, I’ve been debugging this for a couple hours with the “High Performance MySQL” book sitting open in front of me.

]]>
By: scotty http://www.xaprb.com/blog/2007/08/01/why-mysql-server-not-configured-as-slave/#comment-19490 scotty Thu, 14 Jul 2011 16:13:52 +0000 http://www.xaprb.com/blog/2007/08/01/why-mysql-server-not-configured-as-slave/#comment-19490 Hey, Thanks! I have no idea how my server id got changed but that is why i couldn’t get my replication fixed. I wonder if it was working with both server_id’s set to 1 before or what

]]>