--socket (-s)
This page is part of MariaDB's Documentation.
The parent of this page is: mariadb-shell for MariaDB Shell
Topics on this page:
Overview
MariaDB socket file
See also: mariadb-shell for MariaDB Shell, in 23.02, in 23.01, in 22.12, and in 22.10
USAGE
mariadb-shell [{--socket | -s} <path\to\socket_file>]
DETAILS
Option | Default Behavior | Argument |
---|---|---|
--socket -s | If omitted and | Full path to the socket file |
EXAMPLES
To connect to a host using a socket file at a non-default path:
$ mariadb-shell \
--user user_name \
--password 'user_password' \
--socket /data/mariadb/mariadb.sock
CHANGE HISTORY
Release Series | History |
---|---|
23.03 |
|
23.02 |
|
23.01 |
|
22.12 |
|
22.10 |
|