#1056121 mariadb-server: debian-start uses obsolate hardcoded /etc/mysql/debian.cnf

Package:
mariadb-server
Source:
mariadb-server
Description:
MariaDB database server binaries
Submitter:
Sebastian Fiedler
Date:
2023-11-22 15:48:06 UTC
Severity:
normal
#1056121#5
Date:
2023-11-17 09:55:07 UTC
From:
To:
Dear Maintainer,

debian-start uses obsolate hardcoded /etc/mysql/debian.cnf. The file
will bee removed in the future. When this file exists, I get
"Access denied for user 'root'@'localhost'" with mariaDB Unix Socket Authentication Plugin.

Here is a possible fix:
--- debian-start	2023-11-17 10:22:20.020000000 +0100
+++ debian-start.new	2023-11-17 09:57:04.700000000 +0100
@@ -17,11 +17,15 @@
    . /etc/default/mariadb
  fi

#1056121#10
Date:
2023-11-17 13:25:57 UTC
From:
To:
This is a duplicate of bug 1056120.

Sorry for any inconvenience.