anchor.diff:        };
   
         dataDir = mkOption {
  -        default = "/var/mysql";
  +        default = "/var/mysql"; # !!! should be /var/db/mysql
           description = "Location where MySQL stores its table files";
         };
   
  
positive.code: 
      environment.systemPackages = [mysql];
  
      jobs = singleton {
        name = "mysql";
        
        job = ''
          description "MySQL server"
  
          stop on shutdown
  
          start script
              if ! test -e ${cfg.dataDir}; then
                  mkdir -m 0700 -p ${cfg.dataDir}
                  chown -R ${cfg.user} ${cfg.dataDir}
                  ${mysql}/bin/mysql_install_db ${mysqldOptions}
  
negative.code: 
              mkdir -m 0700 -p ${cfg.pidDir}
              chown -R ${cfg.user} ${cfg.pidDir}
            '';
  
          exec = "${mysql}/bin/mysqld ${mysqldOptions}";
  
          postStop =
            ''
              pid=$(cat ${pidFile})
              kill "$pid"
              ${mysql}/bin/mysql_waitpid "$pid" 1000
            '';
        };
  
    };
  
  