[MDEV-27732] Add $MARIADB_MYSQL_LOCALHOST_USER -> CREATE USER mysql@localhost Created: 2022-02-02  Updated: 2022-02-07  Resolved: 2022-02-07

Status: Closed
Project: MariaDB Server
Component/s: Docker
Fix Version/s: 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2

Type: Task Priority: Major
Reporter: Daniel Black Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: None


 Description   

Monitoring and backups require authentication.

The healthcheck script as a executed within container is a perfect example. Having another password to manage on a privileged account is an additional maintaince burden. With unix_socket authentication this provides easy access for a user that will already have direct access to database files.

The security is documented in https://mariadb.com/kb/en/authentication-plugin-unix-socket/#is-it-secure



 Comments   
Comment by Daniel Black [ 2022-02-07 ]

Add MARIADB_MYSQL_LOCALHOST_[USER,GRANTS] per https://github.com/MariaDB/mariadb-docker/commit/3805a68f295fb3adb93d1b4b9b8691498fb73267

Generated at Thu Feb 08 09:55:09 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.