--color (-c)

Overview

Turns the text color on (auto or 1) or off (off or 0).

See also: mariadb-shell for MariaDB Shell, in 23.02, in 23.01, in 22.12, and in 22.10

USAGE

mariadb-shell [{--color | -c} {auto | 1 | off |0}]

DETAILS

Option

Default Behavior

Argument

--color
-c

If omitted, MariaDB Shell uses colored text

Turn color on: auto or 1
Turn color off: off or 0

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

To turn off the color for MariaDB Shell output:

$ mariadb-shell \
   --host host.example.com \
   --user user_name \
   --color off

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

$ mariadb-shell \
   --host host.example.com \
   --user user_name \
   -c 0

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