Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1562

Multiple replication users (no replies)

$
0
0
Hello everyone,

I want to configure mysql replication in master -master mode.

My setup is as follows: master1 <==> master2

On master1 I create two databases: DB1 and DB2

I would want to create two users for replication : user1 to replicate only DB1 and user2 to replicate only DB2

user1 and user2 must not have the same password.

I want to know if I can have two master-user and two different master-password in my.cnf as follows ?:

master- user = user1
master- password = pass1

master- user = user2
master- password = pass2

Please tell me if this is possible ?

Thank you for your advices

Georges

Viewing all articles
Browse latest Browse all 1562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>