Suppress MariaDB 11 deprecation warnings
Is there a way to prevent deprecation warnings from appearing when executing the 'mysql' and 'mysqldump' commands? There are applications, such as Zabbix, that expect an XML when executing these commands, and this warning breaks the format. We are aware that the templates will need to be updated, but for now we have no other option than to hide these messages.
I mean messages like this: "mariadb mysql: Deprecated program namein a future release, use '/usr/bin/mariadb' instead"
Lucky the Agent2 version of Zabbix https://www.zabbix.com/documentation/current/en/manual/concepts/agent2 does probing of the database direct via SQL run by the https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/go/plugins/mysql.
So it doesn't matter even if the mysql/mariadb/mysql_admin/mariadb-admin clients aren't there.