Oracle 5.0 Reference Manual page 1222

Table of Contents

Advertisement

You must have the
See also
Section 19.15, "The
13.7.5.36.
SHOW VARIABLES
SHOW [GLOBAL | SESSION] VARIABLES
[LIKE 'pattern' | WHERE expr]
SHOW VARIABLES
obtained using the
which variable names to match. The
conditions, as discussed in
require any privilege. It requires only the ability to connect to the server.
With the
GLOBAL
to MySQL. If a variable has no global value, the session value is displayed. With SESSION,
VARIABLES
the default is SESSION.
If the default system variable values are unsuitable, you can set them using command options when
starts, and most can be changed at runtime with the
mysqld
System
Variables", and
Partial output is shown here. The list of names and values may be different for your server.
Section 5.1.4, "Server System
"Tuning Server
mysql>
SHOW VARIABLES;
+---------------------------------+-------------------------------------+
| Variable_name
+---------------------------------+-------------------------------------+
| auto_increment_increment
| auto_increment_offset
| automatic_sp_privileges
| back_log
| basedir
| bdb_cache_size
| bdb_home
| bdb_log_buffer_size
...
| max_connections
| max_connect_errors
| max_delayed_threads
| max_error_count
| max_heap_table_size
| max_join_size
| max_relay_log_size
| max_sort_length
...
| time_zone
| timed_mutexes
| tmp_table_size
| tmpdir
| transaction_alloc_block_size
| transaction_prealloc_size
| tx_isolation
| updatable_views_with_limit
| version
| version_comment
| version_compile_machine
| version_compile_os
| wait_timeout
+---------------------------------+-------------------------------------+
With a
LIKE
the pattern. To obtain the row for a specific variable, use a
[578]
privilege to execute
SUPER
INFORMATION_SCHEMA TRIGGERS
Syntax
shows the values of MySQL system variables. This information also can be
mysqladmin variables
Section 19.18, "Extensions to
modifier,
SHOW VARIABLES
displays the values that are in effect for the current connection. If no modifier is present,
is a synonym for SESSION.
LOCAL
Section 13.7.4,
Variables", describes the meaning of each variable, and
Parameters", provides information about tuning them.
[896]
clause, the statement displays only rows for those variables with names that match
Syntax
SHOW
SHOW
command. The
clause can be given to select rows using more general
WHERE
SHOW
displays the values that are used for new connections
"SET
Syntax".
| Value
| 1
| 1
| ON
| 50
| /
| 8388600
| /var/lib/mysql/
| 32768
| 100
| 10
| 20
| 64
| 16777216
| 4294967295
| 0
| 1024
| SYSTEM
| OFF
| 33554432
|
| 8192
| 4096
| REPEATABLE-READ
| YES
| 5.0.19-Max
| MySQL Community Edition - Max (GPL) |
| i686
| pc-linux-gnu
| 28800
LIKE
1202
TRIGGERS.
Table".
[896]
clause, if present, indicates
LIKE
Statements". This statement does not
statement. See
Section 5.1.5, "Using
SET
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[896]
clause as shown:
SHOW
Section 8.9.2,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents