anchor.diff:      services.mysql.settings.mysqld = mkMerge [
         {
           datadir = cfg.dataDir;
  -        bind-address = mkIf (cfg.bind != null) cfg.bind;
  -        port = cfg.port;
  +        port = mkDefault 3306;
         }
         (mkIf (cfg.replication.role == "master" || cfg.replication.role == "slave") {
           log-bin = "mysql-bin-${toString cfg.replication.serverId}";
  
positive.code:     (mkRemovedOptionModule [ "services" "mysql" "pidDir" ] "Don't wait for pidfiles, describe dependencies through systemd.")
      (mkRemovedOptionModule [ "services" "mysql" "rootPassword" ] "Use socket authentication or set the password outside of the nix store.")
      (mkRemovedOptionModule [ "services" "mysql" "extraOptions" ] "Use services.mysql.settings.mysqld instead.")
    ];
  
    ###### interface
  
negative.code:         description = "
            Which MySQL derivation to use. MariaDB packages are supported too.
          ";
        };
  
        user = mkOption {
  