1691
MariaDBWARNINGNotableSecurityHIGH confidence

Named pipe access is granted to everyone (security risk)

Production Risk

Medium — potential unauthorised local access via named pipe.

What this means

On Windows, MySQL warns that the named pipe has been configured to allow access to everyone, which is a security risk. This is controlled by the named_pipe_full_access_group system variable.

Why it happens
  1. 1named_pipe_full_access_group is set to an overly permissive value or empty string on Windows.
How to reproduce
trigger — this will error
trigger — this will error
-- Occurs at server startup when named_pipe_full_access_group allows all users.

expected output

Warning (Code 1691): Named pipe access is granted to the 'everyone' group. This is a potential security breach.

Fix

Restrict named pipe access to a specific Windows group

Restrict named pipe access to a specific Windows group
-- In my.cnf [mysqld]:
-- named_pipe_full_access_group = "MySQL Local Users"

Why this works

Restricting the group limits named pipe connections to authorised OS-level users.

What not to do

Sources
Official documentation ↗

MySQL 8.0 — 1691 WARN_NAMED_PIPE_ACCESS_EVERYONE

Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev

← All MariaDB errors