MySQL have_ssl

1、MySQL 5.7默认

mysql> show variables like ‘%ssl%‘;
+---------------+----------+
| Variable_name | Value |
+---------------+----------+
| have_openssl | DISABLED |
| have_ssl | DISABLED |
| ssl_ca | |
| ssl_capath | |
| ssl_cert | |
| ssl_cipher | |
| ssl_crl | |
| ssl_crlpath | |
| ssl_key | |
+---------------+----------+
9 rows in set (0.04 sec)

2、MySQL 8.0默认

MySQL have_ssl

.pem文件都是和安全相关的文件,mysql 8.0安全有很大的增强,但是实际我们平日很少用。
MySQL have_ssl

3、have_ssl和have_openssl关系
have_openssl
This variable is an alias for have_ssl.

相关推荐