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"


Answer Answered by Daniel Black in this comment.


Lucky the Agent2 version of Zabbix does probing of the database direct via SQL run by the

So it doesn't matter even if the mysql/mariadb/mysql_admin/mariadb-admin clients aren't there.


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.