blob: 27dce5246852be2dc38f74364f59d1c7b1cd5e60 (
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
SHOW STATUS LIKE 'Ssl_cipher';
Variable_name Value
Ssl_cipher DHE-RSA-AES256-SHA
SELECT SLEEP(600);
ERROR HY000: Lost connection to MySQL server during query
connection default;
disconnect ssl_con;
|