3088
MariaDBERRORCommonAccess ControlHIGH confidence

Access denied (no password provided)

Production Risk

High — connection fails, causing application downtime.

What this means

The user attempted to connect without a password, but the account requires one.

Why it happens
  1. 1Connecting to a MySQL account that has a password set without providing a password.
  2. 2Application connection string missing the password parameter.
How to reproduce
trigger — this will error
trigger — this will error
mysql -u user_requiring_password

expected output

ERROR 3088 (28000): Access denied for user 'user'@'host' (using password: NO)

Fix 1

Provide the correct password on connection

Provide the correct password on connection
mysql -u user_requiring_password -p

Why this works

Prompts for the password and authenticates the user.

Fix 2

Update the application connection string to include the password

Update the application connection string to include the password
-- DSN: mysql://user:password@host/db

Why this works

Ensures the application supplies credentials.

What not to do

Sources
Official documentation ↗

MySQL 8.0 — 3088 ER_ACCESS_DENIED_NO_PASSWORD_ERROR2

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

← All MariaDB errors