--init-command
This page is part of MariaDB's Documentation.
The parent of this page is: mariadb & mysql for MariaDB Enterprise Server
Topics on this page:
Overview
This is a command-line option for the mariadb & mysql commands (arg: Required).
In 11.4 ES, 10.6 ES, 10.6 CS, 10.5 ES, 10.5 CS, 10.4 ES, 10.4 CS:
SQL Command to execute when connecting to MariaDB server. Will automatically be re-executed when reconnecting.
In 11.4 ES, 10.6 ES, 10.5 ES, 10.4 ES:
SQL Command to execute when connecting to MariaDB server. Will automatically be re-executed when reconnecting.
In 10.3 ES, 10.3 CS, 10.2 ES, 10.2 CS:
SQL Command to execute when connecting to MySQL server. Will automatically be re-executed when reconnecting.
See also: mariadb & mysql for MariaDB Enterprise Server 11.4, in 10.6 ES, in 10.5 ES, in 10.4 ES, in 10.3 ES, in 10.2 ES, in 10.6 CS, in 10.5 CS, in 10.4 CS, in 10.3 CS, and in 10.2 CS
See also: mariadb & mysql for MariaDB Enterprise Server 11.4, in 10.6 ES, in 10.5 ES, and in 10.4 ES
USAGE
DETAILS
SYNONYMS
SCHEMA
PARAMETERS
SKYSQL
PRIVILEGES
EXAMPLES
ERROR HANDLING
FEATURE INTERACTION
RESPONSES
DIAGNOSIS
ISO 9075:2016
CHANGE HISTORY
Release Series | History |
|---|---|
11.4 Enterprise |
|
10.6 Enterprise |
|
10.6 Community |
|
10.5 Enterprise |
|
10.5 Community |
|
10.4 Enterprise |
|
10.4 Community |
|
10.3 Enterprise |
|
10.3 Community |
|
10.2 Enterprise |
|
10.2 Community |
|
Release Series | History |
|---|---|
11.4 Enterprise |
|
10.6 Enterprise |
|
10.5 Enterprise |
|
10.4 Enterprise |
|
