mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			375 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			375 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# 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;
 |