Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 144 lines (124 sloc) 3.732 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 *
ebeb0c3 Michal Čihař Adding @package, first part.
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 */
17 $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
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 */
b948e16 fixed/added svn properties
Sebastian Mendel authored
43 // $cfg['Servers'][$i]['controluser'] = 'pma';
44 // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
8e80009 Michal Čihař 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';
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';
15441de Marc Delisle do not try to display a tab that was not built
lem9 authored
55 // $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
b948e16 fixed/added svn properties
Sebastian Mendel authored
56 // $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
d68f2db Piotr Przybylski add warnings if pma_userconfig is not present
Crack authored
57 // $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
8f5bc06 Marc Delisle Swekey patch #4 by Luc Andre
lem9 authored
58 /* Contrib / Swekey authentication */
930ee57 Marc Delisle latest Swekey fixes
lem9 authored
59 // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
b948e16 fixed/added svn properties
Sebastian Mendel authored
60
61 /*
62 * End of servers configuration
63 */
64
65 /*
66 * Directories for saving/loading files from server
67 */
68 $cfg['UploadDir'] = '';
69 $cfg['SaveDir'] = '';
70
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
71 /**
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
72 * 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
73 * button in browse mode or not.
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
74 * default = false
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
75 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
76 //$cfg['ShowAll'] = true;
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
77
78 /**
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
79 * 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
80 * set contains more rows, "Previous" and "Next".
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
81 * default = 30
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
82 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
83 //$cfg['MaxRows'] = 50;
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
84
85 /**
86 * Use graphically less intense menu tabs
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
87 * default = false
ce5077e Michal Čihař 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['LightTabs'] = true;
90
91 /**
92 * disallow editing of binary fields
93 * valid values are:
94 * false allow editing
95 * 'blob' allow editing except for BLOB fields
96 * 'all' disallow editing
97 * default = blob
98 */
99 //$cfg['ProtectBinary'] = 'false';
100
101 /**
102 * Default language to use, if not browser-defined or user-defined
ed34bb9 Michal Čihař Adjust documentation to gettext.
nijel authored
103 * (you find all languages in the locale folder)
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
104 * uncomment the desired line:
f9ccd69 Michal Čihař Remove no longer needed language file names.
nijel authored
105 * default = 'en'
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
106 */
107 //$cfg['DefaultLang'] = 'en';
108 //$cfg['DefaultLang'] = 'de';
109
110 /**
111 * default display direction (horizontal|vertical|horizontalflipped)
112 */
113 //$cfg['DefaultDisplay'] = 'vertical';
114
115
116 /**
117 * How many columns should be used for table display of a database?
118 * (a value larger than 1 results in some information being hidden)
119 * default = 1
120 */
121 //$cfg['PropertiesNumColumns'] = 2;
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
122
123 /**
124 * Set to true if you want DB-based query history.If false, this utilizes
125 * JS-routines to display query history (lost by window close)
126 *
8e80009 Michal Čihař Talk about configuration storage in the sample config
nijel authored
127 * This requires configuration storage enabled, see above.
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
128 * default = false
129 */
130 //$cfg['QueryHistoryDB'] = true;
131
132 /**
133 * When using DB-based query history, how many entries should be kept?
134 *
135 * default = 25
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
136 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
137 //$cfg['QueryHistoryMax'] = 100;
ce5077e Michal Čihař rfe #2937840 [doc] Add some interesting configs to config.sample.inc.php...
nijel authored
138
139 /*
140 * You can find more configuration options in Documentation.html
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
141 * 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
142 */
b948e16 fixed/added svn properties
Sebastian Mendel authored
143 ?>
Something went wrong with that request. Please try again.