Translated using Weblate (Armenian)
[phpmyadmin.git] / config.sample.inc.php
blob5c73c2e1b9265f0d3c2735601262ae9031aec1bd
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
13 /**
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! */
19 /**
20 * Servers configuration
22 $i = 0;
24 /**
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 $cfg['Servers'][$i]['AllowNoPassword'] = false;
36 /**
37 * phpMyAdmin configuration storage settings.
40 /* User used to manipulate with storage */
41 // $cfg['Servers'][$i]['controlhost'] = '';
42 // $cfg['Servers'][$i]['controlport'] = '';
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]['table_uiprefs'] = 'pma__table_uiprefs';
56 // $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
57 // $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
58 // $cfg['Servers'][$i]['recent'] = 'pma__recent';
59 // $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
60 // $cfg['Servers'][$i]['users'] = 'pma__users';
61 // $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
62 // $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
63 // $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
64 // $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
65 // $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
66 // $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
67 /* Contrib / Swekey authentication */
68 // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
70 /**
71 * End of servers configuration
74 /**
75 * Directories for saving/loading files from server
77 $cfg['UploadDir'] = '';
78 $cfg['SaveDir'] = '';
80 /**
81 * Whether to display icons or text or both icons and text in table row
82 * action segment. Value can be either of 'icons', 'text' or 'both'.
83 * default = 'both'
85 //$cfg['RowActionType'] = 'icons';
87 /**
88 * Defines whether a user should be displayed a "show all (records)"
89 * button in browse mode or not.
90 * default = false
92 //$cfg['ShowAll'] = true;
94 /**
95 * Number of rows displayed when browsing a result set. If the result
96 * set contains more rows, "Previous" and "Next".
97 * Possible values: 25, 50, 100, 250, 500
98 * default = 25
100 //$cfg['MaxRows'] = 50;
103 * Disallow editing of binary fields
104 * valid values are:
105 * false allow editing
106 * 'blob' allow editing except for BLOB fields
107 * 'noblob' disallow editing except for BLOB fields
108 * 'all' disallow editing
109 * default = 'blob'
111 //$cfg['ProtectBinary'] = false;
114 * Default language to use, if not browser-defined or user-defined
115 * (you find all languages in the locale folder)
116 * uncomment the desired line:
117 * default = 'en'
119 //$cfg['DefaultLang'] = 'en';
120 //$cfg['DefaultLang'] = 'de';
123 * How many columns should be used for table display of a database?
124 * (a value larger than 1 results in some information being hidden)
125 * default = 1
127 //$cfg['PropertiesNumColumns'] = 2;
130 * Set to true if you want DB-based query history.If false, this utilizes
131 * JS-routines to display query history (lost by window close)
133 * This requires configuration storage enabled, see above.
134 * default = false
136 //$cfg['QueryHistoryDB'] = true;
139 * When using DB-based query history, how many entries should be kept?
140 * default = 25
142 //$cfg['QueryHistoryMax'] = 100;
145 * Whether or not to query the user before sending the error report to
146 * the phpMyAdmin team when a JavaScript error occurs
148 * Available options
149 * ('ask' | 'always' | 'never')
150 * default = 'ask'
152 //$cfg['SendErrorReports'] = 'always';
155 * You can find more configuration options in the documentation
156 * in the doc/ folder or at <http://docs.phpmyadmin.net/>.