Browse Source

Fix phpmyadmin for remote mysql connection

hotfix/v3.3.14
Prabuddha Chakraborty 9 years ago
parent
commit
5a6be9da22
  1. 8
      ee/cli/plugins/stack.py

8
ee/cli/plugins/stack.py

@ -1131,6 +1131,14 @@ class EEStackController(CementBaseController):
.format(EEVariables.ee_webroot),
"$cfg[\'blowfish_secret\'] = \'\';","$cfg[\'blowfish_secret\'] = \'{0}\';"
.format(blowfish_key))
Log.debug(self, 'Setting HOST Server For Remote Mysql to '
'{0}22222/htdocs/db/pma/config.inc.php file '
.format(EEVariables.ee_webroot))
EEFileUtils.searchreplace(self,
'{0}22222/htdocs/db/pma/config.inc.php'
.format(EEVariables.ee_webroot),
"$cfg[\'Servers\'][$i][\'host\'] = \'localhost\';","$cfg[\'Servers\'][$i][\'host\'] = \'{0}\';"
.format(EEVariables.ee_mysql_host))
Log.debug(self, 'Setting Privileges of webroot permission to '
'{0}22222/htdocs/db/pma file '
.format(EEVariables.ee_webroot))

Loading…
Cancel
Save