1.6 Verify That 'MYSQL_PWD' is Not Set in Users' Profiles

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version


MariaDB can read a default database password from an environment variable called MYSQL_PWD.


Use of the MYSQL_PWD environment variable implies MariaDB credentials are stored as clear text. Avoiding the use of this environment variable may increase assurance that the confidentiality of MariaDB credentials is preserved.


Check which users and/or scripts are setting MYSQL_PWD and change them to use a more secure method.

Default Value:

Not set.

See Also