From 9a28deb6f758e8c47e951971a9c66a384eb0f104 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 26 Aug 2020 14:10:55 +0500 Subject: [PATCH] bug fix: amazon rds --- install/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.py b/install/install.py index 06ee3496a..d8b3fe347 100755 --- a/install/install.py +++ b/install/install.py @@ -443,7 +443,7 @@ class preFlightsChecks: # 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) + command = "sed -i 's|root|%s|g' %s" % (self.mysqluser, path) preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) command = "sed -i 's|'PORT':''|'PORT':'%s'|g' %s" % (self.mysqlport, path)