Specifying Program Options - Oracle 5.0 Reference Manual

Table of Contents

Advertisement

--
protocol
Value
SOCKET
PIPE
MEMORY
--shared-memory-base-name=name
On Windows, the shared-memory name to use, for connections made using shared memory to a
local server. The default value is MYSQL. The shared-memory name is case sensitive.
The server must be started with the
connections.
--socket=file_name
On Unix, the name of the Unix socket file to use, for connections made using a named pipe to a local
server. The default Unix socket file name is /tmp/mysql.sock.
On Windows, the name of the named pipe to use, for connections to a local server. The default
Windows pipe name is MySQL. The pipe name is not case sensitive.
The server must be started with the
connections.
--ssl*
Options that begin with
using SSL, if the server is configured with SSL support. For details, see
Command
--user=user_name
The user name of the MySQL account you want to use. The default user name is
or your Unix login name on Unix.
It is possible to specify different default values to be used when you make a connection so that you
need not enter them on the command line each time you invoke a client program. This can be done in
a couple of ways:
• You can specify connection parameters in the
section of the file might look like this:
[client]
host=host_name
user=user_name
password=your_pass
Section 4.2.3.3, "Using Option
You can specify some connection parameters using environment variables. The host can be
specified for
is for Windows and NetWare only). The password can be specified using MYSQL_PWD, although this
is insecure; see
see
Section 2.21, "Environment

4.2.3. Specifying Program Options

There are several ways to specify options for MySQL programs:

Specifying Program Options

Connection Protocol
[231 ]
Unix socket file connection to local server
Named-pipe connection to local or remote server Windows only
Shared-memory connection to local server
[232],
-S file_name
[607]
--ssl
Options".
[232],
-u user_name
Files", discusses option files further.
using MYSQL_HOST. The MySQL user name can be specified using
mysql
Section 6.1.2.1, "End-User Guidelines for Password
Variables".
[232]
[420]
--shared-memory
--enable-named-pipe
are used for establishing a secure connection to the server
[client]
232
Permissible Operating
Systems
Unix only
Windows only
option to enable shared-memory
[407]
option to enable named-pipe
Section 6.3.6.4, "SSL
section of an option file. The relevant
Security". For a list of variables,
on Windows
ODBC
(this
USER

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Mysql 5.0

Table of Contents