--dsn (--url)
This page is part of MariaDB's MariaDB Documentation.
The parent of this page is: mariadb-shell for MariaDB Shell
Topics on this page:
Overview
A formatted URL string, i.e., mariadb://user:password@hostname:port/database
See also: mariadb-shell for MariaDB Shell, in 23.02, in 23.01, in 22.12, and in 22.10
USAGE
mariadb-shell [{--dsn | --url} <url_string>]
DETAILS
Option | Default Behavior | Argument |
---|---|---|
--dsn --url | If omitted, MariaDB Shell does not use a DSN to connect | A formatted URL string like |
EXAMPLES
To connect to a remote host using a formatted URL string:
$ mariadb-shell \
--dsn mariadb://app_user:app_user_passwd@host.example.com:3306/test
The equivalent command is:
$ mariadb-shell \
--url mariadb://app_user:app_user_passwd@host.example.com:3306/test
CHANGE HISTORY
Release Series | History |
---|---|
23.03 |
|
23.02 |
|
23.01 |
|
22.12 |
|
22.10 |
|