summaryrefslogtreecommitdiffstats
path: root/Applications/phpmyadmin
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/phpmyadmin')
-rw-r--r--Applications/phpmyadmin/config.inc.php12
-rw-r--r--Applications/phpmyadmin/docker-compose-demo.yml2
2 files changed, 7 insertions, 7 deletions
diff --git a/Applications/phpmyadmin/config.inc.php b/Applications/phpmyadmin/config.inc.php
index 6d46fcc..2c2f991 100644
--- a/Applications/phpmyadmin/config.inc.php
+++ b/Applications/phpmyadmin/config.inc.php
@@ -25,21 +25,21 @@ $i = 0;
/**
* First server
*/
-if(getenv('DB_ENV_MYSQL_USER') != '') {
+if(getenv('MARIADB_ENV_MYSQL_USER') != '') {
$i++;
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['host'] = 'db';
$cfg['Servers'][$i]['controlhost'] = '';
- $cfg['Servers'][$i]['controluser'] = getenv('DB_ENV_MYSQL_USER');
- $cfg['Servers'][$i]['controlpass'] = getenv('DB_ENV_MYSQL_PASSWORD');
+ $cfg['Servers'][$i]['controluser'] = getenv('MARIADB_ENV_MYSQL_USER');
+ $cfg['Servers'][$i]['controlpass'] = getenv('MARIADB_ENV_MYSQL_PASSWORD');
}
-if(getenv('DB2_ENV_MYSQL_USER') != '') {
+if(getenv('MARIADB2_ENV_MYSQL_USER') != '') {
$i++;
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['host'] = 'db2';
$cfg['Servers'][$i]['controlhost'] = '';
- $cfg['Servers'][$i]['controluser'] = getenv('DB2_ENV_MYSQL_USER');
- $cfg['Servers'][$i]['controlpass'] = getenv('DB2_ENV_MYSQL_PASSWORD');
+ $cfg['Servers'][$i]['controluser'] = getenv('MARIADB2_ENV_MYSQL_USER');
+ $cfg['Servers'][$i]['controlpass'] = getenv('MARIADB2_ENV_MYSQL_PASSWORD');
}
/**
* phpMyAdmin configuration storage settings.
diff --git a/Applications/phpmyadmin/docker-compose-demo.yml b/Applications/phpmyadmin/docker-compose-demo.yml
index 8ba0c2c..ee816e7 100644
--- a/Applications/phpmyadmin/docker-compose-demo.yml
+++ b/Applications/phpmyadmin/docker-compose-demo.yml
@@ -4,7 +4,7 @@ demo_pma:
ports:
- "81:80"
links:
- - demo_pma_db:db
+ - demo_pma_db:mariadb
environment:
CONTAINER_TYPE: "application"
CONTAINER_SERVICE: "phpmyadmin"