Unix Technical Forum

Master-to-Master replication on same server

This is a discussion on Master-to-Master replication on same server within the MySQL General forum forums, part of the MySQL category; --> I recently installed 2 instances of mysql on the same server, using port 3307 for the second server, the ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-22-2008, 06:56 AM
Jim Lyons
 
Posts: n/a
Default Master-to-Master replication on same server

I recently installed 2 instances of mysql on the same server, using port
3307 for the second server, the normal 3306 for the first server. I found
that while logged onto that box I could communicate to the 3307 instances
using the socket parameter. Using the port parameter (--port=3307) by
itself didn't work.

I am now trying to set up master-to-master replication on that machine,
where the 2 masters are the 2 instances running on that machine (sounds a
little flaky, but it's for a dev box and it ought to work). It's not
working and I'm wondering if it's because I can't specify the socket the
3306 master needs to connect to on the 3307 master. In the "change master
to" command I can only specify the port. I did specify it as 3307 but the
"slave" can't connect.

Has anyone done this?


--
Jim Lyons
Web developer / Database administrator
http://www.weblyons.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:59 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com