--password (-p)

USAGE

mariadb-shell [{--password | -p} '<password>']

DETAILS

Option

Default Behavior

Argument

--password
-p

If omitted, MariaDB Shell tries to connect with an empty password

Password

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

To connect to a host by providing a user account and password:

$ mariadb-shell \
   --host host.example.com \
   --user user_name \
   --password 'user_password'

To use the short option names, the equivalent command is:

$ mariadb-shell \
   -h host.example.com \
   -u user_name \
   -p 'user_password'

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

23.03

  • Present starting in MariaDB Shell 23.03.1.

23.02

  • Present starting in MariaDB Shell 23.02.1.

23.01

  • Present starting in MariaDB Shell 23.01.1.

22.12

  • Present starting in MariaDB Shell 22.12.1.

22.10

  • Present starting in MariaDB Shell 22.10.3.

EXTERNAL REFERENCES