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

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

WBOY
Release: 2016-06-01 12:58:36
Original
1244 people have browsed it

1、问题背景

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

 

2、解决方案

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

 

SHOW VARIABLES LIKE
  'have_openssl';
Copy after login

3、执行结果

 

\

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template