Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 153 lines (133 sloc) 4.145 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 *
7 * All directives are explained in Documentation.html and on phpMyAdmin
50502ea @nijel Use official names for wiki (wiki.phpmyadmin.net) and demo server (de…
nijel authored
8 * wiki <http://wiki.phpmyadmin.net>.
374abd5 fixed/added page level docblock
Sebastian Mendel authored
9 *
ebeb0c3 @nijel 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 @lem9 add AllowNoPassword in the sample config file to help people change i…
lem9 authored
36 $cfg['Servers'][$i]['AllowNoPassword'] = false;
e77938b @lem9 BLOBstreaming support (Google Summer of Code 2008, Raj Kissu Rajandra…
lem9 authored
37
3ca8237 @lem9 continue removing author names in code
lem9 authored
38 /* for blobstreaming */
9ed2eeb @rajkissu Fixed default PBMS config values
rajkissu authored
39 $cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
40 $cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
41 $cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
42 $cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';
e77938b @lem9 BLOBstreaming support (Google Summer of Code 2008, Raj Kissu Rajandra…
lem9 authored
43
b948e16 fixed/added svn properties
Sebastian Mendel authored
44 /* User for advanced features */
45 // $cfg['Servers'][$i]['controluser'] = 'pma';
46 // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
47 /* Advanced phpMyAdmin features */
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';
15441de @lem9 do not try to display a tab that was not built
lem9 authored
56 // $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
b948e16 fixed/added svn properties
Sebastian Mendel authored
57 // $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
8f5bc06 @lem9 Swekey patch #4 by Luc Andre
lem9 authored
58 /* Contrib / Swekey authentication */
930ee57 @lem9 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 @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
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 @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
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 @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
nijel authored
75 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
76 //$cfg['ShowAll'] = true;
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
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 @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
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 @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
nijel authored
82 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
83 //$cfg['MaxRows'] = 50;
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
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 @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
nijel authored
88 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
89 //$cfg['LightTabs'] = true;
90
91 /**
92 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
93 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
94 * ascending order else-)
95 * default = ASC
96 */
97 //$cfg['Order'] = 'SMART';
98
99 /**
100 * disallow editing of binary fields
101 * valid values are:
102 * false allow editing
103 * 'blob' allow editing except for BLOB fields
104 * 'all' disallow editing
105 * default = blob
106 */
107 //$cfg['ProtectBinary'] = 'false';
108
109 /**
110 * Default language to use, if not browser-defined or user-defined
111 * (you find all languages in the file libraries/select_lang.lib.php)
112 * uncomment the desired line:
113 * default = 'en-utf-8'
114 */
115 //$cfg['DefaultLang'] = 'en';
116 //$cfg['DefaultLang'] = 'de';
117
118 /**
119 * default display direction (horizontal|vertical|horizontalflipped)
120 */
121 //$cfg['DefaultDisplay'] = 'vertical';
122
123
124 /**
125 * How many columns should be used for table display of a database?
126 * (a value larger than 1 results in some information being hidden)
127 * default = 1
128 */
129 //$cfg['PropertiesNumColumns'] = 2;
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
nijel authored
130
131 /**
132 * Set to true if you want DB-based query history.If false, this utilizes
133 * JS-routines to display query history (lost by window close)
134 *
135 * This requires advanced features enabled, see above.
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
136 * default = false
137 */
138 //$cfg['QueryHistoryDB'] = true;
139
140 /**
141 * When using DB-based query history, how many entries should be kept?
142 *
143 * @global integer $cfg['QueryHistoryMax']
144 * default = 25
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
nijel authored
145 */
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
146 //$cfg['QueryHistoryMax'] = 100;
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
nijel authored
147
148 /*
149 * You can find more configuration options in Documentation.html
5ea8761 Add some more samples to config.sample.inc.php.
Ruben Barkow authored
150 * or here: http://wiki.phpmyadmin.net/pma/Config
ce5077e @nijel rfe #2937840 [doc] Add some interesting configs to config.sample.inc.…
nijel authored
151 */
b948e16 fixed/added svn properties
Sebastian Mendel authored
152 ?>
Something went wrong with that request. Please try again.