anchor.diff:  
                   if [ -f ${cfg.dataDir}/mysql_init ]
                   then
  +                    # While MariaDB comes with a 'mysql' super user account since 10.4.x MySQL does not
  +                    # Since we don't want to run this service as 'root' we need to ensure the account exists on first run
  +                    ( echo "CREATE USER IF NOT EXISTS '${cfg.user}'@'localhost' IDENTIFIED WITH ${if isMariaDB then "unix_socket" else "auth_socket"};"
  +                      echo "GRANT ALL PRIVILEGES ON *.* TO '${cfg.user}'@'localhost' WITH GRANT OPTION;"
  +                    ) | ${cfg.package}/bin/mysql -u ${superUser} -N
  +
                       ${concatMapStrings (database: ''
                         # Create initial databases
                         if ! test -e "${cfg.dataDir}/${database.name}"; then
  
positive.code:           ExecStart = "${cfg.package}/bin/mysqld --defaults-file=/etc/my.cnf ${mysqldOptions} $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION";
            ExecStartPost =
              let
                setupScript = pkgs.writeScript "mysql-setup" ''
                  #!${pkgs.runtimeShell} -e
  
  
negative.code:                           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}';"
                          ) | ${cfg.package}/bin/mysql -u ${superUser} -N
                        ''}
  
                      ${optionalString (cfg.replication.role == "slave")
  