diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 096dce30..2812e61e 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -218,7 +218,7 @@ def setupwordpress(self, data): "\n\ndefine(\'WP_DEBUG\', false);")) EEShellExec.cmd_exec(self, "bash -c \"php /usr/bin/wp --allow-root " + "core config " - + "--dbname={0} --dbprefix={1} --dbhost={3} " + + "--dbname={0} --dbprefix={1} --dbhost={2} " .format(data['ee_db_name'], ee_wp_prefix, data['ee_db_host']) + "--dbuser={0} --dbpass={1} " "--extra-php<