summaryrefslogtreecommitdiffstats
path: root/Applications/phpmyadmin/config.inc.php
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2017-07-23 16:25:23 +0200
committerstartxfr <clarue@startx.fr>2017-07-23 16:25:23 +0200
commita0fb843bdcfc7f917438fe76c8bb01db087bd60b (patch)
tree61abebdb2f0981cb4e6518b4d6f784aec69685a2 /Applications/phpmyadmin/config.inc.php
parente69891ce630b7f4d6ea1ee7b2abde0cdf942f6c1 (diff)
downloadphpmyadmin-a0fb843bdcfc7f917438fe76c8bb01db087bd60b.tar.gz
phpmyadmin-a0fb843bdcfc7f917438fe76c8bb01db087bd60b.tar.bz2
phpmyadmin-a0fb843bdcfc7f917438fe76c8bb01db087bd60b.tar.xz
phpmyadmin-a0fb843bdcfc7f917438fe76c8bb01db087bd60b.zip
change in phpmyadmin for openshift
Diffstat (limited to 'Applications/phpmyadmin/config.inc.php')
-rw-r--r--Applications/phpmyadmin/config.inc.php24
1 files changed, 15 insertions, 9 deletions
diff --git a/Applications/phpmyadmin/config.inc.php b/Applications/phpmyadmin/config.inc.php
index 110f2aa..eadbfcf 100644
--- a/Applications/phpmyadmin/config.inc.php
+++ b/Applications/phpmyadmin/config.inc.php
@@ -1,20 +1,20 @@
<?php
-
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* phpMyAdmin sample configuration, you can use it as base for
* manual configuration. For easier setup you can use setup/
*
* All directives are explained in documentation in the doc/ folder
- * or at <http://docs.phpmyadmin.net/>.
+ * or at <https://docs.phpmyadmin.net/>.
*
* @package PhpMyAdmin
*/
+
/**
* This is needed for cookie based authentication to encrypt password in
- * cookie
+ * cookie. Needs to be 32 chars long.
*/
-$cfg['blowfish_secret'] = 'SECRET'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
+$cfg['blowfish_secret'] = 'SECRET^Ù^sdÙq56s,d46?qsd,6q#d7ù6$d465fg4,,f6g;8!sdfs6'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
$cfg['PmaNoRelation_DisableWarning'] = true;
/**
@@ -26,13 +26,15 @@ $i = 0;
* First server
*/
if(getenv('MARIADB_ENV_MYSQL_USER') != '') {
- $i++;
+$i++;
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['host'] = getenv('MARIADB_PORT_3306_TCP_ADDR');
$cfg['Servers'][$i]['port'] = getenv('MARIADB_PORT_3306_TCP_PORT');
$cfg['Servers'][$i]['user'] = getenv('MARIADB_ENV_MYSQL_USER');
$cfg['Servers'][$i]['password'] = getenv('MARIADB_ENV_MYSQL_PASSWORD');
+ $cfg['Servers'][$i]['compress'] = false;
+ $cfg['Servers'][$i]['AllowNoPassword'] = false;
}
if(getenv('MARIADB2_ENV_MYSQL_USER') != '') {
@@ -43,6 +45,8 @@ if(getenv('MARIADB2_ENV_MYSQL_USER') != '') {
$cfg['Servers'][$i]['port'] = getenv('MARIADB2_PORT_3306_TCP_PORT');
$cfg['Servers'][$i]['user'] = getenv('MARIADB2_ENV_MYSQL_USER');
$cfg['Servers'][$i]['password'] = getenv('MARIADB2_ENV_MYSQL_PASSWORD');
+ $cfg['Servers'][$i]['compress'] = false;
+ $cfg['Servers'][$i]['AllowNoPassword'] = false;
}
if(getenv('DB_ENV_MYSQL_USER') != '') {
@@ -53,10 +57,13 @@ if(getenv('DB_ENV_MYSQL_USER') != '') {
$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.
*/
+
/* User used to manipulate with storage */
// $cfg['Servers'][$i]['controlhost'] = '';
// $cfg['Servers'][$i]['controlport'] = '';
@@ -84,12 +91,11 @@ if(getenv('DB_ENV_MYSQL_USER') != '') {
// $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
// $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
// $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
-/* Contrib / Swekey authentication */
-// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
/**
* End of servers configuration
*/
+
/**
* Directories for saving/loading files from server
*/
@@ -172,5 +178,5 @@ $cfg['SaveDir'] = '';
/**
* You can find more configuration options in the documentation
- * in the doc/ folder or at <http://docs.phpmyadmin.net/>.
- */
+ * in the doc/ folder or at <https://docs.phpmyadmin.net/>.
+ */ \ No newline at end of file