config.inc.php 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * phpMyAdmin sample configuration, you can use it as base for
  5. * manual configuration. For easier setup you can use setup/
  6. *
  7. * All directives are explained in Documentation.html and on phpMyAdmin
  8. * wiki <http://wiki.phpmyadmin.net>.
  9. *
  10. * @version $Id$
  11. * @package phpMyAdmin
  12. */
  13. /*
  14. * This is needed for cookie based authentication to encrypt password in
  15. * cookie
  16. */
  17. $cfg['blowfish_secret'] = 'BLOWFISHSECRET'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
  18. /*
  19. * Servers configuration
  20. */
  21. $i = 0;
  22. /*
  23. * First server
  24. */
  25. $i++;
  26. /* Authentication type */
  27. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  28. /* Server parameters */
  29. $cfg['Servers'][$i]['host'] = 'localhost';
  30. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  31. $cfg['Servers'][$i]['compress'] = false;
  32. /* Select mysqli if your server has it */
  33. $cfg['Servers'][$i]['extension'] = 'mysqli';
  34. $cfg['Servers'][$i]['AllowNoPassword'] = true;
  35. /* rajk - for blobstreaming */
  36. $cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
  37. $cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
  38. $cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
  39. $cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';
  40. /* User for advanced features */
  41. // $cfg['Servers'][$i]['controluser'] = 'pma';
  42. // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
  43. /* Advanced phpMyAdmin features */
  44. // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  45. // $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
  46. // $cfg['Servers'][$i]['relation'] = 'pma_relation';
  47. // $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
  48. // $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
  49. // $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
  50. // $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
  51. // $cfg['Servers'][$i]['history'] = 'pma_history';
  52. // $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
  53. // $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
  54. /* Contrib / Swekey authentication */
  55. // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
  56. /*
  57. * End of servers configuration
  58. */
  59. /*
  60. * Directories for saving/loading files from server
  61. */
  62. /*
  63. *for phpmyadmin import sql max size
  64. */
  65. $cfg['UploadDir'] = 'upload';
  66. $cfg['SaveDir'] = '';
  67. ?>