mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
16 lines
442 B
Text
16 lines
442 B
Text
|
-- source include/have_ssl_communication.inc
|
||
|
CREATE TABLE t1 (t int(1));
|
||
|
SET GLOBAL require_secure_transport=ON;
|
||
|
--disable_query_log
|
||
|
--error ER_ACCESS_DENIED_ERROR
|
||
|
connect without_ssl,localhost,root,,,,,TCP NOSSL;
|
||
|
--enable_query_log
|
||
|
connection default;
|
||
|
SET GLOBAL require_secure_transport=OFF;
|
||
|
--disable_query_log
|
||
|
connect without_ssl,localhost,root,,,,,TCP NOSSL;
|
||
|
--enable_query_log
|
||
|
disconnect without_ssl;
|
||
|
connection default;
|
||
|
DROP TABLE t1;
|