From a2ab32360c4ec270edcda37c67b70cdecdb1623b Mon Sep 17 00:00:00 2001 From: Sebastian Rieger Date: Tue, 21 Apr 2020 23:55:53 +0200 Subject: [PATCH] changed location of mysqld.cnf to support Ubuntu 18.04 --- faafo/contrib/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/faafo/contrib/install.sh b/faafo/contrib/install.sh index 39d7e08..8c9f348 100644 --- a/faafo/contrib/install.sh +++ b/faafo/contrib/install.sh @@ -84,7 +84,9 @@ if [[ -e /etc/os-release ]]; then if [[ $INSTALL_DATABASE -eq 1 ]]; then if [[ $ID = 'ubuntu' || $ID = 'debian' ]]; then sudo DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-server python-mysqldb - sudo sed -i -e "/bind-address/d" /etc/mysql/my.cnf + # HSFD changes for Ubuntu 18.04 + sudo sed -i -e "/bind-address/d" /etc/mysql/mysql.conf.d/mysqld.cnf + #sudo sed -i -e "/bind-address/d" /etc/mysql/my.cnf sudo service mysql restart elif [[ $ID = 'fedora' ]]; then sudo dnf install -y mariadb-server python-mysql