Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
562b1718
Commit
562b1718
authored
Oct 17, 2002
by
jani@rhols221.adsl.netsonic.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added notes about --set-variable being deprecated since MySQL 4.0
parent
f11f48a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
7 deletions
+25
-7
Docs/manual.texi
Docs/manual.texi
+25
-7
No files found.
Docs/manual.texi
View file @
562b1718
...
@@ -9934,7 +9934,9 @@ Error in accept: Protocol error
...
@@ -9934,7 +9934,9 @@ Error in accept: Protocol error
@end example
@end example
You might try starting the server with the @code{--set-variable back_log=50}
You might try starting the server with the @code{--set-variable back_log=50}
option as a workaround for this. @xref{Command-line options}.
option as a workaround for this. Please note that @code{--set-variable} is
deprecated since @strong{MySQL 4.0}, just use @code{--back_log=50} instead.
@xref{Command-line options}.
If you are linking your own MySQL client, you might get the
If you are linking your own MySQL client, you might get the
following error when you try to execute it:
following error when you try to execute it:
...
@@ -14390,7 +14392,9 @@ Only use one thread (for debugging under Linux). @xref{Debugging server}.
...
@@ -14390,7 +14392,9 @@ Only use one thread (for debugging under Linux). @xref{Debugging server}.
Give a variable a value. @code{--help} lists variables. You can find a full
Give a variable a value. @code{--help} lists variables. You can find a full
description for all variables in the @code{SHOW VARIABLES} section in this
description for all variables in the @code{SHOW VARIABLES} section in this
manual. @xref{SHOW VARIABLES}. The tuning server parameters section includes
manual. @xref{SHOW VARIABLES}. The tuning server parameters section includes
information of how to optimise these. @xref{Server parameters}.
information of how to optimize these. Please note that @code{--set-variable}
is deprecated since @strong{MySQL 4.0}, just use @code{--var=option} instead.
@xref{Server parameters}.
In MySQL 4.0.2 one can set a variable directly with
In MySQL 4.0.2 one can set a variable directly with
@code{--variable-name=option} and @code{set-variable} is not anymore needed
@code{--variable-name=option} and @code{set-variable} is not anymore needed
...
@@ -14611,7 +14615,9 @@ This is equivalent to @code{--option=value} on the command-line.
...
@@ -14611,7 +14615,9 @@ This is equivalent to @code{--option=value} on the command-line.
@item set-variable = variable=value
@item set-variable = variable=value
This is equivalent to @code{--set-variable variable=value} on the command-line.
This is equivalent to @code{--set-variable variable=value} on the command-line.
This syntax must be used to set a @code{mysqld} variable.
This syntax must be used to set a @code{mysqld} variable. Please note that
@code{--set-variable} is deprecated since @strong{MySQL 4.0}, just use
@code{--variable=value} instead.
@end table
@end table
The @code{client} group allows you to specify options that apply to all
The @code{client} group allows you to specify options that apply to all
...
@@ -18164,8 +18170,10 @@ Output debug log. The @code{debug_options} string often is
...
@@ -18164,8 +18170,10 @@ Output debug log. The @code{debug_options} string often is
@item -? or --help
@item -? or --help
Display a help message and exit.
Display a help message and exit.
@item -O var=option, --set-variable var=option
@item -O var=option, --set-variable var=option
Set the value of a variable. The possible variables and their default values
Set the value of a variable. Please note that @code{--set-variable} is
for myisamchk can be examined with @code{myisamchk --help}:
deprecated since @strong{MySQL 4.0}, just use @code{--var=option} instead.
The possible variables and their default values for myisamchk can be examined
with @code{myisamchk --help}:
@multitable @columnfractions .20 .10
@multitable @columnfractions .20 .10
@item @strong{Variable} @tab @strong{Value}
@item @strong{Variable} @tab @strong{Value}
@item key_buffer_size @tab 523264
@item key_buffer_size @tab 523264
...
@@ -22104,6 +22112,8 @@ Don't write column names in results.
...
@@ -22104,6 +22112,8 @@ Don't write column names in results.
@cindex @code{set-variable}, @code{mysql} option
@cindex @code{set-variable}, @code{mysql} option
@item -O, --set-variable var=option
@item -O, --set-variable var=option
Give a variable a value. @code{--help} lists variables.
Give a variable a value. @code{--help} lists variables.
Please note that @code{--set-variable} is deprecated since
@strong{MySQL 4.0}, just use @code{--var=option} instead.
@cindex @code{one-database}, @code{mysql} option
@cindex @code{one-database}, @code{mysql} option
@item -o, --one-database
@item -o, --one-database
...
@@ -22181,7 +22191,8 @@ Wait and retry if connection is down instead of aborting.
...
@@ -22181,7 +22191,8 @@ Wait and retry if connection is down instead of aborting.
@end table
@end table
You can also set the following variables with @code{-O} or
You can also set the following variables with @code{-O} or
@code{--set-variable}:
@code{--set-variable}; please note that @code{--set-variable} is
deprecated since @strong{MySQL 4.0}, just use @code{--var=option} instead:
@cindex timeout, @code{connect_timeout} variable
@cindex timeout, @code{connect_timeout} variable
@cindex @code{connect_timeout} variable
@cindex @code{connect_timeout} variable
...
@@ -22874,6 +22885,8 @@ The MySQL user name to use when connecting to the server. The
...
@@ -22874,6 +22885,8 @@ The MySQL user name to use when connecting to the server. The
default value is your Unix login name.
default value is your Unix login name.
@item -O var=option, --set-variable var=option
@item -O var=option, --set-variable var=option
Set the value of a variable. The possible variables are listed below.
Set the value of a variable. The possible variables are listed below.
Please note that @code{--set-variable} is deprecated since
@strong{MySQL 4.0}, just use @code{--var=option} instead.
@item -v, --verbose
@item -v, --verbose
Verbose mode. Print out more information on what the program does.
Verbose mode. Print out more information on what the program does.
@item -V, --version
@item -V, --version
...
@@ -27396,6 +27409,9 @@ thread_stack current value: 131072
...
@@ -27396,6 +27409,9 @@ thread_stack current value: 131072
wait_timeout current value: 28800
wait_timeout current value: 28800
@end example
@end example
Please note that @code{--set-variable} is deprecated since
@strong{MySQL 4.0}, just use @code{--var=option} instead.
If there is a @code{mysqld} server currently running, you can see what
If there is a @code{mysqld} server currently running, you can see what
values it actually is using for the variables by executing this command:
values it actually is using for the variables by executing this command:
...
@@ -45679,7 +45695,7 @@ will be active.
...
@@ -45679,7 +45695,7 @@ will be active.
static char *server_args[] = @{
static char *server_args[] = @{
"this_program", /* this string is not used */
"this_program", /* this string is not used */
"--datadir=.",
"--datadir=.",
"--
set-variable=
key_buffer_size=32M"
"--key_buffer_size=32M"
@};
@};
static char *server_groups[] = @{
static char *server_groups[] = @{
"embedded",
"embedded",
...
@@ -47995,6 +48011,8 @@ use big packets so that you run out of memory.
...
@@ -47995,6 +48011,8 @@ use big packets so that you run out of memory.
If you are using the @code{mysql} client, you may specify a bigger
If you are using the @code{mysql} client, you may specify a bigger
buffer by starting the client with @code{mysql --set-variable=max_allowed_packet=8M}. Other clients have different methods to set this variable.
buffer by starting the client with @code{mysql --set-variable=max_allowed_packet=8M}. Other clients have different methods to set this variable.
Please note that @code{--set-variable} is deprecated since
@strong{MySQL 4.0}, just use @code{--max-allowed-packet=8M} instead.
You can use the option file to set @code{max_allowed_packet} to a larger
You can use the option file to set @code{max_allowed_packet} to a larger
size in @code{mysqld}. For example, if you are expecting to store the
size in @code{mysqld}. For example, if you are expecting to store the
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment