The yum-mysql-community cookbook configures Oracle MySQL Community Yum repositories with a custom resource API.
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you'd like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
- AlmaLinux 8+
- CentOS Stream 9+
- Fedora
- Oracle Linux 8+
- Red Hat Enterprise Linux 8+
- Rocky Linux 8+
See AGENTS.md for vendor support details and unsupported legacy MySQL series.
- Chef 15.3+
yum7.2.0+ for thednf_moduleresource
Configure the default MySQL 8.4 LTS repositories:
yum_mysql_community_repo 'mysql community repo'Configure MySQL 8.0 repositories:
yum_mysql_community_repo 'mysql community 8.0 repo' do
version '8.0'
endConfigure only the connectors repository:
yum_mysql_community_repo 'mysql connectors repo' do
mysql_community_server false
mysql_connectors_community true
mysql_tools_community false
mysql_tools_preview false
mysql_cluster_community false
endPoint the server repository at an internally hosted mirror:
yum_mysql_community_repo 'internal mysql repo' do
mysql_community_server_baseurl 'https://internal.example.com/mysql/mysql-8.4-community/'
gpgkey 'https://internal.example.com/mysql/RPM-GPG-KEY-mysql'
endThis cookbook no longer provides recipes or node attributes. See migration.md for the breaking changes and replacement resource examples.
This project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.