From 19c89e9924408f68bcc6101d24f8caf76bcab390 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 5 Jul 2020 19:07:12 +0500 Subject: [PATCH] bug fix: remote mysql install --- install/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.py b/install/install.py index 44acc1c35..3b0c88e51 100755 --- a/install/install.py +++ b/install/install.py @@ -440,7 +440,7 @@ class preFlightsChecks: command = "sed -i 's|localhost|%s|g' %s" % (self.mysqlhost, path) preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) - command = "sed -i 's|mysql|%s|g' %s" % (self.mysqldb, path) + command = "sed -i 's|'mysql'|'%s'|g' %s" % (self.mysqldb, path) preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) command = "sed -i 's|'USER': 'root',|'USER': '%s',|g' %s" % (self.mysqluser, path)