yum install unixODBC unixODBC-devel libtool-ltdl libtool-ltdl-devel
uname -r
#根据系统版本去 https://dev.MysqL.com/downloads/connector/odbc/ 查看下载对应版本
wget https://dev.MysqL.com/get/Downloads/Connector-ODBC/8.0/mysql-connector-odbc-8.0.28-1.el7.x86_64.rpm
rpm -ivh mysql-connector-odbc-8.0.28-1.el7.x86_64.rpm
#查看配置信息
cat /etc/odbc.ini