/usr/bin/mysql_client_test Ver 9.4.0-1 for Linux on x86_64 (Source distribution)
Copyright (c) 2009-2025 Percona LLC and/or its affiliates
Copyright (c) 2002, 2025, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Usage: /usr/bin/mysql_client_test [OPTIONS] [TESTNAME1 TESTNAME2...]
-b, --basedir=name Basedir for tests.
-t, --count=# Number of times test to be executed
-D, --database=name Database to use
-d, --do-not-drop-database
Do not drop database while disconnecting
-#, --debug[=name] Output debug log
-?, --help Display this help and exit
-h, --host=name Connect to host
-p, --password[=name]
Password to use when connecting to server. If password is
not given it's asked from the tty.
-P, --port=# Port number to use for connection or 0 for default to, in
order of preference, my.cnf, $MYSQL_TCP_PORT,
/etc/services, built-in default (3306).
-T, --show-tests Show all tests' names
-s, --silent Be more silent
-S, --socket=name Socket file to use for connection
-c, --testcase May disable some code when runs as mysql-test-run
testcase.
-u, --user=name User for login if not current user
-v, --vardir=name Data dir for tests.
-g, --getopt-ll-test=#
Option for testing bug in getopt library
--plugin-dir=name Directory for client-side plugins.
--default-auth=name Default authentication client-side plugin to use.
Default options are read from the following files in the given order:
/etc/mysql/my.cnf /etc/my.cnf ~/.my.cnf
The following groups are read: client
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit.
--no-defaults Don't read default options from any option file,
except for login file.
--defaults-file=# Only read default options from the given file #.
--defaults-extra-file=# Read this file after the global files are read.
--defaults-group-suffix=#
Also read groups with concat(group, suffix)
--login-path=# Read this path from the login file.
--no-login-paths Don't read login paths from the login path file.
Variables (--variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options)
--------------------------------- ----------------------------------------
basedir ./
count 1
database (No default value)
debug d:t:o,/tmp/mysql_client_test.trace
host (No default value)
port 0
socket (No default value)
user (No default value)
vardir mysql-test/var
getopt-ll-test 0
plugin-dir (No default value)
default-auth (No default value)
Options (22)
| Option | Description | Source |
|---|
-b, --basedir name | Basedir for tests. | help |
-t, --count # | Number of times test to be executed | help |
-d, --do-not-drop-database | Do not drop database while disconnecting | help |
-#, --debug name | Output debug log | help |
-?, --help | Display this help and exit | help |
-h, --host name | Connect to host | help |
-p, --password name | Password to use when connecting to server. | help |
-P, --port # | Port number to use for connection or 0 for default to, in order of preference, my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default (3306). | help |
-T, --show-tests | Show all tests' names | help |
-s, --silent | Be more silent | help |
-S, --socket name | Socket file to use for connection | help |
-c, --testcase | May disable some code when runs as mysql-test-run testcase. | help |
-u, --user name | User for login if not current user | help |
-v, --vardir name | Data dir for tests. | help |
-g, --getopt-ll-test # | Option for testing bug in getopt library | help |
--plugin-dir name | Directory for client-side plugins. | help |
--print-defaults | Print the program argument list and exit. | help |
--no-defaults | Don't read default options from any option file, except for login file. | help |
--defaults-file # | Only read default options from the given file #. | help |
--defaults-group-suffix # | Also read groups with concat(group, suffix) | help |
--login-path # | Read this path from the login file. | help |
--no-login-paths | Don't read login paths from the login path file. | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.