pma.conf 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. * 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. /* Select mysqli if your server has it */
  32. $cfg['Servers'][$i]['extension'] = 'mysql';
  33. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  34. /*
  35. * phpMyAdmin configuration storage settings.
  36. */
  37. /* User used to manipulate with storage */
  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]['tracking'] = 'pma_tracking';
  50. // $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
  51. // $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
  52. /* Contrib / Swekey authentication */
  53. // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
  54. /*
  55. * End of servers configuration
  56. */
  57. /*
  58. * Directories for saving/loading files from server
  59. */
  60. $cfg['UploadDir'] = '';
  61. $cfg['SaveDir'] = '';
  62. /**
  63. * Defines whether a user should be displayed a "show all (records)"
  64. * button in browse mode or not.
  65. * default = false
  66. */
  67. //$cfg['ShowAll'] = true;
  68. /**
  69. * Number of rows displayed when browsing a result set. If the result
  70. * set contains more rows, "Previous" and "Next".
  71. * default = 30
  72. */
  73. //$cfg['MaxRows'] = 50;
  74. /**
  75. * Use graphically less intense menu tabs
  76. * default = false
  77. */
  78. //$cfg['LightTabs'] = true;
  79. /**
  80. * disallow editing of binary fields
  81. * valid values are:
  82. * false allow editing
  83. * 'blob' allow editing except for BLOB fields
  84. * 'all' disallow editing
  85. * default = blob
  86. */
  87. //$cfg['ProtectBinary'] = 'false';
  88. /**
  89. * Default language to use, if not browser-defined or user-defined
  90. * (you find all languages in the locale folder)
  91. * uncomment the desired line:
  92. * default = 'en'
  93. */
  94. //$cfg['DefaultLang'] = 'en';
  95. //$cfg['DefaultLang'] = 'de';
  96. /**
  97. * default display direction (horizontal|vertical|horizontalflipped)
  98. */
  99. //$cfg['DefaultDisplay'] = 'vertical';
  100. /**
  101. * How many columns should be used for table display of a database?
  102. * (a value larger than 1 results in some information being hidden)
  103. * default = 1
  104. */
  105. //$cfg['PropertiesNumColumns'] = 2;
  106. /**
  107. * Set to true if you want DB-based query history.If false, this utilizes
  108. * JS-routines to display query history (lost by window close)
  109. *
  110. * This requires configuration storage enabled, see above.
  111. * default = false
  112. */
  113. //$cfg['QueryHistoryDB'] = true;
  114. /**
  115. * When using DB-based query history, how many entries should be kept?
  116. *
  117. * default = 25
  118. */
  119. //$cfg['QueryHistoryMax'] = 100;
  120. /*
  121. * You can find more configuration options in Documentation.html
  122. * or here: http://wiki.phpmyadmin.net/pma/Config
  123. */
  124. ?>