Explorar o código

【开发】【mysql】

1.增加查询变量信息(SSL、数据目录)
ChenYL hai 1 ano
pai
achega
24ca462730
Modificáronse 1 ficheiros con 18 adicións e 0 borrados
  1. 18 0
      开发/mysql指南.md

+ 18 - 0
开发/mysql指南.md

@@ -43,6 +43,24 @@ mysqld --install MySQL --defaults-file="配置文件路径\mysql-lts\current\my.
 
 
 
+### 查询SSL相关配置
+
+```mysql
+SHOW VARIABLES LIKE '%ssl%';
+```
+
+
+
+### 查看数据目录
+
+```mysql
+show variables like 'datadir';
+```
+
+
+
+
+
 ## 参考
 
 * [MySQL中的basedir和datadir的作用](https://blog.csdn.net/wolfalcon/article/details/80528678)