create

Overview

<command>

See also: MaxCtrl Commands for MariaDB MaxScale 6, in 2.5, in 2.4, and in 2.3

USAGE

The following local options are accepted:

Option

Description

--authenticator

Authenticator module name [string]

--authenticator-options

Option string for the authenticator [string]

--filters

Link the created service to these filters [array]

--interface

Interface to listen on [string] [default: "::"]

--monitor,

--monitors Link the created server to this monitor [string]

--monitor-password

Password for the monitor user [string]

--monitor-user

Username for the monitor user [string]

--protocol

Protocol module name [string]

--servers

Link the created service to these servers. All non-option arguments after --servers are interpreted as server names e.g., `--servers srv1 srv2 srv3`. [array]

--services

Link the created server to these services. All non-option arguments after --services are interpreted as service names e.g., `--services my-service-1 my-service-2`. [array]

--tls-ca-cert

Path to TLS CA certificate [string]

--tls-cert

Path to TLS certificate [string]

--tls-cert-verify-depth

TLS certificate verification depth [string]

--tls-key

Path to TLS key [string]

--tls-version

TLS version to use [string]

--type

Type of user to create [string] [choices: "admin", "basic"] [default: "basic"]

The following Command-line Options are not present in MariaDB Community Server 2.3.20 but are present in one or more older 2.3 versions. Click on an item to see its details, including when it was removed.

Option

Description

--monitors

Link the created server to these monitors [array]

The following global options are also accepted:

Option

Description

--help

Show help [boolean]

--hosts (-h)

List of MaxScale hosts. The hosts must be in HOST:PORT format and each value must be separated by a comma. [string] [default: "localhost:8989"]

--password (-p)

Password for the user. To input the password manually, give -p as the last argument or use --password='' [string] [default: "mariadb"]

--quiet (-q)

Silence all output. This option is not used in the interactive mode. [boolean] [default: false]

--secure (-s)

Enable HTTPS requests [boolean] [default: false]

--timeout (-t)

Request timeout in milliseconds [number] [default: 10000]

--tls-ca-cert

Path to TLS CA certificate [string]

--tls-cert

Path to TLS public certificate [string]

--tls-key

Path to TLS private key [string]

--tls-passphrase

Password for the TLS private key [string]

--tls-verify-server-cert (-n)

Whether to verify server TLS certificates [boolean] [default: true]

--tsv

Print tab separated output [boolean] [default: false]

--user (-u)

Username to use [string] [default: "admin"]

--version

Show version number [boolean]