While taking dump of tables and stored procedure on mariadb 10.2.12, I am getting error mysqldump: Couldn't execute 'SHOW PACKAGE STATUS WHERE Db = 'db_name'': You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'PACKAGE STATUS WHERE Db = 'db_name'
command I am using mysqldump -h hostname -u user -p --routines --triggers --all-databases > MySQLStoredProc.sql