3
0
Fork 0
forked from mirrors/nixpkgs

Fix mysql-replication test

This commit is contained in:
Eelco Dolstra 2014-02-28 16:17:34 +01:00
parent da2a336a3c
commit 1d9cd24d0b

View file

@ -26,6 +26,7 @@ in
{ {
services.mysql.enable = true; services.mysql.enable = true;
services.mysql.package = pkgs.mysql;
services.mysql.replication.role = "slave"; services.mysql.replication.role = "slave";
services.mysql.replication.serverId = 2; services.mysql.replication.serverId = 2;
services.mysql.replication.masterHost = nodes.master.config.networking.hostName; services.mysql.replication.masterHost = nodes.master.config.networking.hostName;
@ -38,6 +39,7 @@ in
{ {
services.mysql.enable = true; services.mysql.enable = true;
services.mysql.package = pkgs.mysql;
services.mysql.replication.role = "slave"; services.mysql.replication.role = "slave";
services.mysql.replication.serverId = 3; services.mysql.replication.serverId = 3;
services.mysql.replication.masterHost = nodes.master.config.networking.hostName; services.mysql.replication.masterHost = nodes.master.config.networking.hostName;