3 // vim: expandtab sw=4 ts=4 sts=4:
6 * phpMyAdmin Configuration File
8 * All directives are explained in Documentation.html
13 * Sets the php error reporting - Please do not change this line!
15 if (!isset($old_error_reporting)) {
16 error_reporting(E_ALL
);
17 @ini_set
('display_errors', '1');
24 * Complete the variable below with the full url ie
25 * http://www.your_web.net/path_to_your_phpMyAdmin_directory/
27 * It must contain characters that are valid for a URL, and the path is
28 * case sensitive on some Web servers, for example Unix-based servers.
30 * In most cases you can leave this variable empty, as the correct value
31 * will be detected automatically. However, we recommend that you do
32 * test to see that the auto-detection code works in your system. A good
33 * test is to browse a table, then edit a row and save it. There will be
34 * an error message if phpMyAdmin cannot auto-detect the correct value.
36 * If the auto-detection code does work properly, you can set to TRUE the
37 * $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
39 $cfg['PmaAbsoluteUri'] = '';
43 * Disable the default warning about $cfg['PmaAbsoluteUri'] not being set
44 * You should use this if and ONLY if the PmaAbsoluteUri auto-detection
47 $cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;
50 * Disable the default warning that is displayed on the DB Details Structure page if
51 * any of the required Tables for the relationfeatures could not be found
53 $cfg['PmaNoRelation_DisableWarning'] = FALSE;
56 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
57 * at least one server configuration uses 'cookie' auth_type, enter here a
58 * passphrase that will be used by blowfish. The maximum length seems to be 46
61 $cfg['blowfish_secret'] = '';
64 * Server(s) configuration
67 // The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].
68 // You can disable a server config entry by setting host to ''.
70 $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
71 $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
72 $cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
73 $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
74 $cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
75 $cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
76 // (requires PHP >= 4.3.0)
77 $cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
78 // (this user must have read-only
79 $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
80 // and "mysql/db" tables).
81 // The controluser is also
82 // used for all relational
84 $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
85 $cfg['Servers'][$i]['user'] = 'root'; // MySQL user
86 $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
87 // with 'config' auth_type)
88 $cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
89 // this db is displayed in left frame
90 // It may also be an array of db-names, where sorting order is relevant.
91 $cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
93 $cfg['Servers'][$i]['pmadb'] = ''; // Database used for Relation, Bookmark and PDF Features
94 // (see scripts/create_tables.sql)
95 // - leave blank for no support
96 // DEFAULT: 'phpmyadmin'
97 $cfg['Servers'][$i]['bookmarktable'] = ''; // Bookmark table
98 // - leave blank for no bookmark support
99 // DEFAULT: 'pma_bookmark'
100 $cfg['Servers'][$i]['relation'] = ''; // table to describe the relation between links (see doc)
101 // - leave blank for no relation-links support
102 // DEFAULT: 'pma_relation'
103 $cfg['Servers'][$i]['table_info'] = ''; // table to describe the display fields
104 // - leave blank for no display fields support
105 // DEFAULT: 'pma_table_info'
106 $cfg['Servers'][$i]['table_coords'] = ''; // table to describe the tables position for the PDF schema
107 // - leave blank for no PDF schema support
108 // DEFAULT: 'pma_table_coords'
109 $cfg['Servers'][$i]['pdf_pages'] = ''; // table to describe pages of relationpdf
110 // - leave blank if you don't want to use this
111 // DEFAULT: 'pma_pdf_pages'
112 $cfg['Servers'][$i]['column_info'] = ''; // table to store column information
113 // - leave blank for no column comments/mime types
114 // DEFAULT: 'pma_column_info'
115 $cfg['Servers'][$i]['history'] = ''; // table to store SQL history
116 // - leave blank for no SQL query history
117 // DEFAULT: 'pma_history'
118 $cfg['Servers'][$i]['verbose_check'] = TRUE; // set to FALSE if you know that your pma_* tables
119 // are up to date. This prevents compatibility
120 // checks and thereby increases performance.
121 $cfg['Servers'][$i]['AllowRoot'] = TRUE; // whether to allow root login
122 $cfg['Servers'][$i]['AllowDeny']['order'] // Host authentication order, leave blank to not use
124 $cfg['Servers'][$i]['AllowDeny']['rules'] // Host authentication rules, leave blank for defaults
128 * If you are configuring for only one server, stop here. You can jump to the next
129 * section called "Other core phpMyAdmin settings."
130 * The following section allows you to add a second server to this installation.
134 $cfg['Servers'][$i]['host'] = '';
135 $cfg['Servers'][$i]['port'] = '';
136 $cfg['Servers'][$i]['socket'] = '';
137 $cfg['Servers'][$i]['connect_type'] = 'tcp';
138 $cfg['Servers'][$i]['extension'] = 'mysql';
139 $cfg['Servers'][$i]['compress'] = FALSE;
140 $cfg['Servers'][$i]['controluser'] = '';
141 $cfg['Servers'][$i]['controlpass'] = '';
142 $cfg['Servers'][$i]['auth_type'] = 'config';
143 $cfg['Servers'][$i]['user'] = 'root';
144 $cfg['Servers'][$i]['password'] = '';
145 $cfg['Servers'][$i]['only_db'] = '';
146 $cfg['Servers'][$i]['verbose'] = '';
147 $cfg['Servers'][$i]['pmadb'] = ''; // 'phpmyadmin' - see scripts/create_tables.sql
148 $cfg['Servers'][$i]['bookmarktable'] = ''; // 'pma_bookmark'
149 $cfg['Servers'][$i]['relation'] = ''; // 'pma_relation'
150 $cfg['Servers'][$i]['table_info'] = ''; // 'pma_table_info'
151 $cfg['Servers'][$i]['table_coords'] = ''; // 'pma_table_coords'
152 $cfg['Servers'][$i]['pdf_pages'] = ''; // 'pma_pdf_pages'
153 $cfg['Servers'][$i]['column_info'] = ''; // 'pma_column_info'
154 $cfg['Servers'][$i]['history'] = ''; // 'pma_history'
155 $cfg['Servers'][$i]['verbose_check'] = TRUE;
156 $cfg['Servers'][$i]['AllowRoot'] = TRUE;
157 $cfg['Servers'][$i]['AllowDeny']['order']
159 $cfg['Servers'][$i]['AllowDeny']['rules']
163 * This section allows you to configure a third server for this installation.
167 $cfg['Servers'][$i]['host'] = '';
168 $cfg['Servers'][$i]['port'] = '';
169 $cfg['Servers'][$i]['socket'] = '';
170 $cfg['Servers'][$i]['connect_type'] = 'tcp';
171 $cfg['Servers'][$i]['extension'] = 'mysql';
172 $cfg['Servers'][$i]['compress'] = FALSE;
173 $cfg['Servers'][$i]['controluser'] = '';
174 $cfg['Servers'][$i]['controlpass'] = '';
175 $cfg['Servers'][$i]['auth_type'] = 'config';
176 $cfg['Servers'][$i]['user'] = 'root';
177 $cfg['Servers'][$i]['password'] = '';
178 $cfg['Servers'][$i]['only_db'] = '';
179 $cfg['Servers'][$i]['verbose'] = '';
180 $cfg['Servers'][$i]['pmadb'] = ''; // 'phpmyadmin' - see scripts/create_tables.sql
181 $cfg['Servers'][$i]['bookmarktable'] = ''; // 'pma_bookmark'
182 $cfg['Servers'][$i]['relation'] = ''; // 'pma_relation'
183 $cfg['Servers'][$i]['table_info'] = ''; // 'pma_table_info'
184 $cfg['Servers'][$i]['table_coords'] = ''; // 'pma_table_coords'
185 $cfg['Servers'][$i]['pdf_pages'] = ''; // 'pma_pdf_pages'
186 $cfg['Servers'][$i]['column_info'] = ''; // 'pma_column_info'
187 $cfg['Servers'][$i]['history'] = ''; // 'pma_history'
188 $cfg['Servers'][$i]['verbose_check'] = TRUE;
189 $cfg['Servers'][$i]['AllowRoot'] = TRUE;
191 $cfg['Servers'][$i]['AllowDeny']['order']
193 $cfg['Servers'][$i]['AllowDeny']['rules']
196 // If you have more than one server configured, you can set $cfg['ServerDefault']
197 // to any one of them to autoconnect to that server when phpMyAdmin is started,
198 // or set it to 0 to be given a list of servers without logging in
199 // If you have only one server configured, $cfg['ServerDefault'] *MUST* be
200 // set to that server.
201 $cfg['ServerDefault'] = 1; // Default server (0 = no default server)
203 unset($cfg['Servers'][0]);
207 * Other core phpMyAdmin settings
209 $cfg['OBGzip'] = 'auto'; // use GZIP output buffering if possible (TRUE|FALSE|'auto')
210 $cfg['PersistentConnections'] = FALSE; // use persistent connections to MySQL database
211 $cfg['ExecTimeLimit'] = 300; // maximum execution time in seconds (0 for no limit)
212 $cfg['SkipLockedTables'] = FALSE; // mark used tables, make possible to show
213 // locked tables (since MySQL 3.23.30)
214 $cfg['ShowSQL'] = TRUE; // show SQL queries as run
215 $cfg['AllowUserDropDatabase'] = FALSE; // show a 'Drop database' link to normal users
216 $cfg['Confirm'] = TRUE; // confirm 'DROP TABLE' & 'DROP DATABASE'
217 $cfg['LoginCookieRecall'] = TRUE; // recall previous login in cookie auth. mode or not
218 $cfg['LoginCookieValidity'] = 1800; // validity of cookie login (in seconds)
219 $cfg['UseDbSearch'] = TRUE; // whether to enable the "database search" feature
221 $cfg['IgnoreMultiSubmitErrors'] = FALSE; // if set to true, PMA continues computing multiple-statement queries
222 // even if one of the queries failed
223 $cfg['VerboseMultiSubmit'] = TRUE; // if set to true, PMA will show the affected rows of EACH statement on
224 // multiple-statement queries. See the read_dump.php file for hardcoded
225 // defaults on how many queries a statement may contain!
226 $cfg['AllowArbitraryServer'] = FALSE; // allow login to any user entered server in cookie based auth
229 $cfg['LeftFrameLight'] = TRUE; // use a select-based menu and display only the
230 // current tables in the left frame.
231 $cfg['LeftFrameTableSeparator']= '__'; // Which string will be used to generate table prefixes
232 // to split/nest tables into multiple categories
233 $cfg['LeftFrameTableLevel'] = '1'; // How many sublevels should be displayed when splitting
234 // up tables by the above Separator
235 $cfg['ShowTooltip'] = TRUE; // display table comment as tooltip in left frame
236 $cfg['ShowTooltipAliasDB'] = FALSE; // if ShowToolTip is enabled, this defines that table/db comments
237 $cfg['ShowTooltipAliasTB'] = FALSE; // are shown (in the left menu and db_details_structure) instead of
238 // table/db names. Setting ShowTooltipAliasTB to 'nested' will only
239 // use the Aliases for nested descriptors, not the table itself.
241 $cfg['LeftDisplayLogo'] = TRUE; // display logo at top of left frame
242 $cfg['LeftDisplayServers'] = FALSE; // display server choice at top of left frame
243 $cfg['DisplayServersList'] = FALSE; // server choice as links
245 // In the main frame, at startup...
246 $cfg['ShowStats'] = TRUE; // allow to display statistics and space usage in
247 // the pages about database details and table
249 $cfg['ShowMysqlInfo'] = FALSE; // whether to display the "MySQL runtime
250 $cfg['ShowMysqlVars'] = FALSE; // information", "MySQL system variables", "PHP
251 $cfg['ShowPhpInfo'] = FALSE; // information" and "change password" links for
252 $cfg['ShowChgPassword'] = FALSE; // simple users or not
253 $cfg['SuggestDBName'] = TRUE; // suggest a new DB name if possible (false = keep empty)
256 $cfg['ShowBlob'] = FALSE; // display blob field contents
257 $cfg['NavigationBarIconic'] = TRUE; // do not display text inside navigation bar buttons
258 $cfg['ShowAll'] = FALSE; // allows to display all the rows
259 $cfg['MaxRows'] = 30; // maximum number of rows to display
260 $cfg['Order'] = 'ASC'; // default for 'ORDER BY' clause (valid
261 // values are 'ASC', 'DESC' or 'SMART' -ie
262 // descending order for fields of type
263 // TIME, DATE, DATETIME & TIMESTAMP,
264 // ascending order else-)
267 $cfg['ProtectBinary'] = 'blob'; // disallow editing of binary fields
269 // FALSE allow editing
270 // 'blob' allow editing except for BLOB fields
271 // 'all' disallow editing
272 $cfg['ShowFunctionFields'] = TRUE; // Display the function fields in edit/insert mode
273 $cfg['CharEditing'] = 'input';
274 // Which editor should be used for CHAR/VARCHAR fields:
275 // input - allows limiting of input length
276 // textarea - allows newlines in fields
277 $cfg['InsertRows'] = 2; // How many rows can be inserted at one time
279 $cfg['ForeignKeyDropdownOrder'] = // Sort order for items in a foreign-key dropdown box.
280 array( 'content-id', 'id-content'); // 'content' is the referenced data, 'id' is the key value.
281 $cfg['ForeignKeyMaxLimit'] = 100; // A dropdown will be used if fewer items are present
284 // For the export features...
285 $cfg['ZipDump'] = TRUE; // Allow the use of zip/gzip/bzip
286 $cfg['GZipDump'] = TRUE; // compression for
287 $cfg['BZipDump'] = TRUE; // dump files
288 $cfg['CompressOnFly'] = TRUE; // Will compress gzip/bzip2 exports on
289 // fly without need for much memory.
290 // If you encounter problems with
291 // created gzip/bzip2 files disable
294 // Tabs display settings
295 $cfg['LightTabs'] = FALSE; // use graphically less intense menu tabs
296 $cfg['PropertiesIconic'] = TRUE; // Use icons instead of text for the table display of a database (TRUE|FALSE|'both')
297 $cfg['PropertiesNumColumns'] = 1; // How many columns should be used for table display of a database?
298 // (a value larger than 1 results in some information being hidden)
300 $cfg['DefaultTabServer'] = 'main.php';
302 // 'main.php' = the welcome page
303 // (recommended for multiuser setups)
304 // 'server_databases.php' = list of databases
305 // 'server_status.php' = runtime information
306 // 'server_variables.php' = MySQL server variables
307 // 'server_privileges.php' = user management
308 // 'server_processlist.php' = process list
309 $cfg['DefaultTabDatabase'] = 'db_details_structure.php';
311 // 'db_details_structure.php' = tables list
312 // 'db_details.php' = sql form
313 // 'db_search.php' = search query
314 // 'db_operations.php' = operations on database
315 $cfg['DefaultTabTable'] = 'tbl_properties_structure.php';
317 // 'tbl_properties_structure.php' = fields list
318 // 'tbl_properties.php' = sql form
319 // 'tbl_select.php = select page
320 // 'tbl_change.php = insert row page
326 $cfg['Export']['format'] = 'sql'; // sql/latex/excel/csv/xml/xls/htmlexcel/htmlword
327 $cfg['Export']['compression'] = 'none'; // none/zip/gzip/bzip2
329 $cfg['Export']['asfile'] = FALSE;
330 $cfg['Export']['onserver'] = FALSE;
331 $cfg['Export']['onserver_overwrite'] = FALSE;
332 $cfg['Export']['remember_file_template'] = TRUE;
333 $cfg['Export']['file_template_table'] = '__TABLE__';
334 $cfg['Export']['file_template_database'] = '__DB__';
335 $cfg['Export']['file_template_server'] = '__SERVER__';
337 $cfg['Export']['htmlexcel_columns'] = FALSE;
338 $cfg['Export']['htmlexcel_null'] = 'NULL';
340 $cfg['Export']['htmlword_structure'] = TRUE;
341 $cfg['Export']['htmlword_data'] = TRUE;
342 $cfg['Export']['htmlword_columns'] = FALSE;
343 $cfg['Export']['htmlword_null'] = 'NULL';
345 $cfg['Export']['xls_columns'] = FALSE;
346 $cfg['Export']['xls_null'] = 'NULL';
348 $cfg['Export']['csv_columns'] = FALSE;
349 $cfg['Export']['csv_null'] = 'NULL';
350 $cfg['Export']['csv_separator'] = ';';
351 $cfg['Export']['csv_enclosed'] = '"';
352 $cfg['Export']['csv_escaped'] = '\\';
353 $cfg['Export']['csv_terminated'] = 'AUTO';
354 $cfg['Export']['excel_columns'] = FALSE;
355 $cfg['Export']['excel_null'] = 'NULL';
356 $cfg['Export']['excel_edition'] = 'win'; // win/mac
358 $cfg['Export']['latex_structure'] = TRUE;
359 $cfg['Export']['latex_data'] = TRUE;
360 $cfg['Export']['latex_columns'] = TRUE;
361 $cfg['Export']['latex_relation'] = TRUE;
362 $cfg['Export']['latex_comments'] = TRUE;
363 $cfg['Export']['latex_mime'] = TRUE;
364 $cfg['Export']['latex_null'] = '\textit{NULL}';
365 $cfg['Export']['latex_caption'] = TRUE;
366 $cfg['Export']['latex_data_label'] = 'tab:__TABLE__-data';
367 $cfg['Export']['latex_structure_label'] = 'tab:__TABLE__-structure';
369 $cfg['Export']['sql_structure'] = TRUE;
370 $cfg['Export']['sql_data'] = TRUE;
371 $cfg['Export']['sql_compat'] = 'NONE';
372 $cfg['Export']['sql_disable_fk'] = FALSE;
373 $cfg['Export']['sql_use_transaction'] = FALSE;
374 $cfg['Export']['sql_drop_database'] = FALSE;
375 $cfg['Export']['sql_drop_table'] = FALSE;
376 $cfg['Export']['sql_if_not_exists'] = FALSE;
377 $cfg['Export']['sql_auto_increment'] = TRUE;
378 $cfg['Export']['sql_backquotes'] = TRUE;
379 $cfg['Export']['sql_dates'] = FALSE;
380 $cfg['Export']['sql_relation'] = FALSE;
381 $cfg['Export']['sql_columns'] = FALSE;
382 $cfg['Export']['sql_delayed'] = FALSE;
383 $cfg['Export']['sql_ignore'] = FALSE;
384 $cfg['Export']['sql_hex_for_binary'] = TRUE;
385 $cfg['Export']['sql_type'] = 'insert'; // insert/update/replace
386 $cfg['Export']['sql_extended'] = FALSE;
387 $cfg['Export']['sql_comments'] = FALSE;
388 $cfg['Export']['sql_mime'] = FALSE;
389 $cfg['Export']['sql_header_comment'] = ''; // \n is replaced by new line
392 * Link to the official MySQL documentation.
393 * Be sure to include no trailing slash on the path.
394 * See http://dev.mysql.com/doc/ for more information
395 * about MySQL manuals and their types.
397 $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/mysql/en';
400 * Type of MySQL documentation:
401 * old - old style used in phpMyAdmin 2.3.0 and sooner
402 * searchable - "Searchable, with user comments"
403 * chapters - "HTML, one page per chapter"
404 * big - "HTML, all on one page"
405 * none - do not show documentation links
407 $cfg['MySQLManualType'] = 'searchable';
413 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
414 $cfg['PDFDefaultPageSize'] = 'A4';
418 * Language and charset conversion settings
420 // Default language to use, if not browser-defined or user-defined
421 $cfg['DefaultLang'] = 'en-iso-8859-1';
423 // Force: always use this language - must be defined in
424 // libraries/select_lang.lib.php
425 // $cfg['Lang'] = 'en-iso-8859-1';
427 // Default charset to use for recoding of MySQL queries, does not take
428 // any effect when charsets recoding is switched off by
429 // $cfg['AllowAnywhereRecoding'] or in language file
430 // (see $cfg['AvailableCharsets'] to possible choices, you can add your own)
431 $cfg['DefaultCharset'] = 'iso-8859-1';
433 // Allow charset recoding of MySQL queries, must be also enabled in language
434 // file to make harder using other language files than unicode.
435 // Default value is FALSE to avoid problems on servers without the iconv
436 // extension and where dl() is not supported
437 $cfg['AllowAnywhereRecoding'] = FALSE;
439 // You can select here which functions will be used for charset conversion.
440 // Possible values are:
441 // auto - automatically use available one (first is tested iconv, then
443 // iconv - use iconv or libiconv functions
444 // recode - use recode_string function
445 $cfg['RecodingEngine'] = 'auto';
447 // Specify some parameters for iconv used in charset conversion. See iconv
448 // documentation for details:
449 // http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
450 $cfg['IconvExtraParams'] = '';
452 // Available charsets for MySQL conversion. currently contains all which could
453 // be found in lang/* files and few more.
454 // Charsets will be shown in same order as here listed, so if you frequently
455 // use some of these move them to the top.
456 $cfg['AvailableCharsets'] = array(
490 * Customization & design
492 * The graphical settings are now located in themes/themename/layout.inc.php
495 $cfg['LeftPointerEnable'] = TRUE; // enable the left panel pointer
496 // (used when LeftFrameLight is FALSE)
497 // see also LeftPointerColor
500 $cfg['BrowsePointerEnable'] = TRUE; // enable the browse pointer
501 // see also BrowsePointerColor
504 $cfg['BrowseMarkerEnable'] = TRUE; // enable the browse marker
505 // see also BrowseMarkerColor
508 $cfg['TextareaCols'] = 40; // textarea size (columns) in edit mode
509 // (this value will be emphasized (*2) for sql
510 // query textareas and (*1.25) for query window)
511 $cfg['TextareaRows'] = 7; // textarea size (rows) in edit mode
512 $cfg['LongtextDoubleTextarea'] = TRUE; // double size of textarea size for longtext fields
513 $cfg['TextareaAutoSelect'] = TRUE; // autoselect when clicking in the textarea of the querybox
514 $cfg['CharTextareaCols'] = 40; // textarea size (columns) for CHAR/VARCHAR
515 $cfg['CharTextareaRows'] = 2; // textarea size (rows) for CHAR/VARCHAR
516 $cfg['CtrlArrowsMoving'] = TRUE; // Enable Ctrl+Arrows moving between fields when editing?
517 $cfg['LimitChars'] = 50; // Max field data length in browse mode for all non-numeric fields
518 $cfg['ModifyDeleteAtLeft'] = TRUE; // show edit/delete links on left side of browse
519 // (or at the top with vertical browse)
520 $cfg['ModifyDeleteAtRight'] = FALSE; // show edit/delete links on right side of browse
521 // (or at the bottom with vertical browse)
522 $cfg['DefaultDisplay'] = 'horizontal'; // default display direction
523 // (horizontal|vertical|horizontalflipped)
524 $cfg['DefaultPropDisplay'] = 'horizontal'; // default display direction for altering/
525 // creating columns (tbl_properties)
526 // (horizontal|vertical)
528 $cfg['HeaderFlipType'] = 'css'; // table-header rotation via faking or css? (css|fake)
529 // NOTE: CSS only works in IE browsers!
530 $cfg['ShowBrowseComments'] = TRUE; // shows stored relation-comments in 'browse' mode.
531 $cfg['ShowPropertyComments']= TRUE; // shows stored relation-comments in 'table property' mode.
532 $cfg['RepeatCells'] = 100; // repeat header names every X cells? (0 = deactivate)
534 $cfg['QueryFrame'] = TRUE; // displays a link or icon in the left frame to open the querybox, and activates the querybox when clicking on [Edit] on the results page.
535 $cfg['QueryFrameJS'] = TRUE; // whether to use JavaScript functions for opening a new window for SQL commands.
536 // if set to 'false', the target of the querybox is always the right frame.
537 $cfg['QueryWindowWidth'] = 550; // Width of Query window
538 $cfg['QueryWindowHeight'] = 310; // Height of Query window
539 $cfg['QueryHistoryDB'] = FALSE; // Set to TRUE if you want DB-based query history.
540 // If FALSE, this utilizes JS-routines to display
541 // query history (lost by window close)
542 $cfg['QueryWindowDefTab'] = 'sql'; // which tab to display in the querywindow on startup
543 // (sql|files|history|full)
544 $cfg['QueryHistoryMax'] = 25; // When using DB-based query history, how many entries
546 $cfg['BrowseMIME'] = TRUE; // Use MIME-Types (stored in column comments table) for
547 $cfg['MaxExactCount'] = 20000; // When approximate count < this, PMA will get exact count for
549 $cfg['WYSIWYG-PDF'] = TRUE; // Utilize DHTML/JS capabilities to allow WYSIWYG editing of
550 // the PDF page editor. Requires an IE6/Mozilla based browser.
552 $cfg['NaturalOrder'] = TRUE; // Sort table and database in natural order
555 //-----------------------------------------------------------------------------
556 // custom-setup by mkkeck: 2004-05-04
557 // some specials for new icons and scrollings
559 // 2004-05-08 rabus: We need to rearrange these variables.
561 $cfg['ShowHttpHostTitle'] = TRUE; // show HttpHost in browsers window title (true|false)?
562 $cfg['SetHttpHostTitle'] = ''; // if ShowHttpHostTitle=true, please set your host (server)
563 // or an other string, wich should be shown in browsers window title.
564 // If not set (or empty), the PMA will get your real Host-Adress.
566 $cfg['ErrorIconic'] = TRUE; // show some icons for warning, error and information messages (true|false)?
567 $cfg['MainPageIconic'] = TRUE; // show icons in list on main page, on right panel top menu (server db table) and on menu tabs (true|false)?
568 $cfg['ReplaceHelpImg'] = TRUE; // show help button instead of strDocumentation (true|false)?
571 $cfg['ThemePath'] = './themes'; // using themes manager please set up here the path to 'themes'
573 $cfg['ThemeManager'] = TRUE; // if you want to use selectable themes and if ThemesPath not empty
574 // set it to true, else set it to false (default is false);
575 $cfg['ThemeDefault'] = 'original'; // set up default theme, if ThemePath not empty
576 // you can set up here an valid path to themes or 'original' for
577 // the original pma-theme
578 $cfg['ThemePerServer'] = FALSE; // allow diferent theme for each configured server
580 //-----------------------------------------------------------------------------
585 * %d will be replaced by the database name.
586 * %t will be replaced by the table name.
587 * %f will be replaced by a list of field names.
588 * (%t and %f only applies to DefaultQueryTable)
590 $cfg['DefaultQueryTable'] = 'SELECT * FROM %t WHERE 1';
591 $cfg['DefaultQueryDatabase'] = '';
594 * SQL Query box settings
595 * These are the links display in all of the SQL Query boxes
597 $cfg['SQLQuery']['Edit'] = TRUE; // Edit link to change a query
598 $cfg['SQLQuery']['Explain'] = TRUE; // EXPLAIN on SELECT queries
599 $cfg['SQLQuery']['ShowAsPHP'] = TRUE; // Wrap a query in PHP
600 $cfg['SQLQuery']['Validate'] = FALSE; // Validate a query (see $cfg['SQLValidator'] as well)
601 $cfg['SQLQuery']['Refresh'] = TRUE; // Refresh the results page
605 * Webserver upload/save/import directories
607 $cfg['UploadDir'] = ''; // Directory for uploaded files that can be executed by
608 // phpMyAdmin. For example './upload'. Leave empty for
609 // no upload directory support
610 $cfg['SaveDir'] = ''; // Directory where phpMyAdmin can save exported data on
611 // server. For example './save'. Leave empty for no save
612 // directory support.
613 $cfg['docSQLDir'] = ''; // Directory for docSQL imports, phpMyAdmin can import
614 // docSQL files from that directory. For example
615 // './docSQL'. Leave empty for no docSQL import support.
616 $cfg['TempDir'] = ''; // Directory where phpMyAdmin can save temporary files.
617 // This is needed for MS Excel export, see documentation
618 // how to enable that.
624 $cfg['GD2Available'] = 'auto'; // Is GD >= 2 available? Set to yes/no/auto. 'auto'
625 // does autodetection, which is a bit expensive for
626 // php < 4.3.0, but it is the only safe vay how to
627 // determine GD version.
629 * SQL Parser Settings
631 $cfg['SQP']['fmtType'] = 'html'; // Pretty-printing style to use on queries (html, text, none)
632 $cfg['SQP']['fmtInd'] = '1'; // Amount to indent each level (floats ok)
633 $cfg['SQP']['fmtIndUnit'] = 'em'; // Units for indenting each level (CSS Types - {em,px,pt})
634 // The graphical settings are now located in themes/themename/layout.inc.php
637 * If you wish to use the SQL Validator service, you should be
638 * aware of the following:
639 * All SQL statements are stored anonymously for statistical purposes.
640 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
641 * All rights reserved.
643 $cfg['SQLValidator']['use'] = FALSE; // Make the SQL Validator available
644 $cfg['SQLValidator']['username'] = ''; // If you have a custom username, specify it here (defaults to anonymous)
645 $cfg['SQLValidator']['password'] = ''; // Password for username
649 * To use the following, please install the DBG extension from http://dd.cron.ru/dbg/
651 $cfg['DBG']['enable'] = FALSE; // Make the DBG stuff available
652 $cfg['DBG']['profile']['enable'] = FALSE; // Produce profiling results of PHP
653 $cfg['DBG']['profile']['threshold'] = 0.5; // Threshold of long running code to display
654 // Anything below the threshold is not displayed
661 // varchar, tinyint, text and date are listed first, based on estimated popularity
662 $cfg['ColumnTypes'] = array(
691 // Note: the "ON UPDATE CURRENT_TIMESTAMP" attribute is added dynamically
692 // for MySQL >= 4.1.2, in tbl_properties.inc.php
694 $cfg['AttributeTypes'] = array(
701 // Available functions
702 if ($cfg['ShowFunctionFields']) {
703 $cfg['Functions'] = array(
733 // Which column types will be mapped to which Group?
734 $cfg['RestrictColumnTypes'] = array(
735 'VARCHAR' => 'FUNC_CHAR',
736 'TINYINT' => 'FUNC_NUMBER',
737 'TEXT' => 'FUNC_CHAR',
738 'DATE' => 'FUNC_DATE',
739 'SMALLINT' => 'FUNC_NUMBER',
740 'MEDIUMINT' => 'FUNC_NUMBER',
741 'INT' => 'FUNC_NUMBER',
742 'BIGINT' => 'FUNC_NUMBER',
743 'FLOAT' => 'FUNC_NUMBER',
744 'DOUBLE' => 'FUNC_NUMBER',
745 'DECIMAL' => 'FUNC_NUMBER',
746 'DATETIME' => 'FUNC_DATE',
747 'TIMESTAMP' => 'FUNC_DATE',
748 'TIME' => 'FUNC_DATE',
749 'YEAR' => 'FUNC_DATE',
750 'CHAR' => 'FUNC_CHAR',
751 'TINYBLOB' => 'FUNC_CHAR',
752 'TINYTEXT' => 'FUNC_CHAR',
753 'BLOB' => 'FUNC_CHAR',
754 'MEDIUMBLOB' => 'FUNC_CHAR',
755 'MEDIUMTEXT' => 'FUNC_CHAR',
756 'LONGBLOB' => 'FUNC_CHAR',
757 'LONGTEXT' => 'FUNC_CHAR',
762 // Map above defined groups to any function
763 $cfg['RestrictFunctions'] = array(
764 'FUNC_CHAR' => array(
780 'FUNC_DATE' => array(
793 'FUNC_NUMBER' => array(
808 // Default functions for above defined groups
809 $cfg['DefaultFunctions'] = array(
813 'first_timestamp' => 'NOW'
820 $cfg['NumOperators'] = array(
831 $cfg['TextOperators'] = array(
841 $cfg['EnumOperators'] = array(
846 $cfg['SetOperators'] = array(
851 $cfg['NullOperators'] = array(
856 $cfg['UnaryOperators'] = array(
862 * Unset magic_quotes_runtime - do not change!
864 set_magic_quotes_runtime(0);
867 * File Revision - do not change either!
869 $cfg['FileRevision'] = '$Revision$';