1. [root@test-dacs-ap01 yum.repos.d]# cat mysql-community.repo
    2. [mysql-connectors-community]
    3. name=MySQL Connectors Community
    4. baseurl=http://repo.mysql.com/yum/mysql-connectors-community/el/7/$basearch/
    5. enabled=1
    6. gpgcheck=1
    7. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    8. [mysql-tools-community]
    9. name=MySQL Tools Community
    10. baseurl=http://repo.mysql.com/yum/mysql-tools-community/el/7/$basearch/
    11. enabled=1
    12. gpgcheck=1
    13. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    14. # Enable to use MySQL 5.5
    15. [mysql55-community]
    16. name=MySQL 5.5 Community Server
    17. baseurl=http://repo.mysql.com/yum/mysql-5.5-community/el/7/$basearch/
    18. enabled=0
    19. gpgcheck=1
    20. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    21. # Enable to use MySQL 5.6
    22. [mysql56-community]
    23. name=MySQL 5.6 Community Server
    24. baseurl=http://repo.mysql.com/yum/mysql-5.6-community/el/7/$basearch/
    25. enabled=0
    26. gpgcheck=1
    27. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    28. [mysql57-community]
    29. name=MySQL 5.7 Community Server
    30. baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/7/$basearch/
    31. enabled=1
    32. gpgcheck=1
    33. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    34. [mysql80-community]
    35. name=MySQL 8.0 Community Server
    36. baseurl=http://repo.mysql.com/yum/mysql-8.0-community/el/7/$basearch/
    37. enabled=0
    38. gpgcheck=1
    39. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    40. [mysql-tools-preview]
    41. name=MySQL Tools Preview
    42. baseurl=http://repo.mysql.com/yum/mysql-tools-preview/el/7/$basearch/
    43. enabled=0
    44. gpgcheck=1
    45. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    46. [mysql-cluster-7.5-community]
    47. name=MySQL Cluster 7.5 Community
    48. baseurl=http://repo.mysql.com/yum/mysql-cluster-7.5-community/el/7/$basearch/
    49. enabled=0
    50. gpgcheck=1
    51. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    52. [mysql-cluster-7.6-community]
    53. name=MySQL Cluster 7.6 Community
    54. baseurl=http://repo.mysql.com/yum/mysql-cluster-7.6-community/el/7/$basearch/
    55. enabled=0
    56. gpgcheck=1
    57. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    58. [root@test-dacs-ap01 yum.repos.d]#