config.inc.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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'] = 'a8b7c6d'; /* 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'] = false;
  32. $cfg['PmaNoRelation_DisableWarning'] = true;
  33. /*
  34. * phpMyAdmin configuration storage settings.
  35. */
  36. /* User used to manipulate with storage */
  37. // $cfg['Servers'][$i]['controlhost'] = '';
  38. // $cfg['Servers'][$i]['controlport'] = '';
  39. // $cfg['Servers'][$i]['controluser'] = 'pma';
  40. // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
  41. /* Storage database and tables */
  42. // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  43. // $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
  44. // $cfg['Servers'][$i]['relation'] = 'pma__relation';
  45. // $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
  46. // $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
  47. // $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
  48. // $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
  49. // $cfg['Servers'][$i]['history'] = 'pma__history';
  50. // $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
  51. // $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
  52. // $cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
  53. // $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
  54. // $cfg['Servers'][$i]['recent'] = 'pma__recent';
  55. // $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
  56. // $cfg['Servers'][$i]['users'] = 'pma__users';
  57. // $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
  58. // $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
  59. // $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
  60. /* Contrib / Swekey authentication */
  61. // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
  62. /*
  63. * End of servers configuration
  64. */
  65. /*
  66. * Directories for saving/loading files from server
  67. */
  68. $cfg['UploadDir'] = '';
  69. $cfg['SaveDir'] = '';
  70. /**
  71. * Whether to display icons or text or both icons and text in table row
  72. * action segment. Value can be either of 'icons', 'text' or 'both'.
  73. */
  74. //$cfg['RowActionType'] = 'both';
  75. /**
  76. * Defines whether a user should be displayed a "show all (records)"
  77. * button in browse mode or not.
  78. * default = false
  79. */
  80. //$cfg['ShowAll'] = true;
  81. /**
  82. * Number of rows displayed when browsing a result set. If the result
  83. * set contains more rows, "Previous" and "Next".
  84. * default = 30
  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. * default display direction (horizontal|vertical|horizontalflipped)
  107. */
  108. //$cfg['DefaultDisplay'] = 'vertical';
  109. /**
  110. * How many columns should be used for table display of a database?
  111. * (a value larger than 1 results in some information being hidden)
  112. * default = 1
  113. */
  114. //$cfg['PropertiesNumColumns'] = 2;
  115. /**
  116. * Set to true if you want DB-based query history.If false, this utilizes
  117. * JS-routines to display query history (lost by window close)
  118. *
  119. * This requires configuration storage enabled, see above.
  120. * default = false
  121. */
  122. //$cfg['QueryHistoryDB'] = true;
  123. /**
  124. * When using DB-based query history, how many entries should be kept?
  125. *
  126. * default = 25
  127. */
  128. //$cfg['QueryHistoryMax'] = 100;
  129. /**
  130. * Should error reporting be enabled for JavaScript errors
  131. *
  132. * default = 'ask'
  133. */
  134. //$cfg['SendErrorReports'] = 'ask';
  135. /*
  136. * You can find more configuration options in the documentation
  137. * in the doc/ folder or at <http://docs.phpmyadmin.net/>.
  138. */
  139. ?>