summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Applications/phpmyadmin/config.inc.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/Applications/phpmyadmin/config.inc.php b/Applications/phpmyadmin/config.inc.php
index 0c454b8..e332ca3 100644
--- a/Applications/phpmyadmin/config.inc.php
+++ b/Applications/phpmyadmin/config.inc.php
@@ -9,8 +9,7 @@
*
* @package PhpMyAdmin
*/
-phpinfo (INFO_ENVIRONMENT);
-exit;
+
/**
* This is needed for cookie based authentication to encrypt password in
* cookie. Needs to be 32 chars long.
@@ -54,12 +53,10 @@ if(getenv('DB_ENV_MYSQL_USER') != '') {
$i++;
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
- $cfg['Servers'][$i]['host'] = getenv('DB_PORT_3306_TCP_ADDR');
+ $cfg['Servers'][$i]['host'] = getenv('DB_SERVICE_HOST');
$cfg['Servers'][$i]['port'] = getenv('DB_PORT_3306_TCP_PORT');
$cfg['Servers'][$i]['user'] = getenv('DB_ENV_MYSQL_USER');
$cfg['Servers'][$i]['password'] = getenv('DB_ENV_MYSQL_PASSWORD');
- $cfg['Servers'][$i]['compress'] = false;
- $cfg['Servers'][$i]['AllowNoPassword'] = false;
}
/**
* phpMyAdmin configuration storage settings.