config.sample.inc.php 4.5 KB

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