anchor.diff:      port = ${toString cfg.port}
       ${optionalString (cfg.replication.role == "master" || cfg.replication.role == "slave") "log-bin=mysql-bin"}
       ${optionalString (cfg.replication.role == "master" || cfg.replication.role == "slave") "server-id = ${toString cfg.replication.serverId}"}
  -    ${optionalString (cfg.replication.role == "slave" && !is55)
  +    ${optionalString (cfg.replication.role == "slave" && !atLeast55)
       ''
         master-host = ${cfg.replication.masterHost}
         master-user = ${cfg.replication.masterUser}
  
positive.code:       };
  
        pidDir = mkOption {
          default = "/var/run/mysql";
          description = "Location of the file which stores the PID of the MySQL server";
        };
  
  
negative.code:           ''
              # Wait until the MySQL server is available for use
              count=0
              while [ ! -e /run/mysqld/mysqld.sock ]
              do
                  if [ $count -eq 30 ]
                  then
  