I currently have got 2 servers running mysql 5.1.
Im settings them up as a master slave. Both have a static ip address and are not part of any domain. (currently they are in a vmware LAN)
The question is as in the mysql documentation it states that u have to setup a domain user for the replication although i dont have a domain.
How will i be able to setup a user so i can let the 2 servers replicate?
This is the original line from the documentation:
CREATE USER 'repl'@'%.mydomain.com' IDENTIFIED BY 'slavepass';
If you only need the slave to be able to connect to the master from one IP, then you don’t need a domain user, but rather a use from the static IP.
If the slave has a hostname the master will resolve it needs to be used. This is what the docs are talking about.