Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 7 Does Not Include MySQL #8

Open
mstarks01 opened this issue Apr 3, 2015 · 2 comments
Open

CentOS 7 Does Not Include MySQL #8

mstarks01 opened this issue Apr 3, 2015 · 2 comments

Comments

@mstarks01
Copy link

CentOS 7 uses mariadb, so the install.sh stuff depending on MySQL will fail. Some notes in case anyone wants to run with this before I get a chance:

-Add detection for CentOS 7 maybe by looking for /etc/os-release (don't solely trust the existence of redhat-release anymore. It's now a link to os-release.
-Replace the "yum -yq install mysql-server mysql-libs mysql-devel" lines with "yum -yq install mariadb-server mariadb-libs mariadb-devel"
-systemctl is now used in place of service, so something like /bin/systemctl start mariadb.service is needed.

@mcholste
Copy link
Owner

Is /etc/os-release only for centos? And the "service" command is completely non-existent now, so it must be /bin/systemctl?

@mstarks01
Copy link
Author

Sorry for the late response. It got filtered on my client. os-releaase is also for other distros. Yes, /bin/systemctl is now used for CentOS 7, but for the time being service still works as a link to systemctl. I imagine that will be deprecated someday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants