Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Fix mysql client and server installation for CentOS 7#341

Open
ljay79 wants to merge 1 commit into
aws:release-chef-11.10from
ljay79:fix-mysql-centos7
Open

Fix mysql client and server installation for CentOS 7#341
ljay79 wants to merge 1 commit into
aws:release-chef-11.10from
ljay79:fix-mysql-centos7

Conversation

@ljay79

@ljay79 ljay79 commented Oct 14, 2015

Copy link
Copy Markdown

Running these cookbooks on a local vm CentOS 7 instances fails.
mysql::client_install fails when trying to install the package "mysql55_client" which is not available on a standard CentOS 7 installation. The correct package together with "mariadb-devel" is "mariadb".

Similar issues regarding mariadb-server and init.d scripts as well as some minor path issues occur for the mysql::server recipie on CentOS7.

@ljay79

ljay79 commented Oct 22, 2015

Copy link
Copy Markdown
Author

This "fix" is not proper.
After a reboot of the system, it will not recreate the /var/run/mysqld folder instead it keeps creating the original /var/run/mariadb folder.
I found a way of changing it in SELinux file context manager, however, i cant provide a proper recipe implementation yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant