~ubuntu-branches/ubuntu/trusty/mysql-5.5/trusty-security

« back to all changes in this revision

Viewing changes to man/mysql.1

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2017-01-18 07:41:29 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20170118074129-gyilougbokbprl1p
Tags: 5.5.54-0ubuntu0.14.04.1
* SECURITY UPDATE: Update to 5.5.54 to fix security issues
  - CVE-2017-3238
  - CVE-2017-3243
  - CVE-2017-3244
  - CVE-2017-3258
  - CVE-2017-3265
  - CVE-2017-3291
  - CVE-2017-3312
  - CVE-2017-3313
  - CVE-2017-3317
  - CVE-2017-3318 
* debian/patches/fix_test_events_2.patch: fix date in test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\"     Title: \fBmysql\fR
3
3
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
4
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5
 
.\"      Date: 09/28/2016
 
5
.\"      Date: 11/26/2016
6
6
.\"    Manual: MySQL Database System
7
7
.\"    Source: MySQL 5.5
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "\FBMYSQL\FR" "1" "09/28/2016" "MySQL 5\&.5" "MySQL Database System"
 
10
.TH "\FBMYSQL\FR" "1" "11/26/2016" "MySQL 5\&.5" "MySQL Database System"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * Define some portability stuff
13
13
.\" -----------------------------------------------------------------
73
73
.\}
74
74
.PP
75
75
Then type an SQL statement, end it with
76
 
\(lq;\(rq,
 
76
;,
77
77
\eg, or
78
78
\eG
79
79
and press Enter\&.
392
392
client by default uses another\&. In this case, output may be formatted incorrectly\&. You can usually fix such issues by using this option to force the client to use the system character set instead\&.
393
393
.sp
394
394
For more information, see
395
 
Section\ \&10.1.5, \(lqConnection Character Sets and Collations\(rq, and
 
395
Section\ \&10.1.4, \(lqConnection Character Sets and Collations\(rq, and
396
396
Section\ \&10.5, \(lqCharacter Set Configuration\(rq\&.
397
397
.RE
398
398
.sp
464
464
.\}
465
465
\fB\-\-delimiter=\fR\fB\fIstr\fR\fR
466
466
.sp
467
 
Set the statement delimiter\&. The default is the semicolon character (\(lq;\(rq)\&.
 
467
Set the statement delimiter\&. The default is the semicolon character (;)\&.
468
468
.RE
469
469
.sp
470
470
.RS 4
479
479
.sp
480
480
Disable named commands\&. Use the
481
481
\e*
482
 
form only, or use named commands only at the beginning of a line ending with a semicolon (\(lq;\(rq)\&.
 
482
form only, or use named commands only at the beginning of a line ending with a semicolon (;)\&.
483
483
\fBmysql\fR
484
484
starts with this option
485
485
\fIenabled\fR
1646
1646
.sp
1647
1647
Change the string that
1648
1648
\fBmysql\fR
1649
 
interprets as the separator between SQL statements\&. The default is the semicolon character (\(lq;\(rq)\&.
 
1649
interprets as the separator between SQL statements\&. The default is the semicolon character (;)\&.
1650
1650
.sp
1651
1651
The delimiter string can be specified as an unquoted or quoted argument on the
1652
1652
delimiter
1653
 
command line\&. Quoting can be done with either single quote (\*(Aq), double quote ("), or backtick (`) characters\&. To include a quote within a quoted string, either quote the string with a different quote character or escape the quote with a backslash (\(lq\e\(rq) character\&. Backslash should be avoided outside of quoted strings because it is the escape character for MySQL\&. For an unquoted argument, the delimiter is read up to the first space or end of line\&. For a quoted argument, the delimiter is read up to the matching quote on the line\&.
 
1653
command line\&. Quoting can be done with either single quote (\*(Aq), double quote ("), or backtick (`) characters\&. To include a quote within a quoted string, either quote the string with a different quote character or escape the quote with a backslash (\e) character\&. Backslash should be avoided outside of quoted strings because it is the escape character for MySQL\&. For an unquoted argument, the delimiter is read up to the first space or end of line\&. For a quoted argument, the delimiter is read up to the matching quote on the line\&.
1654
1654
.sp
1655
1655
\fBmysql\fR
1656
1656
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
1666
1666
When the delimiter recognized by
1667
1667
\fBmysql\fR
1668
1668
is set to something other than the default of
1669
 
\(lq;\(rq, instances of that character are sent to the server without interpretation\&. However, the server itself still interprets
1670
 
\(lq;\(rq
 
1669
;, instances of that character are sent to the server without interpretation\&. However, the server itself still interprets
 
1670
;
1671
1671
as a statement delimiter and processes statements accordingly\&. This behavior on the server side comes into play for multiple\-statement execution (see
1672
1672
Section\ \&23.8.17, \(lqC API Support for Multiple Statement Execution\(rq), and for parsing the body of stored procedures and functions, triggers, and events (see
1673
1673
Section\ \&20.1, \(lqDefining Stored Programs\(rq)\&.
2347
2347
T{
2348
2348
\e\e
2349
2349
T}:T{
2350
 
A literal \(lq\e\(rq backslash character
 
2350
A literal \e backslash character
2351
2351
T}
2352
2352
T{
2353
2353
\e\fIx\fR
2751
2751
.\}
2752
2752
.PP
2753
2753
The search string can contain the wildcard characters
2754
 
\(lq%\(rq
 
2754
%
2755
2755
and
2756
 
\(lq_\(rq\&. These have the same meaning as for pattern\-matching operations performed with the
 
2756
_\&. These have the same meaning as for pattern\-matching operations performed with the
2757
2757
LIKE
2758
2758
operator\&. For example,
2759
2759
HELP rep%