Home  >  Article  >  Database  >  MySQL检查运行的mysqld服务器是否支持OpenSSL_MySQL

MySQL检查运行的mysqld服务器是否支持OpenSSL_MySQL

WBOY
WBOYOriginal
2016-06-01 12:58:361177browse

1、问题背景

在MySQL服务器和客户端之间使用SSL连接,需要判断系统是否支持OpenSSL,如何查看是否支持OpenSSL

 

2、解决方案

利用MySQL自带的命令执行查询

 

SHOW VARIABLES LIKE
  'have_openssl';

3、执行结果

 

\

如果Value为“Yes”才支持OpenSSL,但是查询结果为“DISABLED”,表示不支持OpenSSL

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn