CentOS安装ODBC

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
posted @ 2022-03-08 15:24  kylinmac  阅读(558)  评论(0编辑  收藏  举报