Skip to content
Snippets Groups Projects
Commit a2ab3236 authored by Sebastian Rieger's avatar Sebastian Rieger
Browse files

changed location of mysqld.cnf to support Ubuntu 18.04

parent 39c00f84
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment