Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 149 lines (129 sloc) 4.007 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 Michal Čihař 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 *
7 * All directives are explained in Documentation.html and on phpMyAdmin
50502ea Michal Čihař Use official names for wiki (wiki.phpmyadmin.net) and demo server (demo....
nijel authored
8 * wiki <http://wiki.phpmyadmin.net>.
374abd5 fixed/added page level docblock
Sebastian Mendel authored
9 *
e56949f Michal Čihař 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 */
aac58fd Check your git settings! testing for push
invalid-email-address authored
17 $cfg['blowfish_secret'] = 'a8b7c6d'; /* 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;
34 /* Select mysqli if your server has it */
35 $cfg['Servers'][$i]['extension'] = 'mysql';
9e58854 Marc Delisle add AllowNoPassword in the sample config file to help people change it t...
lem9 authored
36 $cfg['Servers'][$i]['AllowNoPassword'] = false;
e77938b Marc Delisle BLOBstreaming support (Google Summer of Code 2008, Raj Kissu Rajandran) ...
lem9 authored
37
8e80009 Michal Čihař Talk about configuration storage in the sample config
nijel authored
38 /*
39 * phpMyAdmin configuration storage settings.
40 */
41
42 /* User used to manipulate with storage */
46ce1d7 Marc Delisle Default values for controlhost
lem9 authored
43 // $cfg['Servers'][$i]['controlhost'] = '';
b948e16 fixed/added svn properties
Sebastian Mendel authored
44 // $cfg['Servers'][$i]['controluser'] = 'pma';
45 // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
8e80009 Michal Čihař Talk about configuration storage in the sample config
nijel authored
46
47 /* Storage database and tables */
b948e16 fixed/added svn properties
Sebastian Mendel authored
48 // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
49 // $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
50 // $cfg['Servers'][$i]['relation'] = 'pma_relation';
51 // $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
52 // $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
53 // $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
54 // $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
55 // $cfg['Servers'][$i]['history'] = 'pma_history';
2302191 arisferyanto Recently used tables (class, configuration, remember in pma database)
arisferyanto authored
56 // $cfg['Servers'][$i]['recent'] = 'pma_recent';
e4ba1dc arisferyanto Add table pma_ui_prefs for remembering table sorting persistently
arisferyanto authored
57 // $cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
15441de Marc Delisle do not try to display a tab that was not built
lem9 authored
58 // $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
b948e16 fixed/added svn properties
Sebastian Mendel authored
59 // $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
d68f2db Piotr Przybylski add warnings if pma_userconfig is not present
Crack authored
60 // $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
9d441ee Madhura Jayaratne Sample config file updated with new pmadb tables
madhuracj authored
61 // $cfg['Servers'][$i]['recent'] = 'pma_recent';
62 // $cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
8f5bc06 Marc Delisle Swekey patch #4 by Luc Andre
lem9 authored
63 /* Contrib / Swekey authentication */
930ee57 Marc Delisle latest Swekey fixes
lem9 authored
64 // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
b948e16 fixed/added svn properties
Sebastian Mendel authored
65
66 /*
67 * End of servers configuration
68 */
69
70 /*
71 * Directories for saving/loading files from server
72 */
73 $cfg['UploadDir'] = '';
74 $cfg['SaveDir'] = '';
75
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
76 /**
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
77 * Defines whether a user should be displayed a "show all (records)"
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
78 * button in browse mode or not.
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
79 * default = false
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
80 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
81 //$cfg['ShowAll'] = true;
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
82
83 /**
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
84 * Number of rows displayed when browsing a result set. If the result
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
85 * set contains more rows, "Previous" and "Next".
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
86 * default = 30
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
87 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
88 //$cfg['MaxRows'] = 50;
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
89
90 /**
91 * Use graphically less intense menu tabs
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
92 * default = false
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
93 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
94 //$cfg['LightTabs'] = true;
95
96 /**
97 * disallow editing of binary fields
98 * valid values are:
99 * false allow editing
100 * 'blob' allow editing except for BLOB fields
101 * 'all' disallow editing
102 * default = blob
103 */
104 //$cfg['ProtectBinary'] = 'false';
105
106 /**
107 * Default language to use, if not browser-defined or user-defined
ed34bb9 Michal Čihař Adjust documentation to gettext.
nijel authored
108 * (you find all languages in the locale folder)
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
109 * uncomment the desired line:
f9ccd69 Michal Čihař Remove no longer needed language file names.
nijel authored
110 * default = 'en'
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
111 */
112 //$cfg['DefaultLang'] = 'en';
113 //$cfg['DefaultLang'] = 'de';
114
115 /**
116 * default display direction (horizontal|vertical|horizontalflipped)
117 */
118 //$cfg['DefaultDisplay'] = 'vertical';
119
120
121 /**
122 * How many columns should be used for table display of a database?
123 * (a value larger than 1 results in some information being hidden)
124 * default = 1
125 */
126 //$cfg['PropertiesNumColumns'] = 2;
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
127
128 /**
129 * Set to true if you want DB-based query history.If false, this utilizes
130 * JS-routines to display query history (lost by window close)
131 *
8e80009 Michal Čihař Talk about configuration storage in the sample config
nijel authored
132 * This requires configuration storage enabled, see above.
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
133 * default = false
134 */
135 //$cfg['QueryHistoryDB'] = true;
136
137 /**
138 * When using DB-based query history, how many entries should be kept?
139 *
140 * default = 25
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
141 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
142 //$cfg['QueryHistoryMax'] = 100;
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
143
144 /*
145 * You can find more configuration options in Documentation.html
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
146 * or here: http://wiki.phpmyadmin.net/pma/Config
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
147 */
b948e16 fixed/added svn properties
Sebastian Mendel authored
148 ?>
Something went wrong with that request. Please try again.