config.inc.conf 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. * @package phpMyAdmin
  11. */
  12. /*
  13. * This is needed for cookie based authentication to encrypt password in
  14. * cookie
  15. */
  16. $cfg['blowfish_secret'] = '%blowfish_secret%'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
  17. /*
  18. * Temp dir for faster beahivour
  19. *
  20. */
  21. $cfg['TempDir'] = '/tmp';
  22. /*
  23. * Servers configuration
  24. */
  25. $i = 0;
  26. /*
  27. * First server
  28. */
  29. $i++;
  30. /* Authentication type */
  31. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  32. /* Server parameters */
  33. $cfg['Servers'][$i]['host'] = 'localhost';
  34. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  35. $cfg['Servers'][$i]['compress'] = false;
  36. /* Select mysqli if your server has it */
  37. $cfg['Servers'][$i]['extension'] = 'mysql';
  38. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  39. /*
  40. * phpMyAdmin configuration storage settings.
  41. */
  42. /* User used to manipulate with storage */
  43. // $cfg['Servers'][$i]['controluser'] = 'pma';
  44. // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
  45. /* Storage database and tables */
  46. // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  47. // $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
  48. // $cfg['Servers'][$i]['relation'] = 'pma_relation';
  49. // $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
  50. // $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
  51. // $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
  52. // $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
  53. // $cfg['Servers'][$i]['history'] = 'pma_history';
  54. // $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
  55. // $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
  56. // $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
  57. /* Contrib / Swekey authentication */
  58. // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
  59. /*
  60. * End of servers configuration
  61. */
  62. /*
  63. * Directories for saving/loading files from server
  64. */
  65. $cfg['UploadDir'] = '';
  66. $cfg['SaveDir'] = '';
  67. /**
  68. * Defines whether a user should be displayed a "show all (records)"
  69. * button in browse mode or not.
  70. * default = false
  71. */
  72. //$cfg['ShowAll'] = true;
  73. /**
  74. * Number of rows displayed when browsing a result set. If the result
  75. * set contains more rows, "Previous" and "Next".
  76. * default = 30
  77. */
  78. //$cfg['MaxRows'] = 50;
  79. /**
  80. * Use graphically less intense menu tabs
  81. * default = false
  82. */
  83. //$cfg['LightTabs'] = true;
  84. /**
  85. * disallow editing of binary fields
  86. * valid values are:
  87. * false allow editing
  88. * 'blob' allow editing except for BLOB fields
  89. * 'all' disallow editing
  90. * default = blob
  91. */
  92. //$cfg['ProtectBinary'] = 'false';
  93. /**
  94. * Default language to use, if not browser-defined or user-defined
  95. * (you find all languages in the locale folder)
  96. * uncomment the desired line:
  97. * default = 'en'
  98. */
  99. //$cfg['DefaultLang'] = 'en';
  100. //$cfg['DefaultLang'] = 'de';
  101. /**
  102. * default display direction (horizontal|vertical|horizontalflipped)
  103. */
  104. //$cfg['DefaultDisplay'] = 'vertical';
  105. /**
  106. * How many columns should be used for table display of a database?
  107. * (a value larger than 1 results in some information being hidden)
  108. * default = 1
  109. */
  110. //$cfg['PropertiesNumColumns'] = 2;
  111. /**
  112. * Set to true if you want DB-based query history.If false, this utilizes
  113. * JS-routines to display query history (lost by window close)
  114. *
  115. * This requires configuration storage enabled, see above.
  116. * default = false
  117. */
  118. //$cfg['QueryHistoryDB'] = true;
  119. /**
  120. * When using DB-based query history, how many entries should be kept?
  121. *
  122. * default = 25
  123. */
  124. //$cfg['QueryHistoryMax'] = 100;
  125. /*
  126. * You can find more configuration options in Documentation.html
  127. * or here: http://wiki.phpmyadmin.net/pma/Config
  128. */
  129. ?>