Leonid Svyatov
[≡]

Using unique option prefix pass instead of password is deprecated

· 1 min read

If, while working with MySQL or in your cron logs, you suddenly started seeing this message:

Warning: Using unique option prefix pass instead of password is deprecated and will be removed in a future release. Please use the full name instead.

The problem is most likely in your ~/.my.cnf file, which looks something like this:

[client]
user=root
pass=sEcReT

But it should look like this:

[client]
user=root
password=sEcReT

share: [ x ][ bluesky ][ hn ]

Leonid Svyatov [ github ][ linkedin ][ email ]

Hotkeys