changed location of mysqld.cnf to support Ubuntu 18.04
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user