elsa icon indicating copy to clipboard operation
elsa copied to clipboard

CentOS 7 Does Not Include MySQL

Open mstarks01 opened this issue 10 years ago • 2 comments

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.

mstarks01 avatar Apr 03 '15 18:04 mstarks01

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

mcholste avatar Apr 10 '15 02:04 mcholste

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.

mstarks01 avatar Apr 17 '15 02:04 mstarks01