The MySQL Yum repository for Oracle Linux, Red Hat Enterprise Linux, CentOS, and Fedora provides Connector/ODBC RPM packages using the MySQL Yum repository. You must have the MySQL Yum repository on your system's repository list (see Adding the MySQL Yum Repository for details). Make sure your Yum repository setup is up-to-date by running:
shell> su root shell> yum update mysql-community-release
You can then install Connector/ODBC by the following command:
shell> yum install mysql-connector-odbc
See Installing Additional MySQL Products and Components with Yum for more details.