phpmyadmin-config.inc.php 514 B

123456789101112131415161718
  1. <?php
  2. $i = 0;
  3. $i++;
  4. $cfg['Servers'][$i]['auth_type'] = 'config';
  5. /* Server parameters */
  6. $cfg['Servers'][$i]['host'] = getenv("MYSQL_HOST");
  7. $cfg['Servers'][$i]['port'] = getenv("MYSQL_PORT");
  8. $cfg['Servers'][$i]['user'] = getenv("MYSQL_USERNAME");
  9. $cfg['Servers'][$i]['password'] = getenv("MYSQL_PASSWORD");
  10. $cfg['Servers'][$i]['only_db'] = array(getenv("MYSQL_DATABASE"));
  11. $cfg['Servers'][$i]['compress'] = false;
  12. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  13. $cfg['UploadDir'] = '';
  14. $cfg['SaveDir'] = '';