Advertisement
Guest User

Untitled

a guest
Mar 6th, 2013
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.01 KB | None | 0 0
  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. /*
  14.  * This is needed for cookie based authentication to encrypt password in
  15.  * cookie
  16.  */
  17. $cfg['blowfish_secret'] = 'a8b7c6d'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
  18.  
  19. /*
  20.  * Servers configuration
  21.  */
  22. $i = 0;
  23.  
  24. /*
  25.  * First server
  26.  */
  27. $i++;
  28. /* Authentication type */
  29. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  30. /* Server parameters */
  31. $cfg['Servers'][$i]['host'] = 'localhost';
  32. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  33. $cfg['Servers'][$i]['compress'] = false;
  34. /* Select mysql if your server does not have mysqli */
  35. $cfg['Servers'][$i]['extension'] = 'mysqli';
  36. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  37.  
  38. /*
  39.  * phpMyAdmin configuration storage settings.
  40.  */
  41.  
  42. /* User used to manipulate with storage */
  43. // $cfg['Servers'][$i]['controlhost'] = '';
  44. // $cfg['Servers'][$i]['controluser'] = 'pma';
  45. // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
  46.  
  47. /* Storage database and tables */
  48. // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  49. // $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
  50. // $cfg['Servers'][$i]['relation'] = 'pma_relation';
  51. // $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
  52. // $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
  53. // $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
  54. // $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
  55. // $cfg['Servers'][$i]['history'] = 'pma_history';
  56. // $cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
  57. // $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
  58. // $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
  59. // $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
  60. // $cfg['Servers'][$i]['recent'] = 'pma_recent';
  61. /* Contrib / Swekey authentication */
  62. // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
  63.  
  64. /*
  65.  * End of servers configuration
  66.  */
  67.  
  68. /*
  69.  * Directories for saving/loading files from server
  70.  */
  71. $cfg['UploadDir'] = '/var/lib/phpMyAdmin/upload';
  72. $cfg['SaveDir'] = '/var/lib/phpMyAdmin/save';
  73.  
  74. /**
  75.  * Defines whether a user should be displayed a "show all (records)"
  76.  * button in browse mode or not.
  77.  * default = false
  78.  */
  79. //$cfg['ShowAll'] = true;
  80.  
  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. /**
  89.  * Use graphically less intense menu tabs
  90.  * default = false
  91.  */
  92. //$cfg['LightTabs'] = true;
  93.  
  94. /**
  95.  * disallow editing of binary fields
  96.  * valid values are:
  97.  *   false  allow editing
  98.  *   'blob' allow editing except for BLOB fields
  99.  *   'all'  disallow editing
  100.  * default = blob
  101.  */
  102. //$cfg['ProtectBinary'] = 'false';
  103.  
  104. /**
  105.  * Default language to use, if not browser-defined or user-defined
  106.  * (you find all languages in the locale folder)
  107.  * uncomment the desired line:
  108.  * default = 'en'
  109.  */
  110. //$cfg['DefaultLang'] = 'en';
  111. //$cfg['DefaultLang'] = 'de';
  112.  
  113. /**
  114.  * default display direction (horizontal|vertical|horizontalflipped)
  115.  */
  116. //$cfg['DefaultDisplay'] = 'vertical';
  117.  
  118.  
  119. /**
  120.  * How many columns should be used for table display of a database?
  121.  * (a value larger than 1 results in some information being hidden)
  122.  * default = 1
  123.  */
  124. //$cfg['PropertiesNumColumns'] = 2;
  125.  
  126. /**
  127.  * Set to true if you want DB-based query history.If false, this utilizes
  128.  * JS-routines to display query history (lost by window close)
  129.  *
  130.  * This requires configuration storage enabled, see above.
  131.  * default = false
  132.  */
  133. //$cfg['QueryHistoryDB'] = true;
  134.  
  135. /**
  136.  * When using DB-based query history, how many entries should be kept?
  137.  *
  138.  * default = 25
  139.  */
  140. //$cfg['QueryHistoryMax'] = 100;
  141.  
  142. /*
  143.  * You can find more configuration options in Documentation.html
  144.  * or here: http://wiki.phpmyadmin.net/pma/Config
  145.  */
  146. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement