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:
$> su root $> yum update mysql-community-release
You can then install Connector/ODBC by the following command:
$> yum install mysql-connector-odbc
See Installing Additional MySQL Products and Components with Yum for more details.