Skip to content

Commit 2509c79

Browse files
committed
bug fix: cater remote db during staging deployment
1 parent 444fbce commit 2509c79

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

plogical/applicationInstaller.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,6 @@ def DeployWordPress(self):
13771377
wm.submitWebsiteDeletion(1, self.extraArgs)
13781378
logging.statusWriter(self.extraArgs['tempStatusPath'], '%s [404].' % (str(msg)))
13791379

1380-
13811380
def installWhmcs(self):
13821381
try:
13831382

websiteFunctions/StagingSetup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def startCloning(self):
9898

9999
dbNameRestore, dbUser, dbPassword = ApplicationInstaller(None, None).dbCreation(tempStatusPath, website)
100100

101-
command = 'wp core config --dbname=%s --dbuser=%s --dbpass=%s --path=%s' % (dbNameRestore, dbUser, dbPassword, path)
101+
command = 'wp core config --dbname=%s --dbuser=%s --dbpass=%s --dbhost=%s --path=%s' % (dbNameRestore, dbUser, dbPassword, ApplicationInstaller.LOCALHOST, path)
102102
ProcessUtilities.executioner(command, website.externalApp)
103103

104104
## Exporting and importing database

0 commit comments

Comments
 (0)