https://blog.csdn.net/caoxiaohong1005/article/details/73611424/
打开终端,输入:/usr/libexec/java_home -V
查看Mysql安装目录:
进入mysql> show variables like "%char%";