summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2018-02-17 10:58:50 +0100
committerstartxfr <clarue@startx.fr>2018-02-17 10:58:50 +0100
commitce6789c80d6f948b2dd5f4c18d2729c5f8c2f6c3 (patch)
treea1879bede2f2a4d8aa6a9acf8f9f7694c485b319
parent2ea6e5f93be2375fb9928693bcdd17fc239e7a3c (diff)
downloadphpmyadmin-ce6789c80d6f948b2dd5f4c18d2729c5f8c2f6c3.tar.gz
phpmyadmin-ce6789c80d6f948b2dd5f4c18d2729c5f8c2f6c3.tar.bz2
phpmyadmin-ce6789c80d6f948b2dd5f4c18d2729c5f8c2f6c3.tar.xz
phpmyadmin-ce6789c80d6f948b2dd5f4c18d2729c5f8c2f6c3.zip
change config
-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.