Translated using Weblate (Danish)
[phpmyadmin.git] / config.sample.inc.php
blobd45c0f7c2dd3d345f41e8f62c1dab28e9df31c52
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 in the doc/ folder
8 * or at <http://docs.phpmyadmin.net/>.
10 * @package PhpMyAdmin
14 * This is needed for cookie based authentication to encrypt password in
15 * cookie
17 $cfg['blowfish_secret'] = 'a8b7c6d'; /* 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 mysql if your server does not have mysqli */
35 $cfg['Servers'][$i]['extension'] = 'mysqli';
36 $cfg['Servers'][$i]['AllowNoPassword'] = false;
39 * phpMyAdmin configuration storage settings.
42 /* User used to manipulate with storage */
43 // $cfg['Servers'][$i]['controlhost'] = '';
44 // $cfg['Servers'][$i]['controlport'] = '';
45 // $cfg['Servers'][$i]['controluser'] = 'pma';
46 // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
48 /* Storage database and tables */
49 // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
50 // $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
51 // $cfg['Servers'][$i]['relation'] = 'pma__relation';
52 // $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
53 // $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
54 // $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
55 // $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
56 // $cfg['Servers'][$i]['history'] = 'pma__history';
57 // $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
58 // $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
59 // $cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
60 // $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
61 // $cfg['Servers'][$i]['recent'] = 'pma__recent';
62 // $cfg['Servers'][$i]['users'] = 'pma__users';
63 // $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
64 // $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
65 /* Contrib / Swekey authentication */
66 // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
69 * End of servers configuration
73 * Directories for saving/loading files from server
75 $cfg['UploadDir'] = '';
76 $cfg['SaveDir'] = '';
78 /**
79 * Defines whether a user should be displayed a "show all (records)"
80 * button in browse mode or not.
81 * default = false
83 //$cfg['ShowAll'] = true;
85 /**
86 * Number of rows displayed when browsing a result set. If the result
87 * set contains more rows, "Previous" and "Next".
88 * default = 30
90 //$cfg['MaxRows'] = 50;
92 /**
93 * disallow editing of binary fields
94 * valid values are:
95 * false allow editing
96 * 'blob' allow editing except for BLOB fields
97 * 'noblob' disallow editing except for BLOB fields
98 * 'all' disallow editing
99 * default = blob
101 //$cfg['ProtectBinary'] = 'false';
104 * Default language to use, if not browser-defined or user-defined
105 * (you find all languages in the locale folder)
106 * uncomment the desired line:
107 * default = 'en'
109 //$cfg['DefaultLang'] = 'en';
110 //$cfg['DefaultLang'] = 'de';
113 * default display direction (horizontal|vertical|horizontalflipped)
115 //$cfg['DefaultDisplay'] = 'vertical';
119 * How many columns should be used for table display of a database?
120 * (a value larger than 1 results in some information being hidden)
121 * default = 1
123 //$cfg['PropertiesNumColumns'] = 2;
126 * Set to true if you want DB-based query history.If false, this utilizes
127 * JS-routines to display query history (lost by window close)
129 * This requires configuration storage enabled, see above.
130 * default = false
132 //$cfg['QueryHistoryDB'] = true;
135 * When using DB-based query history, how many entries should be kept?
137 * default = 25
139 //$cfg['QueryHistoryMax'] = 100;
142 * Should error reporting be enabled for javascript errors
144 * default = true
146 //$cfg['ErrorReporting'] = true;
149 * You can find more configuration options in the documentation
150 * in the doc/ folder or at <http://docs.phpmyadmin.net/>.