Oracle 5.0 Reference Manual page 255

Table of Contents

Advertisement

| NOW()
+---------------------+
| 2006-01-05 21:19:04 |
+---------------------+
The
--execute
management client for MySQL Cluster. See
ndb_mgm
MySQL
Cluster", for an example.
4.2.3.2. Program Option Modifiers
Some options are "boolean" and control behavior that can be turned on or off. For example, the
client supports a
column names at the beginning of query results. By default, this option is enabled. However, you may
want to disable it in some instances, such as when sending the output of
that expects to see only data and not an initial header line.
To disable column names, you can specify the option using any of these forms:
--disable-column-names
--skip-column-names
--column-names=0
The
--disable
off.
The "enabled" form of the option may be specified in any of these ways:
--column-names
--enable-column-names
--column-names=1
If an option is prefixed by --loose, a program does not exit with an error if it does not recognize the
option, but instead issues only a warning:
shell>
mysql --loose-no-such-option
mysql: WARNING: unknown option '--no-such-option'
The
--loose
same machine and list options in an option file, An option that may not be recognized by all versions of
a program can be given using the
that recognize the option process it normally, and versions that do not recognize it issue a warning and
ignore it.
enables a limit to be placed on how large client programs can set dynamic system
mysqld
variables. To do this, use a
query_cache_size=4M
4.2.3.3. Using Option Files
Most MySQL programs can read startup options from option files (also sometimes called configuration
files). Option files provide a convenient way to specify commonly used options so that they need not be
entered on the command line each time you run a program. For the MySQL server, MySQL provides a
number of
preconfigured option
To determine whether a program reads option files, invoke it with the
--verbose
which files it looks for and which option groups it recognizes.
Specifying Program Options
|
or
option may also be used to pass commands in an analogous fashion to the
-e
--column-names
and
prefixes and the
--skip
prefix can be useful when you run programs from multiple installations of MySQL on the
--loose
--maximum
prevents any client from making the query cache size larger than 4MB.
files.
[425]
and
[400].) If the program reads option files, the help message indicates
--help
Note
Option files used with MySQL Cluster programs are covered in
"MySQL Cluster
Section 17.2.5, "Safe Shutdown and Restart of
[266]
option that determines whether or not to display a row of
suffix all have the same effect: They turn the option
=0
prefix (or
loose
prefix with the variable name. For example,
Configuration".
235
into another program
mysql
in an option file). Versions of the program
option. (For mysqld, use
--help
Section 17.3,
mysql
--maximum-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents