mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-9293 - Use MariaDB's Connector/C in server
This commit is contained in:
committed by
Sergei Golubchik
parent
31a8cf54c8
commit
56c4cfe0be
@ -1,9 +1,9 @@
|
||||
# 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 (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;
|
||||
|
Reference in New Issue
Block a user