--profile
This page is part of MariaDB's Documentation.
The parent of this page is: mariadb-shell for MariaDB Shell
Topics on this page:
Overview
Specifies a profile defined in ~/.msh.cnf
to use for the connection.
See also: mariadb-shell for MariaDB Shell, in 23.02, in 23.01, in 22.12, and in 22.10
USAGE
mariadb-shell [--profile <profile_name>]
DETAILS
Option | Default Behavior | Argument |
---|---|---|
| If omitted, MariaDB Shell does not use a saved profile to connect | Profile name as specified in the |
EXAMPLES
To connect to a host using a saved profile:
$ mariadb-shell \
--profile example_profile
The following example ~/.msh.cnf
configuration file shows a profile that was created by the wizard using MariaDB Shell's connect
command:
[profile example_profile]
host = host.example.com
user = app_user
password = PASSWORD_HASH
database = test
port = 3306
CHANGE HISTORY
Release Series | History |
---|---|
23.03 |
|
23.02 |
|
23.01 |
|
22.12 |
|
22.10 |
|