summaryrefslogtreecommitdiff
path: root/man/mysqlbinlog.1
diff options
context:
space:
mode:
authorBrandon Nesterenko <brandon.nesterenko@mariadb.com>2021-05-10 11:10:53 -0600
committerBrandon Nesterenko <brandon.nesterenko@mariadb.com>2021-05-10 13:36:42 -0600
commit7c1231a6d59edd319fe8a5f3cb5782fc641d9a0a (patch)
tree2ed1deff4b9fcf684426f4c038c894cdf51ce80f /man/mysqlbinlog.1
parentf8665314d4ba190679001b81bb7d9fd7a38fc0f6 (diff)
downloadmariadb-git-bb-10.6-MDEV-14974.tar.gz
MDEV-14974: --port ignored for --host=localhostbb-10.6-MDEV-1497410.6-MDEV-14974
Problem: ======= MariaDB's command line utilities (e.g., mysql, mysqldump, etc) silently ignore connection property options (e.g., --port and --socket) when protocol is not explicitly set via the command-line for localhost connections. Fix: === If connection properties are specified without a protocol, override the protocol to be consistent. For example, if --port is specified, automatically set protocol=tcp. Caveats: ======= * When multiple connection properties are specified, nothing is overridden * If protocol is is set via the command-line, its value is used
Diffstat (limited to 'man/mysqlbinlog.1')
-rw-r--r--man/mysqlbinlog.12
1 files changed, 2 insertions, 0 deletions
diff --git a/man/mysqlbinlog.1 b/man/mysqlbinlog.1
index c2fa339c075..3d12a8fa083 100644
--- a/man/mysqlbinlog.1
+++ b/man/mysqlbinlog.1
@@ -791,6 +791,7 @@ Print the program argument list from all option files and exit\&.
The TCP/IP port number to use for connecting to a remote server,
or \fB0\fR for default to, in order of preference, \fBmy.cnf\fR,
\fB$MYSQL_TCP_PORT\fR, \fB/etc/services\fR, \fRbuilt-in default (3306)\fR\&.
+Forces --protocol=tcp when specified on the command line without other connection properties\&.
.RE
.sp
.RS 4
@@ -955,6 +956,7 @@ base64-output, consider using \fB--base64-output=never\fR instead\&.
.sp
For connections to
localhost, the Unix socket file to use, or, on Windows, the name of the named pipe to use\&.
+Forces --protocol=socket when specified on the command line without other connection properties; on Windows, forces --protocol=pipe\&.
.RE
.sp
.RS 4