config.inc.php 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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
  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'] = 'dbapi';
  29. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  30. $cfg['Servers'][$i]['compress'] = false;
  31. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  32. $i++;
  33. /* Authentication type */
  34. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  35. /* Server parameters */
  36. $cfg['Servers'][$i]['host'] = 'dblord';
  37. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  38. $cfg['Servers'][$i]['compress'] = false;
  39. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  40. $i++;
  41. /* Authentication type */
  42. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  43. /* Server parameters */
  44. $cfg['Servers'][$i]['host'] = 'dbmaster';
  45. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  46. $cfg['Servers'][$i]['compress'] = false;
  47. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  48. /**
  49. * phpMyAdmin configuration storage settings.
  50. */
  51. /* User used to manipulate with storage */
  52. // $cfg['Servers'][$i]['controlhost'] = '';
  53. // $cfg['Servers'][$i]['controlport'] = '';
  54. // $cfg['Servers'][$i]['controluser'] = 'pma';
  55. // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
  56. /* Storage database and tables */
  57. // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  58. // $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
  59. // $cfg['Servers'][$i]['relation'] = 'pma__relation';
  60. // $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
  61. // $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
  62. // $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
  63. // $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
  64. // $cfg['Servers'][$i]['history'] = 'pma__history';
  65. // $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
  66. // $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
  67. // $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
  68. // $cfg['Servers'][$i]['recent'] = 'pma__recent';
  69. // $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
  70. // $cfg['Servers'][$i]['users'] = 'pma__users';
  71. // $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
  72. // $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
  73. // $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
  74. // $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
  75. // $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
  76. // $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
  77. /* Contrib / Swekey authentication */
  78. // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
  79. /**
  80. * End of servers configuration
  81. */
  82. /**
  83. * Directories for saving/loading files from server
  84. */
  85. $cfg['UploadDir'] = '';
  86. $cfg['SaveDir'] = '';
  87. /**
  88. * Whether to display icons or text or both icons and text in table row
  89. * action segment. Value can be either of 'icons', 'text' or 'both'.
  90. * default = 'both'
  91. */
  92. //$cfg['RowActionType'] = 'icons';
  93. /**
  94. * Defines whether a user should be displayed a "show all (records)"
  95. * button in browse mode or not.
  96. * default = false
  97. */
  98. //$cfg['ShowAll'] = true;
  99. /**
  100. * Number of rows displayed when browsing a result set. If the result
  101. * set contains more rows, "Previous" and "Next".
  102. * Possible values: 25, 50, 100, 250, 500
  103. * default = 25
  104. */
  105. //$cfg['MaxRows'] = 50;
  106. /**
  107. * Disallow editing of binary fields
  108. * valid values are:
  109. * false allow editing
  110. * 'blob' allow editing except for BLOB fields
  111. * 'noblob' disallow editing except for BLOB fields
  112. * 'all' disallow editing
  113. * default = 'blob'
  114. */
  115. //$cfg['ProtectBinary'] = false;
  116. /**
  117. * Default language to use, if not browser-defined or user-defined
  118. * (you find all languages in the locale folder)
  119. * uncomment the desired line:
  120. * default = 'en'
  121. */
  122. //$cfg['DefaultLang'] = 'en';
  123. //$cfg['DefaultLang'] = 'de';
  124. /**
  125. * How many columns should be used for table display of a database?
  126. * (a value larger than 1 results in some information being hidden)
  127. * default = 1
  128. */
  129. //$cfg['PropertiesNumColumns'] = 2;
  130. /**
  131. * Set to true if you want DB-based query history.If false, this utilizes
  132. * JS-routines to display query history (lost by window close)
  133. *
  134. * This requires configuration storage enabled, see above.
  135. * default = false
  136. */
  137. //$cfg['QueryHistoryDB'] = true;
  138. /**
  139. * When using DB-based query history, how many entries should be kept?
  140. * default = 25
  141. */
  142. //$cfg['QueryHistoryMax'] = 100;
  143. /**
  144. * Whether or not to query the user before sending the error report to
  145. * the phpMyAdmin team when a JavaScript error occurs
  146. *
  147. * Available options
  148. * ('ask' | 'always' | 'never')
  149. * default = 'ask'
  150. */
  151. //$cfg['SendErrorReports'] = 'always';
  152. /**
  153. * You can find more configuration options in the documentation
  154. * in the doc/ folder or at <https://docs.phpmyadmin.net/>.
  155. */