Documentation Home
The MySQL Test Framework, Version 1.0
Download this Manual
PDF (US Ltr) - 443.9Kb
PDF (A4) - 445.6Kb
EPUB - 101.9Kb


2.2 The Test Framework and SSL

When mysql-test-run.pl starts, it checks whether mysqld supports SSL connections:

  • If mysqld supports SSL, mysql-test-run.pl starts it with the proper --ssl-xxx options that enable it to accept SSL connections for those test cases that require secure connections (those with ssl in their name). As mysql-test-run.pl runs test cases, a secure connection to mysqld is initiated for those cases that require one. For those test cases that do not require SSL, an unencrypted connection is initiated.

  • If mysqld does not support SSL, mysql-test-run.pl skips those test cases that require secure connections.

If mysql-test-run.pl is started with the --ssl option, it sets up a secure connection for all test cases. In this case, if mysqld does not support SSL, mysql-test-run.pl exits with an error message: Couldn't find support for SSL

For mysql-test-run (the shell version), the --with-openssl option corresponds to the --ssl option for mysql-test-run.pl.


Download this Manual
PDF (US Ltr) - 443.9Kb
PDF (A4) - 445.6Kb
EPUB - 101.9Kb