anchor.diff:              if ! test -e ${cfg.dataDir}/mysql; then
                   mkdir -m 0700 -p ${cfg.dataDir}
                   chown -R ${cfg.user} ${cfg.dataDir}
  -                ${mysql}/bin/mysql_install_db ${installOptions}
  +                ${mysql}/bin/mysql_install_db --defaults-file=/etc/my.cnf ${installOptions}
                   touch /tmp/mysql_init
               fi
   
  
positive.code:         serviceConfig = {
            Type = if hasNotify then "notify" else "simple";
            RuntimeDirectory = "mysqld";
            ExecStart = "${mysql}/bin/mysqld --defaults-extra-file=${myCnf} ${mysqldOptions}";
          };
  
          postStart = ''
  
negative.code:   # (earlier versions and MariaDB do this by default).
    installOptions =
      "${mysqldAndInstallOptions} ${lib.optionalString isMysqlAtLeast57 "--insecure"}";
  
  in
  
  