anchor.diff:                            echo "CREATE USER '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' IDENTIFIED WITH mysql_native_password;"
                             echo "SET PASSWORD FOR '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' = PASSWORD('${cfg.replication.masterPassword}');"
                             echo "GRANT REPLICATION SLAVE ON *.* TO '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}';"
  -                        ) | ${mysql}/bin/mysql -u root -N
  +                        ) | ${cfg.package}/bin/mysql -u root -N
                         ''}
   
                       ${optionalString (cfg.replication.role == "slave")
  
positive.code: 
      users.groups.mysql.gid = config.ids.gids.mysql;
  
      environment.systemPackages = [mysql];
  
      environment.etc."my.cnf".source = cfg.configFile;
  
  
negative.code:                   ${concatMapStrings (database: ''
                      echo "CREATE DATABASE IF NOT EXISTS \`${database}\`;"
                    '') cfg.ensureDatabases}
                    ) | ${cfg.package}/bin/mysql -u root -N
                  ''}
  
                  ${concatMapStrings (user:
  