config.inc.php 3.7 KB

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