diff options
author | Brandon Nesterenko <brandon.nesterenko@mariadb.com> | 2021-05-10 11:10:53 -0600 |
---|---|---|
committer | Brandon Nesterenko <brandon.nesterenko@mariadb.com> | 2021-05-10 13:36:42 -0600 |
commit | 7c1231a6d59edd319fe8a5f3cb5782fc641d9a0a (patch) | |
tree | 2ed1deff4b9fcf684426f4c038c894cdf51ce80f /man/mysqlshow.1 | |
parent | f8665314d4ba190679001b81bb7d9fd7a38fc0f6 (diff) | |
download | mariadb-git-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/mysqlshow.1')
-rw-r--r-- | man/mysqlshow.1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/man/mysqlshow.1 b/man/mysqlshow.1 index dc8bf3bd041..f20ac9fed63 100644 --- a/man/mysqlshow.1 +++ b/man/mysqlshow.1 @@ -426,6 +426,7 @@ Directory for client-side plugins\&. \fB\-P \fR\fB\fIport_num\fR\fR .sp The TCP/IP port number to use for the connection\&. +Forces --protocol=tcp when specified on the command line without other connection properties\&. .RE .sp .RS 4 @@ -494,6 +495,7 @@ VIEW\&. .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 |