You might find it useful to know that we have support in mariadb-server init.d script for reading /etc/default/mysql
- Bug#848914: mysql-server: supply configuration file for ... westlake
- Bug#848914: [debian-mysql] Bug#848914: mysql-server... Robie Basak
- Bug#848914: [debian-mysql] Bug#848914: mysql-server... Otto Kekäläinen
- Bug#848914: [debian-mysql] Bug#848914: mysql-server... westlake