【练习】安全

1.在mysql客户机中,检查mysql 服务器是否支持ssl;这通过显示have_ssl 系统变量的值来实现。

mysql> show variables like 'have_ssl';
+---------------+----------+
| Variable_name | Value    |
+---------------+----------+
| have_ssl      | DISABLED |
+---------------+----------+
1 row in set (0.00 sec)

2.检查当前服务器连接是否使用了ssl;这通过检查ssl_cipher状态变量的值来实现。

mysql> show status like 'ssl_cipher';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| Ssl_cipher    |       |
+---------------+-------+
1 row in set (0.00 sec)
原文地址:https://www.cnblogs.com/tomatoes-/p/6031573.html