2 /* vim: set expandtab sw=4 ts=4 sts=4: */
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>.
14 * This is needed for cookie based authentication to encrypt password in
17 $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
20 * Servers configuration
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;
38 /* User for advanced features */
39 // $cfg['Servers'][$i]['controluser'] = 'pma';
40 // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
41 /* Advanced phpMyAdmin features */
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]['tracking'] = 'pma_tracking';
51 // $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
52 // $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
53 /* Contrib / Swekey authentication */
54 // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
57 * End of servers configuration
61 * Directories for saving/loading files from server
63 $cfg['UploadDir'] = '';
67 * Defines whether a user should be displayed a "show all (records)"
68 * button in browse mode or not.
71 //$cfg['ShowAll'] = true;
74 * Number of rows displayed when browsing a result set. If the result
75 * set contains more rows, "Previous" and "Next".
78 //$cfg['MaxRows'] = 50;
81 * Use graphically less intense menu tabs
84 //$cfg['LightTabs'] = true;
87 * disallow editing of binary fields
90 * 'blob' allow editing except for BLOB fields
91 * 'all' disallow editing
94 //$cfg['ProtectBinary'] = 'false';
97 * Default language to use, if not browser-defined or user-defined
98 * (you find all languages in the locale folder)
99 * uncomment the desired line:
102 //$cfg['DefaultLang'] = 'en';
103 //$cfg['DefaultLang'] = 'de';
106 * default display direction (horizontal|vertical|horizontalflipped)
108 //$cfg['DefaultDisplay'] = 'vertical';
112 * How many columns should be used for table display of a database?
113 * (a value larger than 1 results in some information being hidden)
116 //$cfg['PropertiesNumColumns'] = 2;
119 * Set to true if you want DB-based query history.If false, this utilizes
120 * JS-routines to display query history (lost by window close)
122 * This requires advanced features enabled, see above.
125 //$cfg['QueryHistoryDB'] = true;
128 * When using DB-based query history, how many entries should be kept?
132 //$cfg['QueryHistoryMax'] = 100;
135 * You can find more configuration options in Documentation.html
136 * or here: http://wiki.phpmyadmin.net/pma/Config