2 /* vim: set expandtab sw=4 ts=4 sts=4: */
5 * N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !!
6 * NN N O O !! D D O O NN N O O T E D D I T !!
7 * N N N O O !! D D O O N N N O O T EEEE D D I T !!
8 * N NN O O D D O O N NN O O T E D D I T
9 * N N OOO !! DDDD OOO N N OOO T EEEE DDDD I T !!
12 * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
14 * phpMyAdmin default configuration, you can copy values from here to your
17 * All directives are explained in Documentation.html
23 * Your phpMyAdmin URL.
25 * Complete the variable below with the full URL ie
26 * http://www.your_web.net/path_to_your_phpMyAdmin_directory/
28 * It must contain characters that are valid for a URL, and the path is
29 * case sensitive on some Web servers, for example Unix-based servers.
31 * In most cases you can leave this variable empty, as the correct value
32 * will be detected automatically. However, we recommend that you do
33 * test to see that the auto-detection code works in your system. A good
34 * test is to browse a table, then edit a row and save it. There will be
35 * an error message if phpMyAdmin cannot auto-detect the correct value.
37 * @global string $cfg['PmaAbsoluteUri']
39 $cfg['PmaAbsoluteUri'] = '';
42 * Disable the default warning that is displayed on the DB Details Structure page if
43 * any of the required Tables for the relation features could not be found
45 * @global boolean $cfg['PmaNoRelation_DisableWarning']
47 $cfg['PmaNoRelation_DisableWarning'] = false;
50 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
51 * at least one server configuration uses 'cookie' auth_type, enter here a
52 * pass phrase that will be used by blowfish. The maximum length seems to be 46
55 * @global string $cfg['blowfish_secret']
57 $cfg['blowfish_secret'] = '';
60 /*******************************************************************************
61 * Server(s) configuration
63 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
64 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
65 * to ''. If you want more than one server, just copy following section
66 * (including $i incrementation) several times. There is no need to define
67 * full server array, just define values you need to change.
69 * @global array $cfg['Servers']
71 $cfg['Servers'] = array();
76 * MySQL hostname or IP address
78 * @global string $cfg['Servers'][$i]['host']
80 $cfg['Servers'][$i]['host'] = 'localhost';
83 * MySQL port - leave blank for default port
85 * @global string $cfg['Servers'][$i]['port']
87 $cfg['Servers'][$i]['port'] = '';
90 * Path to the socket - leave blank for default socket
92 * @global string $cfg['Servers'][$i]['socket']
94 $cfg['Servers'][$i]['socket'] = '';
97 * Use SSL for connecting to MySQL server?
99 * @global boolean $cfg['Servers'][$i]['ssl']
101 $cfg['Servers'][$i]['ssl'] = false;
104 * How to connect to MySQL server ('tcp' or 'socket')
106 * @global string $cfg['Servers'][$i]['connect_type']
108 $cfg['Servers'][$i]['connect_type'] = 'tcp';
111 * The PHP MySQL extension to use ('mysql' or 'mysqli')
113 * @global string $cfg['Servers'][$i]['extension']
115 $cfg['Servers'][$i]['extension'] = 'mysql';
118 * Use compressed protocol for the MySQL connection (requires PHP >= 4.3.0)
120 * @global boolean $cfg['Servers'][$i]['compress']
122 $cfg['Servers'][$i]['compress'] = false;
125 * MySQL control user settings (this user must have read-only
127 * @global string $cfg['Servers'][$i]['controluser']
129 $cfg['Servers'][$i]['controluser'] = '';
132 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
133 * used for all relational features (pmadb)
135 * @global string $cfg['Servers'][$i]['controlpass']
137 $cfg['Servers'][$i]['controlpass'] = '';
140 * Authentication method (valid choices: config, http, signon or cookie)
142 * @global string $cfg['Servers'][$i]['auth_type']
144 $cfg['Servers'][$i]['auth_type'] = 'config';
149 * @global string $cfg['Servers'][$i]['user']
151 $cfg['Servers'][$i]['user'] = 'root';
154 * MySQL password (only needed with 'config' auth_type)
156 * @global string $cfg['Servers'][$i]['password']
158 $cfg['Servers'][$i]['password'] = '';
161 * Session to use for 'signon' authentication method
163 * @global string $cfg['Servers'][$i]['SignonSession']
165 $cfg['Servers'][$i]['SignonSession'] = '';
168 * URL where to redirect user to login for 'signon' authentication method
170 * @global string $cfg['Servers'][$i]['SignonURL']
172 $cfg['Servers'][$i]['SignonURL'] = '';
175 * URL where to redirect user after logout
177 * @global string $cfg['Servers'][$i]['LogoutURL']
179 $cfg['Servers'][$i]['LogoutURL'] = '';
182 * Whether to try to connect without password
184 * @global boolean $cfg['Servers'][$i]['nopassword']
186 $cfg['Servers'][$i]['nopassword'] = false;
189 * If set to a db-name, only this db is displayed in left frame
190 * It may also be an array of db-names, where sorting order is relevant.
192 * @global string $cfg['Servers'][$i]['only_db']
194 $cfg['Servers'][$i]['only_db'] = '';
197 * Database name to be hidden from listings
199 * @global string $cfg['Servers'][$i]['hide_db']
201 $cfg['Servers'][$i]['hide_db'] = '';
204 * Verbose name for this host - leave blank to show the hostname
205 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
207 * @global string $cfg['Servers'][$i]['verbose']
209 $cfg['Servers'][$i]['verbose'] = '';
212 * Database used for Relation, Bookmark and PDF Features
213 * (see scripts/create_tables.sql)
214 * - leave blank for no support
215 * DEFAULT: 'phpmyadmin'
217 * @global string $cfg['Servers'][$i]['pmadb']
219 $cfg['Servers'][$i]['pmadb'] = '';
223 * - leave blank for no bookmark support
224 * DEFAULT: 'pma_bookmark'
226 * @global string $cfg['Servers'][$i]['bookmarktable']
228 $cfg['Servers'][$i]['bookmarktable'] = '';
231 * table to describe the relation between links (see doc)
232 * - leave blank for no relation-links support
233 * DEFAULT: 'pma_relation'
235 * @global string $cfg['Servers'][$i]['relation']
237 $cfg['Servers'][$i]['relation'] = '';
240 * table to describe the display fields
241 * - leave blank for no display fields support
242 * DEFAULT: 'pma_table_info'
244 * @global string $cfg['Servers'][$i]['table_info']
246 $cfg['Servers'][$i]['table_info'] = '';
249 * table to describe the tables position for the PDF schema
250 * - leave blank for no PDF schema support
251 * DEFAULT: 'pma_table_coords'
253 * @global string $cfg['Servers'][$i]['table_coords']
255 $cfg['Servers'][$i]['table_coords'] = '';
258 * table to describe pages of relationpdf
259 * - leave blank if you don't want to use this
260 * DEFAULT: 'pma_pdf_pages'
262 * @global string $cfg['Servers'][$i]['pdf_pages']
264 $cfg['Servers'][$i]['pdf_pages'] = '';
267 * table to store column information
268 * - leave blank for no column comments/mime types
269 * DEFAULT: 'pma_column_info'
271 * @global string $cfg['Servers'][$i]['column_info']
273 $cfg['Servers'][$i]['column_info'] = '';
276 * table to store SQL history
277 * - leave blank for no SQL query history
278 * DEFAULT: 'pma_history'
280 * @global string $cfg['Servers'][$i]['history']
282 $cfg['Servers'][$i]['history'] = '';
285 * table to store the coordinates for Designer
286 * - leave blank for no Designer feature
287 * DEFAULT: 'pma_designer_coords'
289 * @global string $cfg['Servers'][$i]['designer_coords']
291 $cfg['Servers'][$i]['designer_coords'] = '';
294 * set to false if you know that your pma_* tables are up to date.
295 * This prevents compatibility checks and thereby increases performance.
297 * @global boolean $cfg['Servers'][$i]['verbose_check']
299 $cfg['Servers'][$i]['verbose_check'] = true;
302 * whether to allow root login
304 * @global boolean $cfg['Servers'][$i]['AllowRoot']
306 $cfg['Servers'][$i]['AllowRoot'] = true;
309 * Host authentication order, leave blank to not use
311 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
313 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
316 * Disable use of INFORMATION_SCHEMA
318 * @see http://sf.net/support/tracker.php?aid=1849494
319 * @see http://bugs.mysql.com/19588
320 * @global boolean $cfg['Servers'][$i]['DisableIS']
322 $cfg['Servers'][$i]['DisableIS'] = true;
325 * Host authentication rules, leave blank for defaults
327 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
329 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
332 * Default server (0 = no default server)
334 * If you have more than one server configured, you can set $cfg['ServerDefault']
335 * to any one of them to auto-connect to that server when phpMyAdmin is started,
336 * or set it to 0 to be given a list of servers without logging in
337 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
338 * set to that server.
340 * @global integer $cfg['ServerDefault']
342 $cfg['ServerDefault'] = 1;
345 * Other core phpMyAdmin settings
348 * maximum number of db's displayed in left frame and database list
350 * @global integer $cfg['MaxDbList']
352 $cfg['MaxDbList'] = 100;
355 * maximum number of tables displayed in table list
357 * @global integer $cfg['MaxTableList']
359 $cfg['MaxTableList'] = 250;
362 * maximum number of characters when a SQL query is displayed
364 * @global integer $cfg['MaxCharactersInDisplayedSQL']
366 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
369 * use GZIP output buffering if possible (true|false|'auto')
371 * @global string $cfg['OBGzip']
373 $cfg['OBGzip'] = 'auto';
376 * use persistent connections to MySQL database
378 * @global boolean $cfg['PersistentConnections']
380 $cfg['PersistentConnections'] = false;
383 * whether to force using HTTPS
385 * @global boolean $cfg['ForceSSL']
387 $cfg['ForceSSL'] = false;
390 * maximum execution time in seconds (0 for no limit)
392 * @global integer $cfg['ExecTimeLimit']
394 $cfg['ExecTimeLimit'] = 300;
397 * maximum allocated bytes (0 for no limit)
399 * @global integer $cfg['MemoryLimit']
401 $cfg['MemoryLimit'] = 0;
404 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
406 * @global boolean $cfg['SkipLockedTables']
408 $cfg['SkipLockedTables'] = false;
411 * show SQL queries as run
413 * @global boolean $cfg['ShowSQL']
415 $cfg['ShowSQL'] = true;
418 * show a 'Drop database' link to normal users
420 * @global boolean $cfg['AllowUserDropDatabase']
422 $cfg['AllowUserDropDatabase'] = false;
425 * confirm 'DROP TABLE' & 'DROP DATABASE'
427 * @global boolean $cfg['Confirm']
429 $cfg['Confirm'] = true;
432 * recall previous login in cookie authentication mode or not
434 * @global boolean $cfg['LoginCookieRecall']
436 $cfg['LoginCookieRecall'] = true;
439 * validity of cookie login (in seconds)
441 * @global integer $cfg['LoginCookieValidity']
443 $cfg['LoginCookieValidity'] = 1800;
446 * how long login cookie should be stored (in seconds)
448 * @global integer $cfg['LoginCookieStore']
450 $cfg['LoginCookieStore'] = 0;
453 * whether to delete all login cookies on logout
455 * @global boolean $cfg['LoginCookieDeleteAll']
457 $cfg['LoginCookieDeleteAll'] = true;
460 * whether to enable the "database search" feature or not
462 * @global boolean $cfg['UseDbSearch']
464 $cfg['UseDbSearch'] = true;
467 * if set to true, PMA continues computing multiple-statement queries
468 * even if one of the queries failed
470 * @global boolean $cfg['IgnoreMultiSubmitErrors']
472 $cfg['IgnoreMultiSubmitErrors'] = false;
475 * if set to true, PMA will show the affected rows of EACH statement on
476 * multiple-statement queries. See the libraries/import.php file for
477 * hard coded defaults on how many queries a statement may contain!
479 * @global boolean $cfg['VerboseMultiSubmit']
481 $cfg['VerboseMultiSubmit'] = true;
484 * allow login to any user entered server in cookie based authentication
486 * @global boolean $cfg['AllowArbitraryServer']
488 $cfg['AllowArbitraryServer'] = false;
491 /*******************************************************************************
492 * Error handler configuration
494 * this configures phpMyAdmins own error handler, it is used to avoid information
495 * dislcosure, gather errors for logging, reporting and displaying
497 * @global array $cfg['Error_Handler']
499 $cfg['Error_Handler'] = array();
502 * whether to display errors or not
504 * this does not affect errors of type E_USER_*
506 * @global boolean $cfg['Error_Handler']['display']
508 $cfg['Error_Handler']['display'] = false;
511 * where to log errors, false or empty to disable
514 * // EXAMPLE log to std PHP error log
515 * $cfg['Error_Handler']['log'] = array(0);
516 * // EXAMPLE mail errors
517 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
518 * // EXAMPLE append to specific file
519 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
522 * @see http://php.net/error_log
523 * @global string $cfg['Error_Handler']['log']
525 $cfg['Error_Handler']['log'] = false;
528 * gather all errors in session to be displayed on a error reporting page
529 * for viewing and/or sending to phpMyAdmin developer team
531 * @global boolean $cfg['Error_Handler']['gather']
533 $cfg['Error_Handler']['gather'] = false;
536 /*******************************************************************************
541 * use a select-based menu and display only the current tables in the left frame.
543 * @global boolean $cfg['LeftFrameLight']
545 $cfg['LeftFrameLight'] = true;
548 * turn the select-based light menu into a tree
550 * @global boolean $cfg['LeftFrameDBTree']
552 $cfg['LeftFrameDBTree'] = true;
555 * the separator to sub-tree the select-based light menu tree
557 * @global string $cfg['LeftFrameDBSeparator']
559 $cfg['LeftFrameDBSeparator'] = '_';
562 * Which string will be used to generate table prefixes
563 * to split/nest tables into multiple categories
565 * @global string $cfg['LeftFrameTableSeparator']
567 $cfg['LeftFrameTableSeparator']= '__';
570 * How many sublevels should be displayed when splitting up tables by the above Separator
572 * @global integer $cfg['LeftFrameTableLevel']
574 $cfg['LeftFrameTableLevel'] = '1';
577 * display table comment as tooltip in left frame
579 * @global boolean $cfg['ShowTooltip']
581 $cfg['ShowTooltip'] = true;
584 * if ShowToolTip is enabled, this defines that table/db comments
586 * @global boolean $cfg['ShowTooltipAliasDB']
588 $cfg['ShowTooltipAliasDB'] = false;
591 * are shown (in the left menu and db_structure) instead of table/db names.
592 * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
593 * descriptors, not the table itself.
595 * @global boolean $cfg['ShowTooltipAliasTB']
597 $cfg['ShowTooltipAliasTB'] = false;
600 * display logo at top of left frame
602 * @global boolean $cfg['LeftDisplayLogo']
604 $cfg['LeftDisplayLogo'] = true;
607 * where should logo link point to (can also contain an external URL)
609 * @global string $cfg['LeftLogoLink']
611 $cfg['LeftLogoLink'] = 'main.php';
614 * whether to open the linked page in the main window ('main') or
615 * in a new window ('new')
617 * @global string $cfg['LeftLogoLinkWindow']
619 $cfg['LeftLogoLinkWindow'] = 'main';
622 * display server choice at top of left frame
624 * @global boolean $cfg['LeftDisplayServers']
626 $cfg['LeftDisplayServers'] = false;
629 * server choice as links
631 * @global boolean $cfg['DisplayServersList']
633 $cfg['DisplayServersList'] = false;
636 * database choice in light as links
638 * @global boolean $cfg['DisplayDatabasesList']
640 $cfg['DisplayDatabasesList'] = 'auto';
643 * target of the navigation panel quick access icon
646 * 'tbl_structure.php' = fields list
647 * 'tbl_sql.php' = SQL form
648 * 'tbl_select.php' = search page
649 * 'tbl_change.php' = insert row page
650 * 'sql.php' = browse page
652 * @global string $cfg['LeftDefaultTabTable']
654 $cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
657 /*******************************************************************************
658 * In the main frame, at startup...
662 * allow to display statistics and space usage in the pages about database
663 * details and table properties
665 * @global boolean $cfg['ShowStats']
667 $cfg['ShowStats'] = true;
672 * @global boolean $cfg['ShowPhpInfo']
674 $cfg['ShowPhpInfo'] = false;
677 * show MySQL server information
679 * @global boolean $cfg['ShowServerInfo']
681 $cfg['ShowServerInfo'] = true;
684 * show change password link
686 * @global boolean $cfg['ShowChgPassword']
688 $cfg['ShowChgPassword'] = false;
691 * show create database form
693 * @global boolean $cfg['ShowCreateDb']
695 $cfg['ShowCreateDb'] = true;
698 * suggest a new DB name if possible (false = keep empty)
700 * @global boolean $cfg['SuggestDBName']
702 $cfg['SuggestDBName'] = true;
705 /*******************************************************************************
710 * display blob field contents
712 * @global boolean $cfg['ShowBlob']
714 $cfg['ShowBlob'] = false;
717 * Use icons instead of text for the navigation bar buttons
718 * and on right panel top menu (server db table) (true|false|'both')
720 * @global string $cfg['NavigationBarIconic']
722 $cfg['NavigationBarIconic'] = 'both';
725 * allows to display all the rows
727 * @global boolean $cfg['ShowAll']
729 $cfg['ShowAll'] = false;
732 * maximum number of rows to display
734 * @global integer $cfg['MaxRows']
736 $cfg['MaxRows'] = 30;
739 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
740 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
741 * ascending order else-)
743 * @global string $cfg['Order']
745 $cfg['Order'] = 'ASC';
748 /*******************************************************************************
753 * disallow editing of binary fields
755 * false allow editing
756 * 'blob' allow editing except for BLOB fields
757 * 'all' disallow editing
759 * @global string $cfg['ProtectBinary']
761 $cfg['ProtectBinary'] = 'blob';
764 * Display the function fields in edit/insert mode
766 * @global boolean $cfg['ShowFunctionFields']
768 $cfg['ShowFunctionFields'] = true;
771 * Which editor should be used for CHAR/VARCHAR fields:
772 * input - allows limiting of input length
773 * textarea - allows newlines in fields
775 * @global string $cfg['CharEditing']
777 $cfg['CharEditing'] = 'input';
780 * How many rows can be inserted at one time
782 * @global integer $cfg['InsertRows']
784 $cfg['InsertRows'] = 2;
787 * Sort order for items in a foreign-key drop-down list.
788 * 'content' is the referenced data, 'id' is the key value.
790 * @global array $cfg['ForeignKeyDropdownOrder']
792 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
795 * A drop-down list will be used if fewer items are present
797 * @global integer $cfg['ForeignKeyMaxLimit']
799 $cfg['ForeignKeyMaxLimit'] = 100;
802 /*******************************************************************************
803 * For the export features...
807 * Allow the use of zip/gzip/bzip
809 * @global boolean $cfg['ZipDump']
811 $cfg['ZipDump'] = true;
816 * @global boolean $cfg['GZipDump']
818 $cfg['GZipDump'] = true;
823 * @global boolean $cfg['BZipDump']
825 $cfg['BZipDump'] = true;
828 * Will compress gzip/bzip2 exports on fly without need for much memory.
829 * If you encounter problems with created gzip/bzip2 files disable this feature.
831 * @global boolean $cfg['CompressOnFly']
833 $cfg['CompressOnFly'] = true;
836 /*******************************************************************************
837 * Tabs display settings
841 * use graphically less intense menu tabs
843 * @global boolean $cfg['LightTabs']
845 $cfg['LightTabs'] = false;
848 * Use icons instead of text for the table display of a database (true|false|'both')
850 * @global boolean $cfg['PropertiesIconic']
852 $cfg['PropertiesIconic'] = true;
855 * How many columns should be used for table display of a database?
856 * (a value larger than 1 results in some information being hidden)
858 * @global integer $cfg['PropertiesNumColumns']
860 $cfg['PropertiesNumColumns'] = 1;
864 * 'main.php' = the welcome page
865 * (recommended for multiuser setups)
866 * 'server_databases.php' = list of databases
867 * 'server_status.php' = runtime information
868 * 'server_variables.php' = MySQL server variables
869 * 'server_privileges.php' = user management
870 * 'server_processlist.php' = process list
872 * @global string $cfg['DefaultTabServer']
874 $cfg['DefaultTabServer'] = 'main.php';
878 * 'db_structure.php' = tables list
879 * 'db_sql.php' = SQL form
880 * 'db_search.php' = search query
881 * 'db_operations.php' = operations on database
883 * @global string $cfg['DefaultTabDatabase']
885 $cfg['DefaultTabDatabase'] = 'db_structure.php';
889 * 'tbl_structure.php' = fields list
890 * 'tbl_sql.php' = SQL form
891 * 'tbl_select.php' = search page
892 * 'tbl_change.php' = insert row page
893 * 'sql.php' = browse page
895 * @global string $cfg['DefaultTabTable']
897 $cfg['DefaultTabTable'] = 'sql.php';
900 /*******************************************************************************
903 $cfg['Export'] = array();
906 * sql/latex/excel/csv/xml/xls/htmlexcel/htmlword/ods/odt
908 * @global string $cfg['Export']['format']
910 $cfg['Export']['format'] = 'sql';
913 * none/zip/gzip/bzip2
915 * @global string $cfg['Export']['compression']
917 $cfg['Export']['compression'] = 'none';
922 * @global boolean $cfg['Export']['asfile']
924 $cfg['Export']['asfile'] = false;
929 * @global string $cfg['Export']['charset']
931 $cfg['Export']['charset'] = '';
936 * @global boolean $cfg['Export']['onserver']
938 $cfg['Export']['onserver'] = false;
943 * @global boolean $cfg['Export']['onserver_overwrite']
945 $cfg['Export']['onserver_overwrite'] = false;
950 * @global boolean $cfg['Export']['remember_file_template']
952 $cfg['Export']['remember_file_template'] = true;
957 * @global string $cfg['Export']['file_template_table']
959 $cfg['Export']['file_template_table'] = '__TABLE__';
964 * @global string $cfg['Export']['file_template_database']
966 $cfg['Export']['file_template_database'] = '__DB__';
971 * @global string $cfg['Export']['file_template_server']
973 $cfg['Export']['file_template_server'] = '__SERVER__';
978 * @global boolean $cfg['Export']['ods_columns']
980 $cfg['Export']['ods_columns'] = false;
985 * @global string $cfg['Export']['ods_null']
987 $cfg['Export']['ods_null'] = 'NULL';
992 * @global boolean $cfg['Export']['odt_structure']
994 $cfg['Export']['odt_structure'] = true;
999 * @global boolean $cfg['Export']['odt_data']
1001 $cfg['Export']['odt_data'] = true;
1006 * @global boolean $cfg['Export']['odt_columns']
1008 $cfg['Export']['odt_columns'] = true;
1013 * @global boolean $cfg['Export']['odt_relation']
1015 $cfg['Export']['odt_relation'] = true;
1020 * @global boolean $cfg['Export']['odt_comments']
1022 $cfg['Export']['odt_comments'] = true;
1027 * @global boolean $cfg['Export']['odt_mime']
1029 $cfg['Export']['odt_mime'] = true;
1034 * @global string $cfg['Export']['odt_null']
1036 $cfg['Export']['odt_null'] = 'NULL';
1041 * @global boolean $cfg['Export']['htmlexcel_columns']
1043 $cfg['Export']['htmlexcel_columns'] = false;
1048 * @global string $cfg['Export']['htmlexcel_null']
1050 $cfg['Export']['htmlexcel_null'] = 'NULL';
1055 * @global boolean $cfg['Export']['htmlword_structure']
1057 $cfg['Export']['htmlword_structure'] = true;
1062 * @global boolean $cfg['Export']['htmlword_data']
1064 $cfg['Export']['htmlword_data'] = true;
1069 * @global boolean $cfg['Export']['htmlword_columns']
1071 $cfg['Export']['htmlword_columns'] = false;
1076 * @global string $cfg['Export']['htmlword_null']
1078 $cfg['Export']['htmlword_null'] = 'NULL';
1083 * @global boolean $cfg['Export']['texytext_structure']
1085 $cfg['Export']['texytext_structure'] = TRUE;
1090 * @global boolean $cfg['Export']['texytext_data']
1092 $cfg['Export']['texytext_data'] = TRUE;
1097 * @global boolean $cfg['Export']['texytext_columns']
1099 $cfg['Export']['texytext_columns'] = FALSE;
1104 * @global string $cfg['Export']['texytext_null']
1106 $cfg['Export']['texytext_null'] = 'NULL';
1111 * @global boolean $cfg['Export']['xls_columns']
1113 $cfg['Export']['xls_columns'] = false;
1118 * @global string $cfg['Export']['xls_null']
1120 $cfg['Export']['xls_null'] = 'NULL';
1125 * @global boolean $cfg['Export']['csv_columns']
1127 $cfg['Export']['csv_columns'] = false;
1132 * @global string $cfg['Export']['csv_null']
1134 $cfg['Export']['csv_null'] = 'NULL';
1139 * @global string $cfg['Export']['csv_separator']
1141 $cfg['Export']['csv_separator'] = ';';
1146 * @global string $cfg['Export']['csv_enclosed']
1148 $cfg['Export']['csv_enclosed'] = '"';
1153 * @global string $cfg['Export']['csv_escaped']
1155 $cfg['Export']['csv_escaped'] = '\\';
1160 * @global string $cfg['Export']['csv_terminated']
1162 $cfg['Export']['csv_terminated'] = 'AUTO';
1167 * @global boolean $cfg['Export']['excel_columns']
1169 $cfg['Export']['excel_columns'] = false;
1174 * @global string $cfg['Export']['excel_null']
1176 $cfg['Export']['excel_null'] = 'NULL';
1181 * @global string $cfg['Export']['excel_edition']
1183 $cfg['Export']['excel_edition'] = 'win';
1188 * @global boolean $cfg['Export']['latex_structure']
1190 $cfg['Export']['latex_structure'] = true;
1195 * @global boolean $cfg['Export']['latex_data']
1197 $cfg['Export']['latex_data'] = true;
1202 * @global boolean $cfg['Export']['latex_columns']
1204 $cfg['Export']['latex_columns'] = true;
1209 * @global boolean $cfg['Export']['latex_relation']
1211 $cfg['Export']['latex_relation'] = true;
1216 * @global boolean $cfg['Export']['latex_comments']
1218 $cfg['Export']['latex_comments'] = true;
1223 * @global boolean $cfg['Export']['latex_mime']
1225 $cfg['Export']['latex_mime'] = true;
1230 * @global string $cfg['Export']['latex_null']
1232 $cfg['Export']['latex_null'] = '\textit{NULL}';
1237 * @global boolean $cfg['Export']['latex_caption']
1239 $cfg['Export']['latex_caption'] = true;
1244 * @global string $cfg['Export']['latex_structure_caption']
1246 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1251 * @global string $cfg['Export']['latex_structure_continued_caption']
1253 $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1258 * @global string $cfg['Export']['latex_data_caption']
1260 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1265 * @global string $cfg['Export']['latex_data_continued_caption']
1267 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1272 * @global string $cfg['Export']['latex_data_label']
1274 $cfg['Export']['latex_data_label'] = 'tab:__TABLE__-data';
1279 * @global string $cfg['Export']['latex_structure_label']
1281 $cfg['Export']['latex_structure_label'] = 'tab:__TABLE__-structure';
1286 * @global boolean $cfg['Export']['sql_structure']
1288 $cfg['Export']['sql_structure'] = true;
1293 * @global boolean $cfg['Export']['sql_data']
1295 $cfg['Export']['sql_data'] = true;
1300 * @global string $cfg['Export']['sql_compatibility']
1302 $cfg['Export']['sql_compatibility'] = 'NONE';
1307 * @global boolean $cfg['Export']['sql_disable_fk']
1309 $cfg['Export']['sql_disable_fk'] = false;
1314 * @global boolean $cfg['Export']['sql_use_transaction']
1316 $cfg['Export']['sql_use_transaction'] = false;
1321 * @global boolean $cfg['Export']['sql_drop_database']
1323 $cfg['Export']['sql_drop_database'] = false;
1328 * @global boolean $cfg['Export']['sql_drop_table']
1330 $cfg['Export']['sql_drop_table'] = false;
1335 * @global boolean $cfg['Export']['sql_if_not_exists']
1336 * true by default for correct behavior when dealing with exporting
1337 * of VIEWs and the stand-in table
1339 $cfg['Export']['sql_if_not_exists'] = true;
1344 * @global boolean $cfg['Export']['sql_procedure_function']
1346 $cfg['Export']['sql_procedure_function'] = false;
1351 * @global boolean $cfg['Export']['sql_auto_increment']
1353 $cfg['Export']['sql_auto_increment'] = true;
1358 * @global boolean $cfg['Export']['sql_backquotes']
1360 $cfg['Export']['sql_backquotes'] = true;
1365 * @global boolean $cfg['Export']['sql_dates']
1367 $cfg['Export']['sql_dates'] = false;
1372 * @global boolean $cfg['Export']['sql_relation']
1374 $cfg['Export']['sql_relation'] = false;
1379 * @global boolean $cfg['Export']['sql_columns']
1381 $cfg['Export']['sql_columns'] = true;
1386 * @global boolean $cfg['Export']['sql_delayed']
1388 $cfg['Export']['sql_delayed'] = false;
1393 * @global boolean $cfg['Export']['sql_ignore']
1395 $cfg['Export']['sql_ignore'] = false;
1400 * @global boolean $cfg['Export']['sql_hex_for_blob']
1402 $cfg['Export']['sql_hex_for_blob'] = true;
1405 * insert/update/replace
1407 * @global string $cfg['Export']['sql_type']
1409 $cfg['Export']['sql_type'] = 'insert';
1414 * @global boolean $cfg['Export']['sql_extended']
1416 $cfg['Export']['sql_extended'] = true;
1421 * @global integer $cfg['Export']['sql_max_query_size']
1423 $cfg['Export']['sql_max_query_size'] = 50000;
1428 * @global boolean $cfg['Export']['sql_comments']
1430 $cfg['Export']['sql_comments'] = false;
1435 * @global boolean $cfg['Export']['sql_mime']
1437 $cfg['Export']['sql_mime'] = false;
1440 * \n is replaced by new line
1442 * @global string $cfg['Export']['sql_header_comment']
1444 $cfg['Export']['sql_header_comment'] = '';
1449 * @global boolean $cfg['Export']['pdf_structure']
1451 $cfg['Export']['pdf_structure'] = false;
1456 * @global boolean $cfg['Export']['pdf_data']
1458 $cfg['Export']['pdf_data'] = true;
1463 * @global string $cfg['Export']['pdf_report_title']
1465 $cfg['Export']['pdf_report_title'] = '';
1468 /*******************************************************************************
1471 $cfg['Import'] = array();
1476 * @global string $cfg['Import']['format']
1478 $cfg['Import']['format'] = 'sql';
1483 * @global boolean $cfg['Import']['allow_interrupt']
1485 $cfg['Import']['allow_interrupt'] = true;
1490 * @global integer $cfg['Import']['skip_queries']
1492 $cfg['Import']['skip_queries'] = '0';
1497 * @global string $cfg['Import']['sql_compatibility']
1499 $cfg['Import']['sql_compatibility'] = 'NONE';
1504 * @global boolean $cfg['Import']['csv_replace']
1506 $cfg['Import']['csv_replace'] = false;
1511 * @global string $cfg['Import']['csv_terminated']
1513 $cfg['Import']['csv_terminated'] = ';';
1518 * @global string $cfg['Import']['csv_enclosed']
1520 $cfg['Import']['csv_enclosed'] = '"';
1525 * @global string $cfg['Import']['csv_escaped']
1527 $cfg['Import']['csv_escaped'] = '\\';
1532 * @global string $cfg['Import']['csv_new_line']
1534 $cfg['Import']['csv_new_line'] = 'auto';
1539 * @global string $cfg['Import']['csv_columns']
1541 $cfg['Import']['csv_columns'] = '';
1546 * @global boolean $cfg['Import']['ldi_replace']
1548 $cfg['Import']['ldi_replace'] = false;
1553 * @global string $cfg['Import']['ldi_terminated']
1555 $cfg['Import']['ldi_terminated'] = ';';
1560 * @global string $cfg['Import']['ldi_enclosed']
1562 $cfg['Import']['ldi_enclosed'] = '"';
1567 * @global string $cfg['Import']['ldi_escaped']
1569 $cfg['Import']['ldi_escaped'] = '\\';
1574 * @global string $cfg['Import']['ldi_new_line']
1576 $cfg['Import']['ldi_new_line'] = 'auto';
1581 * @global string $cfg['Import']['ldi_columns']
1583 $cfg['Import']['ldi_columns'] = '';
1586 * 'auto' for auto-detection, true or false for forcing
1588 * @global string $cfg['Import']['ldi_local_option']
1590 $cfg['Import']['ldi_local_option'] = 'auto';
1593 * Link to the official MySQL documentation.
1594 * Be sure to include no trailing slash on the path.
1595 * See http://dev.mysql.com/doc/ for more information
1596 * about MySQL manuals and their types.
1598 * @global string $cfg['MySQLManualBase']
1600 $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
1603 * Type of MySQL documentation:
1604 * viewable - "viewable online", current one used on MySQL website
1605 * searchable - "Searchable, with user comments"
1606 * chapters - "HTML, one page per chapter"
1607 * chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
1608 * big - "HTML, all on one page"
1609 * old - old style used in phpMyAdmin 2.3.0 and sooner
1610 * none - do not show documentation links
1612 * @global string $cfg['MySQLManualType']
1614 $cfg['MySQLManualType'] = 'viewable';
1617 /*******************************************************************************
1624 * @global array $cfg['PDFPageSizes']
1626 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
1631 * @global string $cfg['PDFDefaultPageSize']
1633 $cfg['PDFDefaultPageSize'] = 'A4';
1636 /*******************************************************************************
1637 * Language and character set conversion settings
1641 * Default language to use, if not browser-defined or user-defined
1643 * @global string $cfg['DefaultLang']
1645 $cfg['DefaultLang'] = 'en-utf-8';
1648 * Default connection collation
1650 * @global string $cfg['DefaultConnectionCollation']
1652 $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
1655 * Force: always use this language - must be defined in
1656 * libraries/select_lang.lib.php
1657 * $cfg['Lang'] = 'en-utf-8';
1659 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
1662 * @global string $cfg['FilterLanguages']
1664 $cfg['FilterLanguages'] = '';
1667 * Default character set to use for recoding of MySQL queries, does not take
1668 * any effect when character sets recoding is switched off by
1669 * $cfg['AllowAnywhereRecoding'] or in language file
1670 * (see $cfg['AvailableCharsets'] to possible choices, you can add your own)
1672 * @global string $cfg['DefaultCharset']
1674 $cfg['DefaultCharset'] = 'utf-8';
1677 * Allow character set recoding of MySQL queries, must be also enabled in language
1678 * file to make harder using other language files than Unicode.
1679 * Default value is false to avoid problems on servers without the iconv
1680 * extension and where dl() is not supported
1682 * @global boolean $cfg['AllowAnywhereRecoding']
1684 $cfg['AllowAnywhereRecoding'] = false;
1687 * You can select here which functions will be used for character set conversion.
1688 * Possible values are:
1689 * auto - automatically use available one (first is tested iconv, then
1691 * iconv - use iconv or libiconv functions
1692 * recode - use recode_string function
1694 * @global string $cfg['RecodingEngine']
1696 $cfg['RecodingEngine'] = 'auto';
1699 * Specify some parameters for iconv used in character set conversion. See iconv
1700 * documentation for details:
1701 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
1703 * @global string $cfg['IconvExtraParams']
1705 $cfg['IconvExtraParams'] = '//TRANSLIT';
1708 * Available character sets for MySQL conversion. currently contains all which could
1709 * be found in lang/* files and few more.
1710 * Character sets will be shown in same order as here listed, so if you frequently
1711 * use some of these move them to the top.
1713 * @global array $cfg['AvailableCharsets']
1715 $cfg['AvailableCharsets'] = array(
1750 /*******************************************************************************
1751 * Customization & design
1753 * The graphical settings are now located in themes/theme-name/layout.inc.php
1757 * enable the left panel pointer
1758 * (used when LeftFrameLight is false)
1759 * see also LeftPointerColor
1762 * @global boolean $cfg['LeftPointerEnable']
1764 $cfg['LeftPointerEnable'] = true;
1767 * enable the browse pointer
1768 * see also BrowsePointerColor
1771 * @global boolean $cfg['BrowsePointerEnable']
1773 $cfg['BrowsePointerEnable'] = true;
1776 * enable the browse marker
1777 * see also BrowseMarkerColor
1780 * @global boolean $cfg['BrowseMarkerEnable']
1782 $cfg['BrowseMarkerEnable'] = true;
1785 * textarea size (columns) in edit mode
1786 * (this value will be emphasized (*2) for SQL
1787 * query textareas and (*1.25) for query window)
1789 * @global integer $cfg['TextareaCols']
1791 $cfg['TextareaCols'] = 40;
1794 * textarea size (rows) in edit mode
1796 * @global integer $cfg['TextareaRows']
1798 $cfg['TextareaRows'] = 7;
1801 * double size of textarea size for LONGTEXT fields
1803 * @global boolean $cfg['LongtextDoubleTextarea']
1805 $cfg['LongtextDoubleTextarea'] = true;
1808 * auto-select when clicking in the textarea of the query-box
1810 * @global boolean $cfg['TextareaAutoSelect']
1812 $cfg['TextareaAutoSelect'] = false;
1815 * textarea size (columns) for CHAR/VARCHAR
1817 * @global integer $cfg['CharTextareaCols']
1819 $cfg['CharTextareaCols'] = 40;
1822 * textarea size (rows) for CHAR/VARCHAR
1824 * @global integer $cfg['CharTextareaRows']
1826 $cfg['CharTextareaRows'] = 2;
1829 * Enable Ctrl+Arrows moving between fields when editing?
1831 * @global boolean $cfg['CtrlArrowsMoving']
1833 $cfg['CtrlArrowsMoving'] = true;
1836 * Max field data length in browse mode for all non-numeric fields
1838 * @global integer $cfg['LimitChars']
1840 $cfg['LimitChars'] = 50;
1843 * show edit/delete links on left side of browse
1844 * (or at the top with vertical browse)
1846 * @global boolean $cfg['ModifyDeleteAtLeft']
1848 $cfg['ModifyDeleteAtLeft'] = true;
1851 * show edit/delete links on right side of browse
1852 * (or at the bottom with vertical browse)
1854 * @global boolean $cfg['ModifyDeleteAtRight']
1856 $cfg['ModifyDeleteAtRight'] = false;
1859 * default display direction (horizontal|vertical|horizontalflipped)
1861 * @global string $cfg['DefaultDisplay']
1863 $cfg['DefaultDisplay'] = 'horizontal';
1866 * default display direction for altering/creating columns (tbl_properties)
1867 * (horizontal|vertical|<number>)
1868 * number indicates maximal number for which vertical model is used
1870 * @global integer $cfg['DefaultPropDisplay']
1872 $cfg['DefaultPropDisplay'] = 3;
1875 * table-header rotation via faking or CSS? (css|fake)
1876 * NOTE: CSS only works in IE browsers!
1878 * @global string $cfg['HeaderFlipType']
1880 $cfg['HeaderFlipType'] = 'css';
1883 * shows stored relation-comments in 'browse' mode.
1885 * @global boolean $cfg['ShowBrowseComments']
1887 $cfg['ShowBrowseComments'] = true;
1890 * shows stored relation-comments in 'table property' mode.
1892 * @global boolean $cfg['ShowPropertyComments']
1894 $cfg['ShowPropertyComments']= true;
1897 * repeat header names every X cells? (0 = deactivate)
1899 * @global integer $cfg['RepeatCells']
1901 $cfg['RepeatCells'] = 100;
1904 * Set to true if Edit link should open the query to edit in the query window
1905 * (assuming JavaScript is enabled), and to false if we should edit in the right panel
1907 * @global boolean $cfg['EditInWindow']
1909 $cfg['EditInWindow'] = true;
1912 * Width of Query window
1914 * @global integer $cfg['QueryWindowWidth']
1916 $cfg['QueryWindowWidth'] = 550;
1919 * Height of Query window
1921 * @global integer $cfg['QueryWindowHeight']
1923 $cfg['QueryWindowHeight'] = 310;
1926 * Set to true if you want DB-based query history.If false, this utilizes
1927 * JS-routines to display query history (lost by window close)
1929 * @global boolean $cfg['QueryHistoryDB']
1931 $cfg['QueryHistoryDB'] = false;
1934 * which tab to display in the querywindow on startup
1935 * (sql|files|history|full)
1937 * @global string $cfg['QueryWindowDefTab']
1939 $cfg['QueryWindowDefTab'] = 'sql';
1942 * When using DB-based query history, how many entries should be kept?
1944 * @global integer $cfg['QueryHistoryMax']
1946 $cfg['QueryHistoryMax'] = 25;
1949 * Use MIME-Types (stored in column comments table) for
1951 * @global boolean $cfg['BrowseMIME']
1953 $cfg['BrowseMIME'] = true;
1956 * When approximate count < this, PMA will get exact count for table rows.
1958 * @global integer $cfg['MaxExactCount']
1960 $cfg['MaxExactCount'] = 20000;
1963 * Zero means that no row count is done for views; see the doc
1965 * @global integer $cfg['MaxExactCountViews']
1967 $cfg['MaxExactCountViews'] = 0;
1970 * Utilize DHTML/JS capabilities to allow WYSIWYG editing of
1971 * the PDF page editor. Requires an IE6/Gecko based browser.
1973 * @global boolean $cfg['WYSIWYG-PDF']
1975 $cfg['WYSIWYG-PDF'] = true;
1978 * Sort table and database in natural order
1980 * @global boolean $cfg['NaturalOrder']
1982 $cfg['NaturalOrder'] = true;
1985 //-----------------------------------------------------------------------------
1986 // custom-setup by mkkeck: 2004-05-04
1987 // some specials for new icons and scrolling
1989 * @todo 2004-05-08 rabus: We need to rearrange these variables.
1993 /*******************************************************************************
1994 * Window title settings
1998 * title of browser window when a table is selected
2000 * @global string $cfg['TitleTable']
2002 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2005 * title of browser window when a database is selected
2007 * @global string $cfg['TitleDatabase']
2009 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2012 * title of browser window when a server is selected
2014 * @global string $cfg['TitleServer']
2016 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2019 * title of browser window when nothing is selected
2020 * @global string $cfg['TitleDefault']
2022 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2025 * show some icons for warning, error and information messages (true|false)?
2027 * @global boolean $cfg['ErrorIconic']
2029 $cfg['ErrorIconic'] = true;
2032 * show icons in list on main page and on menu tabs (true|false)?
2034 * @global boolean $cfg['MainPageIconic']
2036 $cfg['MainPageIconic'] = true;
2039 * show help button instead of strDocu (true|false)?
2041 * @global boolean $cfg['ReplaceHelpImg']
2043 $cfg['ReplaceHelpImg'] = true;
2046 /*******************************************************************************
2051 * using themes manager please set up here the path to 'themes' else leave empty
2053 * @global string $cfg['ThemePath']
2055 $cfg['ThemePath'] = './themes';
2058 * if you want to use selectable themes and if ThemesPath not empty
2059 * set it to true, else set it to false (default is false);
2061 * @global boolean $cfg['ThemeManager']
2063 $cfg['ThemeManager'] = true;
2066 * set up default theme, if ThemePath not empty you can set up here an valid
2067 * path to themes or 'original' for the original pma-theme
2069 * @global string $cfg['ThemeDefault']
2071 $cfg['ThemeDefault'] = 'original';
2074 * allow different theme for each configured server
2076 * @global boolean $cfg['ThemePerServer']
2078 $cfg['ThemePerServer'] = false;
2081 /*******************************************************************************
2087 * %d will be replaced by the database name.
2088 * %t will be replaced by the table name.
2089 * %f will be replaced by a list of field names.
2090 * (%t and %f only applies to DefaultQueryTable)
2092 * @global string $cfg['DefaultQueryTable']
2094 $cfg['DefaultQueryTable'] = 'SELECT * FROM %t WHERE 1';
2098 * %d will be replaced by the database name.
2099 * %t will be replaced by the table name.
2100 * %f will be replaced by a list of field names.
2101 * (%t and %f only applies to DefaultQueryTable)
2103 * @global string $cfg['DefaultQueryDatabase']
2105 $cfg['DefaultQueryDatabase'] = '';
2108 /*******************************************************************************
2109 * SQL Query box settings
2110 * These are the links display in all of the SQL Query boxes
2112 * @global array $cfg['SQLQuery']
2114 $cfg['SQLQuery'] = array();
2117 * Edit link to change a query
2119 * @global boolean $cfg['SQLQuery']['Edit']
2121 $cfg['SQLQuery']['Edit'] = true;
2124 * EXPLAIN on SELECT queries
2126 * @global boolean $cfg['SQLQuery']['Explain']
2128 $cfg['SQLQuery']['Explain'] = true;
2131 * Wrap a query in PHP
2133 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2135 $cfg['SQLQuery']['ShowAsPHP'] = true;
2138 * Validate a query (see $cfg['SQLValidator'] as well)
2140 * @global boolean $cfg['SQLQuery']['Validate']
2142 $cfg['SQLQuery']['Validate'] = false;
2145 * Refresh the results page
2147 * @global boolean $cfg['SQLQuery']['Refresh']
2149 $cfg['SQLQuery']['Refresh'] = true;
2152 /*******************************************************************************
2153 * Web server upload/save/import directories
2157 * Directory for uploaded files that can be executed by phpMyAdmin.
2158 * For example './upload'. Leave empty for no upload directory support.
2159 * Use %u for username inclusion.
2161 * @global string $cfg['UploadDir']
2163 $cfg['UploadDir'] = '';
2166 * Directory where phpMyAdmin can save exported data on server.
2167 * For example './save'. Leave empty for no save directory support.
2168 * Use %u for username inclusion.
2170 * @global string $cfg['SaveDir']
2172 $cfg['SaveDir'] = '';
2175 * Directory where phpMyAdmin can save temporary files.
2176 * This is needed for MS Excel export, see documentation how to enable that.
2178 * @global string $cfg['TempDir']
2180 $cfg['TempDir'] = '';
2188 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2189 * which is a bit expensive for PHP < 4.3.0, but it is the only safe way how to
2190 * determine GD version.
2192 * @global string $cfg['GD2Available']
2194 $cfg['GD2Available'] = 'auto';
2197 * List of trusted proxies for IP allow/deny
2199 * @global array $cfg['TrustedProxies']
2201 $cfg['TrustedProxies'] = array();
2204 * We normally check the permissions on the configuration file to ensure
2205 * it's not world writable. However, phpMyAdmin could be installed on
2206 * a NTFS filesystem mounted on a non-Windows server, in which case the
2207 * permissions seems wrong but in fact cannot be detected. In this case
2208 * a sysadmin would set the following to false.
2210 $cfg['CheckConfigurationPermissions'] = true;
2212 /*******************************************************************************
2213 * SQL Parser Settings
2215 * @global array $cfg['SQP']
2217 $cfg['SQP'] = array();
2220 * Pretty-printing style to use on queries (html, text, none)
2222 * @global string $cfg['SQP']['fmtType']
2224 $cfg['SQP']['fmtType'] = 'html';
2227 * Amount to indent each level (floats are valid)
2229 * @global integer $cfg['SQP']['fmtInd']
2231 $cfg['SQP']['fmtInd'] = '1';
2234 * Units for indenting each level (CSS Types - {em, px, pt})
2236 * @global string $cfg['SQP']['fmtIndUnit']
2238 $cfg['SQP']['fmtIndUnit'] = 'em';
2241 /*******************************************************************************
2242 * If you wish to use the SQL Validator service, you should be aware of the
2244 * All SQL statements are stored anonymously for statistical purposes.
2245 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
2246 * All rights reserved.
2248 * @global array $cfg['SQLValidator']
2250 $cfg['SQLValidator'] = array();
2253 * Make the SQL Validator available
2255 * @global boolean $cfg['SQLValidator']['use']
2257 $cfg['SQLValidator']['use'] = false;
2260 * If you have a custom username, specify it here (defaults to anonymous)
2262 * @global string $cfg['SQLValidator']['username']
2264 $cfg['SQLValidator']['username'] = '';
2267 * Password for username
2269 * @global string $cfg['SQLValidator']['password']
2271 $cfg['SQLValidator']['password'] = '';
2274 /*******************************************************************************
2276 * To use the following, please install the DBG extension from http://dd.cron.ru/dbg/
2278 * @global array $cfg['DBG']
2280 $cfg['DBG'] = array();
2283 * Make the DBG stuff available
2285 * @global boolean $cfg['DBG']['enable']
2287 $cfg['DBG']['enable'] = false;
2290 * Produce profiling results of PHP
2292 * @global boolean $cfg['DBG']['profile']['enable']
2294 $cfg['DBG']['profile']['enable'] = false;
2297 * Threshold of long running code to display
2298 * Anything below the threshold is not displayed
2300 * @global float $cfg['DBG']['profile']['threshold']
2302 $cfg['DBG']['profile']['threshold'] = 0.5;
2305 /*******************************************************************************
2311 * VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
2313 * @global array $cfg['ColumnTypes']
2315 $cfg['ColumnTypes'] = array(
2342 'DATE and TIME' => array(
2380 'GEOMETRYCOLLECTION',
2386 * Note: the "ON UPDATE CURRENT_TIMESTAMP" attribute is added dynamically
2387 * for MySQL >= 4.1.2, in libraries/tbl_properties.inc.php
2389 * @global array $cfg['AttributeTypes']
2391 $cfg['AttributeTypes'] = array(
2395 'UNSIGNED ZEROFILL',
2399 if ($cfg['ShowFunctionFields']) {
2401 * Available functions
2403 * @global array $cfg['Functions']
2405 $cfg['Functions'] = array(
2478 * Which column types will be mapped to which Group?
2480 * @global array $cfg['RestrictColumnTypes']
2482 $cfg['RestrictColumnTypes'] = array(
2483 'TINYINT' => 'FUNC_NUMBER',
2484 'SMALLINT' => 'FUNC_NUMBER',
2485 'MEDIUMINT' => 'FUNC_NUMBER',
2486 'INT' => 'FUNC_NUMBER',
2487 'BIGINT' => 'FUNC_NUMBER',
2488 'DECIMAL' => 'FUNC_NUMBER',
2489 'FLOAT' => 'FUNC_NUMBER',
2490 'DOUBLE' => 'FUNC_NUMBER',
2491 'REAL' => 'FUNC_NUMBER',
2492 'BIT' => 'FUNC_NUMBER',
2493 'BOOL' => 'FUNC_NUMBER',
2494 'SERIAL' => 'FUNC_NUMBER',
2496 'DATE' => 'FUNC_DATE',
2497 'DATETIME' => 'FUNC_DATE',
2498 'TIMESTAMP' => 'FUNC_DATE',
2499 'TIME' => 'FUNC_DATE',
2500 'YEAR' => 'FUNC_DATE',
2502 'CHAR' => 'FUNC_CHAR',
2503 'VARCHAR' => 'FUNC_CHAR',
2504 'TINYTEXT' => 'FUNC_CHAR',
2505 'TEXT' => 'FUNC_CHAR',
2506 'MEDIUMTEXT' => 'FUNC_CHAR',
2507 'LONGTEXT' => 'FUNC_CHAR',
2508 'BINARY' => 'FUNC_CHAR',
2509 'VARBINARY' => 'FUNC_CHAR',
2510 'TINYBLOB' => 'FUNC_CHAR',
2511 'MEDIUMBLOB' => 'FUNC_CHAR',
2512 'BLOB' => 'FUNC_CHAR',
2513 'LONGBLOB' => 'FUNC_CHAR',
2517 'GEOMETRY' => 'FUNC_SPATIAL',
2518 'POINT' => 'FUNC_SPATIAL',
2519 'LINESTRING' => 'FUNC_SPATIAL',
2520 'POLYGON' => 'FUNC_SPATIAL',
2521 'MULTIPOINT' => 'FUNC_SPATIAL',
2522 'MULTILINESTRING' => 'FUNC_SPATIAL',
2523 'MULTIPOLYGON' => 'FUNC_SPATIAL',
2524 'GEOMETRYCOLLECTION' => 'FUNC_SPATIAL',
2529 * Map above defined groups to any function
2531 * @global array $cfg['RestrictFunctions']
2533 $cfg['RestrictFunctions'] = array(
2534 'FUNC_CHAR' => array(
2560 'FUNC_DATE' => array(
2575 'FUNC_NUMBER' => array(
2612 'FUNC_SPATIAL' => array(
2635 * Default functions for above defined groups
2637 * @global array $cfg['DefaultFunctions']
2639 $cfg['DefaultFunctions'] = array(
2642 'FUNC_NUMBER' => '',
2643 'first_timestamp' => 'NOW',
2644 'pk_char36' => 'UUID',
2653 * @global array $cfg['NumOperators']
2655 $cfg['NumOperators'] = array(
2669 * @global array $cfg['TextOperators']
2671 $cfg['TextOperators'] = array(
2684 * @global array $cfg['EnumOperators']
2686 $cfg['EnumOperators'] = array(
2694 * @global array $cfg['SetOperators']
2696 $cfg['SetOperators'] = array(
2704 * @global array $cfg['NullOperators']
2706 $cfg['NullOperators'] = array(
2714 * @global array $cfg['UnaryOperators']
2716 $cfg['UnaryOperators'] = array(