方式一:安装方法简单的,需要寻找安装包
链接在此:
mysql-connector-odbc:Index of /232905
rpm -ivh /home/rice/data/unixODBC-2.3.1-14.el7.x86_64.rpm --force --nodeps
//yum install unixODBC unixODBC-devel libtool-ltdl libtool-ltdl-devel
使用命令查看:odbcinst -j
rpm -ivh /home/rice/data/mysql-connector-odbc-5.3.13-1.el7.x86_64.rpm --force --nodeps
//yum install mysql-connector-odbc