
The value is case-sensitive, and defaults to MARIADB.
#COMMENT MARIADB WINDOWS#
Only available on Windows systems in which the server has been started with the -shared-memory option, this specifies the shared-memory name to use for connecting to a local server. Shared-memory-base-name -shared-memory-base-name=name

Shared-memory connection to the local server on Windows systems only. A named-pipe connection (either local or remote). SOCKET: A Unix socket file connection, available to the local server on Unix systems only.TCP: A TCP/IP connection to a server (either local or remote).For example on Unix, a Unix socket file ( SOCKET) is the default protocol, and usually results in the quickest connection. Usually you would not want to change this from the default. It can be one of TCP, SOCKET, PIPE or MEMORY (case-insensitive). Specifies the protocol to be used for the connection for the connection. The TCP/IP port number to use for the connection. On Windows systems that have been started with the -enable-named-pipe option, use this option to connect to the server using a named pipe. If you include the -p or -password option, but leave out the password, you will be prompted for it, which is more secure.
#COMMENT MARIADB PASSWORD#
It is generally not secure to enter the password on the command line, as other users on the system can see it as part of the command that has been run. By default, MariaDB does not permit remote logins - see Configuring MariaDB for Remote Client Access.


In this case, the following defaults apply: If a connection parameter is not provided, it will revert to a default value.įor example, to connect to MariaDB using only default values with the mariadb client, enter the following from the command line: mariadb The rest of this article assumes that the mariadb command line client is used.

#COMMENT MARIADB SOFTWARE#
The client software will most often be the mariadb client, used for entering statements from the command line, but the same concepts apply to any client, such as a graphical client, a client to run backups such as mariadb-dump, etc. In order to connect to the MariaDB server, the client software must provide the correct connection parameters. If you are completely new to MariaDB, take a look at A MariaDB Primer first. This article covers connecting to MariaDB and the basic connection parameters.
