MYSQL_CLIENT_TEST(1) MySQL Database System MYSQL_CLIENT_TEST(1)

2
3
4

NAME

6       mysql_client_test - test client API
7       mysql_client_test_embedded - test client API for embedded server
8

SYNOPSIS

10       mysql_client_test [options] [test_name] ...
11
12       mysql_client_test_embedded [options] [test_name] ...
13

DESCRIPTION

15       The mysql_client_test program is used for testing aspects of the MySQL
16       client API that cannot be tested using mysqltest and its test language.
17       mysql_client_test_embedded is similar but used for testing the embedded
18       server. Both programs are run as part of the test suite.
19
20       The source code for the programs can be found in in
21       test/mysql_client_test.c in a source distribution. The program serves
22       as a good source of examples illustrating how to use various features
23       of the client API.
24
25       mysql_client_test supports the following options:
26
27       ·  --help, -?
28
29          Display a help message and exit.
30
31       ·  -b dir_name, --basedir=dir_name
32
33          The base directory for the tests.
34
35       ·  -t count, --count=count
36
37          The number of times to execute the tests.
38
39       ·  --database=db_name, -D db_name
40
41          The database to use.
42
43       ·  --debug[=debug_options], -#[debug_options]
44
45          Write a debugging log if MySQL is built with debugging support. The
46          default debug_options value is ´d:t:o,/tmp/mysql_client_test.trace'.
47
48       ·  -g option, --getopt-ll-test=option
49
50          Option to use for testing bugs in the getopt library.
51
52       ·  --host=host_name, -h host_name
53
54          Connect to the MySQL server on the given host.
55
56       ·  --password[=password], -p[password]
57
58          The password to use when connecting to the server. If you use the
59          short option form (-p), you cannot have a space between the option
60          and the password. If you omit the password value following the
61          --password or -p option on the command line, you are prompted for
62          one.
63
64       ·  --port=port_num, -P port_num
65
66          The TCP/IP port number to use for the connection.
67
68       ·  -A arg, --server-arg=arg
69
70          Argument to send to the embedded server.
71
72       ·  -T, --show-tests
73
74          Show all test names.
75
76       ·  --silent, -s
77
78          Be more silent.
79
80       ·  --socket=path, -S path
81
82          The socket file to use when connecting to localhost (which is the
83          default host).
84
85       ·  -c, --testcase
86
87          The option may disable some code when run as a mysql-test-run.pl
88          test case.
89
90       ·  --user=user_name, -u user_name
91
92          The MySQL username to use when connecting to the server.
93
94       ·  -v dir_name, --vardir=dir_name
95
96          The data directory for tests. The default is mysql-test/var.
97
99       Copyright 2006-2007 MySQL AB
100
101       This documentation is NOT distributed under a GPL license. Use of this
102       documentation is subject to the following terms: You may create a
103       printed copy of this documentation solely for your own personal use.
104       Conversion to other formats is allowed as long as the actual content is
105       not altered or edited in any way. You shall not publish or distribute
106       this documentation in any form or on any media, except if you
107       distribute the documentation in a manner similar to how MySQL
108       disseminates it (that is, electronically for download on a Web site
109       with the software) or on a CD-ROM or similar medium, provided however
110       that the documentation is disseminated together with the software on
111       the same medium. Any other use, such as any dissemination of printed
112       copies or use of this documentation, in whole or in part, in another
113       publication, requires the prior written consent from an authorized
114       representative of MySQL AB. MySQL AB reserves any and all rights to
115       this documentation not expressly granted above.
116
117       Please email <docs@mysql.com> for more information or if you are
118       interested in doing a translation.
119

SEE ALSO

121       For more information, please refer to the MySQL Reference Manual, which
122       may already be installed locally and which is also available online at
123       http://dev.mysql.com/doc/.
124

AUTHOR

126       MySQL AB (http://www.mysql.com/).  This software comes with no
127       warranty.
128
129
130

MySQL 06/19/2007 MYSQL_CLIENT_TEST(1)



        
Impressum