Oracle 5.0 Reference Manual page 476

Table of Contents

Advertisement

Version Introduced
Variable Name
Variable Scope
Dynamic Variable
The server sets this variable to the server host name at startup. This variable was added in MySQL
5.0.38.
[456]
identity
This variable is a synonym for the
other database systems. You can read its value with
identity.
[456]
init_connect
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
A string to be executed by the server for each client that connects. The string consists of one or more
SQL statements, separated by semicolon characters. For example, each client session begins by
default with autocommit mode enabled. There is no global
specify that autocommit should be disabled by default, but
achieve the same effect:
SET GLOBAL init_connect='SET autocommit=0';
The
init_connect
the variable as just shown using an option file, include these lines:
[mysqld]
init_connect='SET autocommit=0'
The content of
init_connect
privilege. This is done so that an erroneous value for
clients from connecting. For example, the value might contain a statement that has a syntax error,
thus causing client connections to fail. Not executing
the
[578]
privilege enables them to open a connection and fix the
SUPER
value.
[456]
init_file
Command-Line Format
Option-File Format
Option Sets Variable
Server System Variables
5.0.38
hostname
Global
No
Permitted Values
Type
string
last_insert_id
--init-connect=name
init_connect
Yes,
init_connect
init_connect
Global
Yes
Permitted Values
Type
string
[456]
variable can also be set on the command line or in an option file. To set
[456]
is not executed for users that have the
--init-file=file_name
init-file=file_name
Yes,
init_file
456
[462]
variable. It exists for compatibility with
@@identity, and set it using
SELECT
[456]
autocommit
init_connect
init_connect
init_connect
[456]
[436]
system variable to
[456]
can be used to
[578]
SUPER
[456]
does not prevent all
[456]
for users that have
[456]
init_connect
SET

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents