summaryrefslogtreecommitdiff
path: root/mysql-test/main/ssl_timeout.result
blob: 3c94a9927dac124ea1d1f2e29130e5fbd047bcc5 (plain)
1
2
3
4
5
6
7
8
9
10
# connect with read timeout so SLEEP() should timeout
connect  ssl_con,localhost,root,,,,,SSL read_timeout=5;
# Check ssl turned on
SELECT (VARIABLE_VALUE <> '') AS have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher';
have_ssl
1
SELECT SLEEP(600);
ERROR HY000: Lost connection to MySQL server during query
connection default;
disconnect ssl_con;