Documentation Home
The MySQL Test Framework, Version 2.0
Download this Manual
PDF (US Ltr) - 0.5Mb
PDF (A4) - 0.5Mb
EPUB - 130.6Kb


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