config.inc.php 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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 in the doc/ folder
  8. * or at <https://docs.phpmyadmin.net/>.
  9. *
  10. * @package PhpMyAdmin
  11. */
  12. /**
  13. * This is needed for cookie based authentication to encrypt password in
  14. * cookie. Needs to be 32 chars long.
  15. */
  16. $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
  17. /**
  18. * Servers configuration
  19. */
  20. $i = 0;
  21. /**
  22. * First server
  23. */
  24. $i++;
  25. /* Authentication type */
  26. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  27. /* Server parameters */
  28. $cfg['Servers'][$i]['host'] = 'web-mysql';
  29. $cfg['Servers'][$i]['compress'] = false;
  30. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  31. /**
  32. * phpMyAdmin configuration storage settings.
  33. */
  34. /* User used to manipulate with storage */
  35. // $cfg['Servers'][$i]['controlhost'] = '';
  36. // $cfg['Servers'][$i]['controlport'] = '';
  37. // $cfg['Servers'][$i]['controluser'] = 'pma';
  38. // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
  39. /* Storage database and tables */
  40. // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  41. // $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
  42. // $cfg['Servers'][$i]['relation'] = 'pma__relation';
  43. // $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
  44. // $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
  45. // $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
  46. // $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
  47. // $cfg['Servers'][$i]['history'] = 'pma__history';
  48. // $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
  49. // $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
  50. // $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
  51. // $cfg['Servers'][$i]['recent'] = 'pma__recent';
  52. // $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
  53. // $cfg['Servers'][$i]['users'] = 'pma__users';
  54. // $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
  55. // $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
  56. // $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
  57. // $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
  58. // $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
  59. // $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
  60. /**
  61. * End of servers configuration
  62. */
  63. /**
  64. * Directories for saving/loading files from server
  65. */
  66. $cfg['UploadDir'] = '';
  67. $cfg['SaveDir'] = '';
  68. /**
  69. * Whether to display icons or text or both icons and text in table row
  70. * action segment. Value can be either of 'icons', 'text' or 'both'.
  71. * default = 'both'
  72. */
  73. //$cfg['RowActionType'] = 'icons';
  74. /**
  75. * Defines whether a user should be displayed a "show all (records)"
  76. * button in browse mode or not.
  77. * default = false
  78. */
  79. //$cfg['ShowAll'] = true;
  80. /**
  81. * Number of rows displayed when browsing a result set. If the result
  82. * set contains more rows, "Previous" and "Next".
  83. * Possible values: 25, 50, 100, 250, 500
  84. * default = 25
  85. */
  86. //$cfg['MaxRows'] = 50;
  87. /**
  88. * Disallow editing of binary fields
  89. * valid values are:
  90. * false allow editing
  91. * 'blob' allow editing except for BLOB fields
  92. * 'noblob' disallow editing except for BLOB fields
  93. * 'all' disallow editing
  94. * default = 'blob'
  95. */
  96. //$cfg['ProtectBinary'] = false;
  97. /**
  98. * Default language to use, if not browser-defined or user-defined
  99. * (you find all languages in the locale folder)
  100. * uncomment the desired line:
  101. * default = 'en'
  102. */
  103. //$cfg['DefaultLang'] = 'en';
  104. //$cfg['DefaultLang'] = 'de';
  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. * default = 25
  122. */
  123. //$cfg['QueryHistoryMax'] = 100;
  124. /**
  125. * Whether or not to query the user before sending the error report to
  126. * the phpMyAdmin team when a JavaScript error occurs
  127. *
  128. * Available options
  129. * ('ask' | 'always' | 'never')
  130. * default = 'ask'
  131. */
  132. //$cfg['SendErrorReports'] = 'always';
  133. /**
  134. * 'URLQueryEncryption' defines whether phpMyAdmin will encrypt sensitive data from the URL query string.
  135. * 'URLQueryEncryptionSecretKey' is a 32 bytes long secret key used to encrypt/decrypt the URL query string.
  136. */
  137. //$cfg['URLQueryEncryption'] = true;
  138. //$cfg['URLQueryEncryptionSecretKey'] = '';
  139. /**
  140. * You can find more configuration options in the documentation
  141. * in the doc/ folder or at <https://docs.phpmyadmin.net/>.
  142. */