--socket (-s)

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 --host is specified, MariaDB Shell tries to connect to the host using TCP/IP

Full path to the socket file

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

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

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