Merge remote-tracking branch 'origin/master' into drizzle
[phpmyadmin/crack.git] / config.sample.inc.php
blob95d3a1a911b2073a2e8d266e9e3105bec5d65fc6
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/
7 * All directives are explained in Documentation.html and on phpMyAdmin
8 * wiki <http://wiki.phpmyadmin.net>.
10 * @package phpMyAdmin
14 * This is needed for cookie based authentication to encrypt password in
15 * cookie
17 $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
20 * Servers configuration
22 $i = 0;
25 * First server
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 mysqli if your server has it */
35 $cfg['Servers'][$i]['extension'] = 'mysql';
36 $cfg['Servers'][$i]['AllowNoPassword'] = false;
39 * phpMyAdmin configuration storage settings.
42 /* User used to manipulate with storage */
43 // $cfg['Servers'][$i]['controluser'] = 'pma';
44 // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
46 /* Storage database and tables */
47 // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
48 // $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
49 // $cfg['Servers'][$i]['relation'] = 'pma_relation';
50 // $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
51 // $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
52 // $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
53 // $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
54 // $cfg['Servers'][$i]['history'] = 'pma_history';
55 // $cfg['Servers'][$i]['recent'] = 'pma_recent';
56 // $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
57 // $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
58 // $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
59 /* Contrib / Swekey authentication */
60 // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
63 * End of servers configuration
67 * Directories for saving/loading files from server
69 $cfg['UploadDir'] = '';
70 $cfg['SaveDir'] = '';
72 /**
73 * Defines whether a user should be displayed a "show all (records)"
74 * button in browse mode or not.
75 * default = false
77 //$cfg['ShowAll'] = true;
79 /**
80 * Number of rows displayed when browsing a result set. If the result
81 * set contains more rows, "Previous" and "Next".
82 * default = 30
84 //$cfg['MaxRows'] = 50;
86 /**
87 * Use graphically less intense menu tabs
88 * default = false
90 //$cfg['LightTabs'] = true;
92 /**
93 * disallow editing of binary fields
94 * valid values are:
95 * false allow editing
96 * 'blob' allow editing except for BLOB fields
97 * 'all' disallow editing
98 * default = blob
100 //$cfg['ProtectBinary'] = 'false';
103 * Default language to use, if not browser-defined or user-defined
104 * (you find all languages in the locale folder)
105 * uncomment the desired line:
106 * default = 'en'
108 //$cfg['DefaultLang'] = 'en';
109 //$cfg['DefaultLang'] = 'de';
112 * default display direction (horizontal|vertical|horizontalflipped)
114 //$cfg['DefaultDisplay'] = 'vertical';
118 * How many columns should be used for table display of a database?
119 * (a value larger than 1 results in some information being hidden)
120 * default = 1
122 //$cfg['PropertiesNumColumns'] = 2;
125 * Set to true if you want DB-based query history.If false, this utilizes
126 * JS-routines to display query history (lost by window close)
128 * This requires configuration storage enabled, see above.
129 * default = false
131 //$cfg['QueryHistoryDB'] = true;
134 * When using DB-based query history, how many entries should be kept?
136 * default = 25
138 //$cfg['QueryHistoryMax'] = 100;
141 * You can find more configuration options in Documentation.html
142 * or here: http://wiki.phpmyadmin.net/pma/Config