mysql_client_test - Man Page


mariadb-client-test — test client API (mysql_client_test is now a symlink to mariadb-client-test)
mariadb-client-test-embedded — test client API for embedded server (mysql_client_test_embedded is now a symlink to mariadb-client-test-embedded)


mysql_client_test [options] [test_name] ...

mysql_client_test_embedded [options] [test_name] ...


The mysql_client_test program is used for testing aspects of the MariaDB client API that cannot be tested using mysqltest and its test language. mysql_client_test_embedded is similar but used for testing the embedded server. Both programs are run as part of the test suite.

The source code for the programs can be found in in tests/mysql_client_test.c in a source distribution. The program serves as a good source of examples illustrating how to use various features of the client API.

mysql_client_test is used in a test by the same name in the main tests suite of but may also be run directly. Unlike the other programs listed here, it does not read an external description of what tests to run. Instead, all tests are coded into the program, which is written to cover all aspects of the C language API.

mysql_client_test supports the following options:

See Also

For more information, please refer to the MariaDB Knowledge Base, available online at


MariaDB Foundation (

Referenced By

The man pages mariadb-client-test(1), mariadb-client-test-embedded(1) and mysql_client_test_embedded(1) are aliases of mysql_client_test(1).

27 June 2019 MariaDB 10.5 MariaDB Database System