--init-command

This is a command-line option for the mariadb & mysql commands (arg: Required).

SQL Command to execute when connecting to MariaDB server. Will automatically be re-executed when reconnecting.

See also: mariadb & mysql for MariaDB Enterprise Server 10.6, in 10.5 ES, and in 10.4 ES

CHANGE HISTORY

Release Series

History

10.6 Enterprise

  • Present starting in MariaDB Enterprise Server 10.6.4-1.

10.5 Enterprise

  • Present starting in MariaDB Enterprise Server 10.5.3-1.

10.4 Enterprise

  • Present starting in MariaDB Enterprise Server 10.4.6-1.

EXTERNAL REFERENCES