You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
displays the options that are present in option groups of option files\&. The output indicates what options will be used by programs that read the specified option groups\&. For example, the
38
+
displays the options that are present in option groups of option files\&. The output indicates what options are used by programs that read the specified option groups\&. For example, the
As of MySQL 8\&.0\&.18, this option is deprecated\&. It will be removed in a future MySQL version\&. See
514
+
As of MySQL 8\&.0\&.18, this option is deprecated\&. Expect it be removed in a future version of MySQL\&. See
515
515
the section called \(lqConfiguring Legacy Connection Compression\(rq\&.
516
516
.RE
517
517
.sp
@@ -1229,6 +1229,21 @@ The buffer size for TCP/IP and socket communication\&. (Default value is 16KB\&.
1229
1229
.sp-1
1230
1230
.IP\(bu2.3
1231
1231
.\}
1232
+
\fB\-\-network\-namespace=\fR\fB\fIname\fR\fR
1233
+
The network namespace to use for TCP/IP connections\&. If omitted, the connection uses the default (global) namespace\&. For information about network namespaces, see
For server side help, type \*(Aqhelp contents\*(Aq
2185
2202
.fi
2186
2203
.ifn\{\
@@ -2320,7 +2337,7 @@ command line\&. Quoting can be done with either single quote (\*(Aq), double quo
2320
2337
.sp
2321
2338
\fBmysql\fR
2322
2339
interprets instances of the delimiter string as a statement delimiter anywhere it occurs, except within quoted strings\&. Be careful about defining a delimiter that might occur within other words\&. For example, if you define the delimiter as
2323
-
X, you will be unable to use the word
2340
+
X, it is not possible to use the word
2324
2341
INDEX
2325
2342
in statements\&.
2326
2343
\fBmysql\fR
@@ -2336,7 +2353,7 @@ is set to something other than the default of
2336
2353
;
2337
2354
as a statement delimiter and processes statements accordingly\&. This behavior on the server side comes into play for multiple\-statement execution (see
2338
2355
\m[blue]\fBCAPIMultipleStatementExecutionSupport\fR\m[]\&\s-2\u[3]\d\s+2), and for parsing the body of stored procedures and functions, triggers, and events (see
Define query attributes that apply to the next query sent to the server\&. For discussion of the purpose and use of query attributes, see
2562
+
Section\ \&9.6, \(lqQuery Attributes\(rq\&.
2563
+
.sp
2564
+
The
2565
+
query_attributes
2566
+
command follows these rules:
2567
+
.sp
2568
+
.RS4
2569
+
.ien\{\
2570
+
\h'-04'\(bu\h'+03'\c
2571
+
.\}
2572
+
.el\{\
2573
+
.sp-1
2574
+
.IP\(bu2.3
2575
+
.\}
2576
+
The format and quoting rules for attribute names and values are the same as for the
2577
+
delimiter
2578
+
command\&.
2579
+
.RE
2580
+
.sp
2581
+
.RS4
2582
+
.ien\{\
2583
+
\h'-04'\(bu\h'+03'\c
2584
+
.\}
2585
+
.el\{\
2586
+
.sp-1
2587
+
.IP\(bu2.3
2588
+
.\}
2589
+
The command permits up to 32 attribute name/value pairs\&. Names and values may be up to 1024 characters long\&. If a name is given without a value, an error occurs\&.
2590
+
.RE
2591
+
.sp
2592
+
.RS4
2593
+
.ien\{\
2594
+
\h'-04'\(bu\h'+03'\c
2595
+
.\}
2596
+
.el\{\
2597
+
.sp-1
2598
+
.IP\(bu2.3
2599
+
.\}
2600
+
If multiple
2601
+
query_attributes
2602
+
commands are issued prior to query execution, only the last command applies\&. After sending the query,
2603
+
\fBmysql\fR
2604
+
clears the attribute set\&.
2605
+
.RE
2606
+
.sp
2607
+
.RS4
2608
+
.ien\{\
2609
+
\h'-04'\(bu\h'+03'\c
2610
+
.\}
2611
+
.el\{\
2612
+
.sp-1
2613
+
.IP\(bu2.3
2614
+
.\}
2615
+
If multiple attributes are defined with the same name, attempts to retrieve the attribute value have an undefined result\&.
2616
+
.RE
2617
+
.sp
2618
+
.RS4
2619
+
.ien\{\
2620
+
\h'-04'\(bu\h'+03'\c
2621
+
.\}
2622
+
.el\{\
2623
+
.sp-1
2624
+
.IP\(bu2.3
2625
+
.\}
2626
+
An attribute defined with an empty name cannot be retrieved by name\&.
2627
+
.RE
2628
+
.sp
2629
+
.RS4
2630
+
.ien\{\
2631
+
\h'-04'\(bu\h'+03'\c
2632
+
.\}
2633
+
.el\{\
2634
+
.sp-1
2635
+
.IP\(bu2.3
2636
+
.\}
2637
+
If a reconnect occurs while
2638
+
\fBmysql\fR
2639
+
executes the query,
2640
+
\fBmysql\fR
2641
+
restores the attributes after reconnecting so the query can be executed again with the same attributes\&.
2642
+
.sp
2643
+
.RE
2644
+
.RE
2645
+
.sp
2646
+
.RS4
2647
+
.ien\{\
2648
+
\h'-04'\(bu\h'+03'\c
2649
+
.\}
2650
+
.el\{\
2651
+
.sp-1
2652
+
.IP\(bu2.3
2653
+
.\}
2542
2654
quit,
2543
2655
\eq
2544
2656
.sp
@@ -2573,7 +2685,9 @@ option\&.)
2573
2685
resetconnection,
2574
2686
\ex
2575
2687
.sp
2576
-
Reset the connection to clear the session state\&.
2688
+
Reset the connection to clear the session state\&. This includes clearing any current query attributes defined using the
2689
+
query_attributes
2690
+
command\&.
2577
2691
.sp
2578
2692
Resetting a connection has effects similar to
2579
2693
mysql_change_user()
@@ -3653,7 +3767,7 @@ command,
3653
3767
uses it as a search string to access server\-side help from the contents of the MySQL Reference Manual\&. The proper operation of this command requires that the help tables in the
3654
3768
mysql
3655
3769
database be initialized with help topic information (see
3656
-
Section\ \&5.1.16, \(lqServer-Side Help Support\(rq)\&.
3770
+
Section\ \&5.1.17, \(lqServer-Side Help Support\(rq)\&.
3657
3771
.PP
3658
3772
If there is no match for the search string, the search fails:
3659
3773
.sp
@@ -4030,7 +4144,7 @@ bind
4030
4144
at the end of
4031
4145
\&.editrc\&.
4032
4146
\fBmysql\fR
4033
-
will show the bindings when it starts\&.
4147
+
shows the bindings when it starts\&.
4034
4148
Disabling Interactive History
4035
4149
.PP
4036
4150
The
@@ -4127,7 +4241,7 @@ the section called \(lqImpermissible Client Character Sets\(rq\&.
4127
4241
.PP
4128
4242
With those changes,
4129
4243
\fBmysql\fR
4130
-
will use the Windows APIs to communicate with the console using UTF\-16LE, and communicate with the server using UTF\-8\&. (The menu item mentioned previously sets the font and character set as just described\&.)
4244
+
uses the Windows APIs to communicate with the console using UTF\-16LE, and communicate with the server using UTF\-8\&. (The menu item mentioned previously sets the font and character set as just described\&.)
4131
4245
.PP
4132
4246
To avoid those steps each time you run
4133
4247
\fBmysql\fR, you can create a shortcut that invokes
0 commit comments