Yum skip-broken error

I'm trying to install mysql-connector-odbc using yum.
It gives me this error.

  Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Resolving Dependencies
    --> Running transaction check
    ---> Package mysql-connector-odbc.x86_64 0:5.3.6-1.el7 will be installed
    --> Processing Dependency: libodbcinst.so.2()(64bit) for package: mysql-connector-odbc-5.3.6-1.el7.x86_64
    --> Processing Dependency: libodbc.so.2()(64bit) for package: mysql-connector-odbc-5.3.6-1.el7.x86_64
    --> Finished Dependency Resolution
    Error: Package: mysql-connector-odbc-5.3.6-1.el7.x86_64 (mysql-connectors-community)
               Requires: libodbc.so.2()(64bit)
    Error: Package: mysql-connector-odbc-5.3.6-1.el7.x86_64 (mysql-connectors-community)
               Requires: libodbcinst.so.2()(64bit)
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest

So I manually installed unixodbc which contains the required libodbc files and i tried running it with

yum install mysql-connector-odbc --skip-broken

which gives me another error.

 
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Resolving Dependencies
    --> Running transaction check
    ---> Package mysql-connector-odbc.x86_64 0:5.3.6-1.el7 will be installed
    --> Processing Dependency: libodbcinst.so.2()(64bit) for package: mysql-connector-odbc-5.3.6-1.el7.x86_64
    --> Processing Dependency: libodbc.so.2()(64bit) for package: mysql-connector-odbc-5.3.6-1.el7.x86_64
    
    Packages skipped because of dependency problems:
        mysql-connector-odbc-5.3.6-1.el7.x86_64 from mysql-connectors-community

I'm not sure what I'm doing wrong here.

As far as i remember yum is discontiued and replaced by dnf .

bakunin

Yea i guess so. But I've only been using yum so far.