Browse Source

changed location of mysqld.cnf to support Ubuntu 18.04

master
Sebastian Rieger 4 years ago
parent
commit
a2ab32360c
  1. 4
      faafo/contrib/install.sh

4
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

Loading…
Cancel
Save