By rajivkale
We want to setup MySQL Master as well as Slave to run on same physical host and achieve replication. How to do it? Steps with example would be great…
Thanks Rajiv
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi Rajiv, <br> <br>I’m curious. Whats the use case for this? I’m not sure I’ve ever see it done. While its technically possible, you loose a lot of the benefits of redundancy by having it on the same host machine. See this discussion over on DBA StackExchange: <br> <br>http://dba.stackexchange.com/questions/545/is-it-unwise-to-run-replication-on-same-physical-server <br> <br>How To Forge has a tutorial doing this by compiling two completely different mysql binaries: <br> <br>http://www.howtoforge.com/one_machine_mysql_replication <br> <br>I could also imagine doing it using lxc containers or docker.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.