Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 153 lines (134 sloc) 4.312 kb
b948e16 fixed/added svn properties
Sebastian Mendel authored
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * phpMyAdmin sample configuration, you can use it as base for
9a682e2 @nijel Point to new setup script in all places, drop old one.
nijel authored
5 * manual configuration. For easier setup you can use setup/
b948e16 fixed/added svn properties
Sebastian Mendel authored
6 *
c28b571 @nijel Adjust links to documentation in comments/docs
nijel authored
7 * All directives are explained in documentation in the doc/ folder
15b554c @nijel Use docs.phpmyadmin.net instead of phpmyadmin.readthedocs.org
nijel authored
8 * or at <http://docs.phpmyadmin.net/>.
374abd5 fixed/added page level docblock
Sebastian Mendel authored
9 *
e56949f @nijel Use package name PhpMyAdmin
nijel authored
10 * @package PhpMyAdmin
b948e16 fixed/added svn properties
Sebastian Mendel authored
11 */
12
13 /*
14 * This is needed for cookie based authentication to encrypt password in
15 * cookie
16 */
b788a1c @lem9 bug #4657 Don't have default blowfish_secret
lem9 authored
17 $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
b948e16 fixed/added svn properties
Sebastian Mendel authored
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;
9e58854 @lem9 add AllowNoPassword in the sample config file to help people change it t...
lem9 authored
34 $cfg['Servers'][$i]['AllowNoPassword'] = false;
e77938b @lem9 BLOBstreaming support (Google Summer of Code 2008, Raj Kissu Rajandran) ...
lem9 authored
35
8e80009 @nijel Talk about configuration storage in the sample config
nijel authored
36 /*
37 * phpMyAdmin configuration storage settings.
38 */
39
40 /* User used to manipulate with storage */
46ce1d7 @lem9 Default values for controlhost
lem9 authored
41 // $cfg['Servers'][$i]['controlhost'] = '';
adb2e43 @kasunchathuranga Implement feature request #1414 - Allow specifying crontrolport
kasunchathuranga authored
42 // $cfg['Servers'][$i]['controlport'] = '';
b948e16 fixed/added svn properties
Sebastian Mendel authored
43 // $cfg['Servers'][$i]['controluser'] = 'pma';
44 // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
8e80009 @nijel Talk about configuration storage in the sample config
nijel authored
45
46 /* Storage database and tables */
b948e16 fixed/added svn properties
Sebastian Mendel authored
47 // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
3a5843a @lem9 rfe #1052091 [config] Double-underscores in PMA table names
lem9 authored
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';
8bc21b7 @ashutoshdhundhara Feature request: #1476 Favourite tables select box.
ashutoshdhundhara authored
59 // $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
57e563f @kasunchathuranga Add new tables to sample config file
kasunchathuranga authored
60 // $cfg['Servers'][$i]['users'] = 'pma__users';
3ed92c5 @kasunchathuranga Update examples with new configurations
kasunchathuranga authored
61 // $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
04c2e88 @kasunchathuranga Change tables name from 'navigation' to 'navigationhiding'
kasunchathuranga authored
62 // $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
8b84cf0 @Tithugues Feature #569 Load/Save Query By Example
Tithugues authored
63 // $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
ec3ec7d @madhuracj Align
madhuracj authored
64 // $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
8f5bc06 @lem9 Swekey patch #4 by Luc Andre
lem9 authored
65 /* Contrib / Swekey authentication */
930ee57 @lem9 latest Swekey fixes
lem9 authored
66 // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
b948e16 fixed/added svn properties
Sebastian Mendel authored
67
68 /*
69 * End of servers configuration
70 */
71
72 /*
73 * Directories for saving/loading files from server
74 */
75 $cfg['UploadDir'] = '';
76 $cfg['SaveDir'] = '';
77
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
78 /**
63b1af9 @lem9 Make the choices similar to other directives
lem9 authored
79 * Whether to display icons or text or both icons and text in table row
80 * action segment. Value can be either of 'icons', 'text' or 'both'.
113f8f4 @Chanaka Feature 1455 - Display image,text or both in table row actions area
Chanaka authored
81 */
30522c8 @Chanaka Rename the global variable from row_action_type to RowActionType
Chanaka authored
82 //$cfg['RowActionType'] = 'both';
113f8f4 @Chanaka Feature 1455 - Display image,text or both in table row actions area
Chanaka authored
83
84 /**
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
85 * Defines whether a user should be displayed a "show all (records)"
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
86 * button in browse mode or not.
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
87 * default = false
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
88 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
89 //$cfg['ShowAll'] = true;
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
90
91 /**
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
92 * Number of rows displayed when browsing a result set. If the result
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
93 * set contains more rows, "Previous" and "Next".
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
94 * default = 30
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
95 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
96 //$cfg['MaxRows'] = 50;
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
97
98 /**
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
99 * disallow editing of binary fields
100 * valid values are:
c0329ab rfe #3518852 [edit] edit blob but not other binary, new option $cfg['Pro...
Jo Michael authored
101 * false allow editing
102 * 'blob' allow editing except for BLOB fields
103 * 'noblob' disallow editing except for BLOB fields
104 * 'all' disallow editing
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
105 * default = blob
106 */
107 //$cfg['ProtectBinary'] = 'false';
108
109 /**
110 * Default language to use, if not browser-defined or user-defined
ed34bb9 @nijel Adjust documentation to gettext.
nijel authored
111 * (you find all languages in the locale folder)
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
112 * uncomment the desired line:
f9ccd69 @nijel Remove no longer needed language file names.
nijel authored
113 * default = 'en'
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
114 */
115 //$cfg['DefaultLang'] = 'en';
116 //$cfg['DefaultLang'] = 'de';
117
118 /**
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
122 */
123 //$cfg['PropertiesNumColumns'] = 2;
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
124
125 /**
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)
128 *
8e80009 @nijel Talk about configuration storage in the sample config
nijel authored
129 * This requires configuration storage enabled, see above.
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
130 * default = false
131 */
132 //$cfg['QueryHistoryDB'] = true;
133
134 /**
135 * When using DB-based query history, how many entries should be kept?
136 *
137 * default = 25
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
138 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
139 //$cfg['QueryHistoryMax'] = 100;
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
140
5dbc087 @m0hamed Added error reporting settings to config.sample.inc.php and to the libra...
m0hamed authored
141 /**
ebc5e9a @lem9 We do not need a separate ErrorReporting directive
lem9 authored
142 * Should error reporting be enabled for JavaScript errors
5dbc087 @m0hamed Added error reporting settings to config.sample.inc.php and to the libra...
m0hamed authored
143 *
8b84cf0 @Tithugues Feature #569 Load/Save Query By Example
Tithugues authored
144 * default = 'ask'
5dbc087 @m0hamed Added error reporting settings to config.sample.inc.php and to the libra...
m0hamed authored
145 */
ebc5e9a @lem9 We do not need a separate ErrorReporting directive
lem9 authored
146 //$cfg['SendErrorReports'] = 'ask';
5dbc087 @m0hamed Added error reporting settings to config.sample.inc.php and to the libra...
m0hamed authored
147
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
148 /*
c28b571 @nijel Adjust links to documentation in comments/docs
nijel authored
149 * You can find more configuration options in the documentation
15b554c @nijel Use docs.phpmyadmin.net instead of phpmyadmin.readthedocs.org
nijel authored
150 * in the doc/ folder or at <http://docs.phpmyadmin.net/>.
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
151 */
b948e16 fixed/added svn properties
Sebastian Mendel authored
152 ?>
Something went wrong with that request. Please try again.