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 * Disable the default warning that is displayed if Suhosin is detected
52 * @global boolean $cfg['SuhosinDisableWarning']
54 $cfg['SuhosinDisableWarning'] = false;
57 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
58 * at least one server configuration uses 'cookie' auth_type, enter here a
59 * pass phrase that will be used by blowfish. The maximum length seems to be 46
62 * @global string $cfg['blowfish_secret']
64 $cfg['blowfish_secret'] = '';
67 /*******************************************************************************
68 * Server(s) configuration
70 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
71 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
72 * to ''. If you want more than one server, just copy following section
73 * (including $i incrementation) several times. There is no need to define
74 * full server array, just define values you need to change.
76 * @global array $cfg['Servers']
78 $cfg['Servers'] = array();
83 * MySQL hostname or IP address
85 * @global string $cfg['Servers'][$i]['host']
87 $cfg['Servers'][$i]['host'] = 'localhost';
90 * MySQL port - leave blank for default port
92 * @global string $cfg['Servers'][$i]['port']
94 $cfg['Servers'][$i]['port'] = '';
97 * Path to the socket - leave blank for default socket
99 * @global string $cfg['Servers'][$i]['socket']
101 $cfg['Servers'][$i]['socket'] = '';
104 * Use SSL for connecting to MySQL server?
106 * @global boolean $cfg['Servers'][$i]['ssl']
108 $cfg['Servers'][$i]['ssl'] = false;
111 * How to connect to MySQL server ('tcp' or 'socket')
113 * @global string $cfg['Servers'][$i]['connect_type']
115 $cfg['Servers'][$i]['connect_type'] = 'tcp';
118 * The PHP MySQL extension to use ('mysql' or 'mysqli')
120 * @global string $cfg['Servers'][$i]['extension']
122 $cfg['Servers'][$i]['extension'] = 'mysql';
125 * Use compressed protocol for the MySQL connection (requires PHP >= 4.3.0)
127 * @global boolean $cfg['Servers'][$i]['compress']
129 $cfg['Servers'][$i]['compress'] = false;
132 * MySQL control user settings (this user must have read-only
133 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
134 * used for all relational features (pmadb)
136 * @global string $cfg['Servers'][$i]['controluser']
138 $cfg['Servers'][$i]['controluser'] = '';
141 * MySQL control user settings (this user must have read-only
142 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
143 * used for all relational features (pmadb)
145 * @global string $cfg['Servers'][$i]['controlpass']
147 $cfg['Servers'][$i]['controlpass'] = '';
150 * Authentication method (valid choices: config, http, signon or cookie)
152 * @global string $cfg['Servers'][$i]['auth_type']
154 $cfg['Servers'][$i]['auth_type'] = 'config';
157 * File containing Swekey ids and login names (see /contrib);
158 * leave empty to deactivate Swekey hardware authentication
160 * @global string $cfg['Servers'][$i]['auth_swekey_config']
162 $cfg['Servers'][$i]['auth_swekey_config'] = '';
167 * @global string $cfg['Servers'][$i]['user']
169 $cfg['Servers'][$i]['user'] = 'root';
172 * MySQL password (only needed with 'config' auth_type)
174 * @global string $cfg['Servers'][$i]['password']
176 $cfg['Servers'][$i]['password'] = '';
179 * Session to use for 'signon' authentication method
181 * @global string $cfg['Servers'][$i]['SignonSession']
183 $cfg['Servers'][$i]['SignonSession'] = '';
186 * URL where to redirect user to login for 'signon' authentication method
188 * @global string $cfg['Servers'][$i]['SignonURL']
190 $cfg['Servers'][$i]['SignonURL'] = '';
193 * URL where to redirect user after logout
195 * @global string $cfg['Servers'][$i]['LogoutURL']
197 $cfg['Servers'][$i]['LogoutURL'] = '';
200 * Whether to try to connect without password
202 * @global boolean $cfg['Servers'][$i]['nopassword']
204 $cfg['Servers'][$i]['nopassword'] = false;
207 * If set to a db-name, only this db is displayed in left frame
208 * It may also be an array of db-names, where sorting order is relevant.
210 * @global string $cfg['Servers'][$i]['only_db']
212 $cfg['Servers'][$i]['only_db'] = '';
215 * Database name to be hidden from listings
217 * @global string $cfg['Servers'][$i]['hide_db']
219 $cfg['Servers'][$i]['hide_db'] = '';
222 * Verbose name for this host - leave blank to show the hostname
223 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
225 * @global string $cfg['Servers'][$i]['verbose']
227 $cfg['Servers'][$i]['verbose'] = '';
230 * Database used for Relation, Bookmark and PDF Features
231 * (see scripts/create_tables.sql)
232 * - leave blank for no support
233 * DEFAULT: 'phpmyadmin'
235 * @global string $cfg['Servers'][$i]['pmadb']
237 $cfg['Servers'][$i]['pmadb'] = '';
241 * - leave blank for no bookmark support
242 * DEFAULT: 'pma_bookmark'
244 * @global string $cfg['Servers'][$i]['bookmarktable']
246 $cfg['Servers'][$i]['bookmarktable'] = '';
249 * table to describe the relation between links (see doc)
250 * - leave blank for no relation-links support
251 * DEFAULT: 'pma_relation'
253 * @global string $cfg['Servers'][$i]['relation']
255 $cfg['Servers'][$i]['relation'] = '';
258 * table to describe the display fields
259 * - leave blank for no display fields support
260 * DEFAULT: 'pma_table_info'
262 * @global string $cfg['Servers'][$i]['table_info']
264 $cfg['Servers'][$i]['table_info'] = '';
267 * table to describe the tables position for the PDF schema
268 * - leave blank for no PDF schema support
269 * DEFAULT: 'pma_table_coords'
271 * @global string $cfg['Servers'][$i]['table_coords']
273 $cfg['Servers'][$i]['table_coords'] = '';
276 * table to describe pages of relationpdf
277 * - leave blank if you don't want to use this
278 * DEFAULT: 'pma_pdf_pages'
280 * @global string $cfg['Servers'][$i]['pdf_pages']
282 $cfg['Servers'][$i]['pdf_pages'] = '';
285 * table to store column information
286 * - leave blank for no column comments/mime types
287 * DEFAULT: 'pma_column_info'
289 * @global string $cfg['Servers'][$i]['column_info']
291 $cfg['Servers'][$i]['column_info'] = '';
294 * table to store SQL history
295 * - leave blank for no SQL query history
296 * DEFAULT: 'pma_history'
298 * @global string $cfg['Servers'][$i]['history']
300 $cfg['Servers'][$i]['history'] = '';
303 * table to store the coordinates for Designer
304 * - leave blank for no Designer feature
305 * DEFAULT: 'pma_designer_coords'
307 * @global string $cfg['Servers'][$i]['designer_coords']
309 $cfg['Servers'][$i]['designer_coords'] = '';
312 * set to false if you know that your pma_* tables are up to date.
313 * This prevents compatibility checks and thereby increases performance.
315 * @global boolean $cfg['Servers'][$i]['verbose_check']
317 $cfg['Servers'][$i]['verbose_check'] = true;
320 * whether to allow root login
322 * @global boolean $cfg['Servers'][$i]['AllowRoot']
324 $cfg['Servers'][$i]['AllowRoot'] = true;
327 * Host authentication order, leave blank to not use
329 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
331 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
334 * Disable use of INFORMATION_SCHEMA
336 * @see http://sf.net/support/tracker.php?aid=1849494
337 * @see http://bugs.mysql.com/19588
338 * @global boolean $cfg['Servers'][$i]['DisableIS']
340 $cfg['Servers'][$i]['DisableIS'] = true;
343 * Host authentication rules, leave blank for defaults
345 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
347 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
350 * SQL command to fetch available databases
352 * by default most user will be fine with SHOW DATABASES,
353 * for servers with a huge amount of databases it is possible to
354 * define a command which executes faster but with less information
356 * especially when accessing database servers from ISPs changing this command
357 * can result in a great speed improvement
359 * false will disable fetching databases from the server, only databases in
360 * $cfg['Servers'][$i]['only_db'] will be displayed
362 * #user# will be replaced by current user
366 * "SHOW DATABASES LIKE '#user#\_%'"
367 * 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
368 * 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
371 * @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
373 $cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
376 * Whether to count tables when showing database list
378 * @global array $cfg['Servers'][$i]['CountTables']
380 $cfg['Servers'][$i]['CountTables'] = true;
383 * Default server (0 = no default server)
385 * If you have more than one server configured, you can set $cfg['ServerDefault']
386 * to any one of them to auto-connect to that server when phpMyAdmin is started,
387 * or set it to 0 to be given a list of servers without logging in
388 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
389 * set to that server.
391 * @global integer $cfg['ServerDefault']
393 $cfg['ServerDefault'] = 1;
396 * Other core phpMyAdmin settings
399 * maximum number of db's displayed in left frame and database list
401 * @global integer $cfg['MaxDbList']
403 $cfg['MaxDbList'] = 100;
406 * maximum number of tables displayed in table list
408 * @global integer $cfg['MaxTableList']
410 $cfg['MaxTableList'] = 250;
413 * maximum number of characters when a SQL query is displayed
415 * @global integer $cfg['MaxCharactersInDisplayedSQL']
417 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
420 * use GZIP output buffering if possible (true|false|'auto')
422 * @global string $cfg['OBGzip']
424 $cfg['OBGzip'] = 'auto';
427 * use persistent connections to MySQL database
429 * @global boolean $cfg['PersistentConnections']
431 $cfg['PersistentConnections'] = false;
434 * whether to force using HTTPS
436 * @global boolean $cfg['ForceSSL']
438 $cfg['ForceSSL'] = false;
441 * maximum execution time in seconds (0 for no limit)
443 * @global integer $cfg['ExecTimeLimit']
445 $cfg['ExecTimeLimit'] = 300;
448 * maximum allocated bytes (0 for no limit)
450 * @global integer $cfg['MemoryLimit']
452 $cfg['MemoryLimit'] = 0;
455 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
457 * @global boolean $cfg['SkipLockedTables']
459 $cfg['SkipLockedTables'] = false;
462 * show SQL queries as run
464 * @global boolean $cfg['ShowSQL']
466 $cfg['ShowSQL'] = true;
469 * show a 'Drop database' link to normal users
471 * @global boolean $cfg['AllowUserDropDatabase']
473 $cfg['AllowUserDropDatabase'] = false;
476 * confirm 'DROP TABLE' & 'DROP DATABASE'
478 * @global boolean $cfg['Confirm']
480 $cfg['Confirm'] = true;
483 * recall previous login in cookie authentication mode or not
485 * @global boolean $cfg['LoginCookieRecall']
487 $cfg['LoginCookieRecall'] = true;
490 * validity of cookie login (in seconds)
492 * @global integer $cfg['LoginCookieValidity']
494 $cfg['LoginCookieValidity'] = 1800;
497 * how long login cookie should be stored (in seconds)
499 * @global integer $cfg['LoginCookieStore']
501 $cfg['LoginCookieStore'] = 0;
504 * whether to delete all login cookies on logout
506 * @global boolean $cfg['LoginCookieDeleteAll']
508 $cfg['LoginCookieDeleteAll'] = true;
511 * whether to enable the "database search" feature or not
513 * @global boolean $cfg['UseDbSearch']
515 $cfg['UseDbSearch'] = true;
518 * if set to true, PMA continues computing multiple-statement queries
519 * even if one of the queries failed
521 * @global boolean $cfg['IgnoreMultiSubmitErrors']
523 $cfg['IgnoreMultiSubmitErrors'] = false;
526 * if set to true, PMA will show the affected rows of EACH statement on
527 * multiple-statement queries. See the libraries/import.php file for
528 * hard coded defaults on how many queries a statement may contain!
530 * @global boolean $cfg['VerboseMultiSubmit']
532 $cfg['VerboseMultiSubmit'] = true;
535 * allow login to any user entered server in cookie based authentication
537 * @global boolean $cfg['AllowArbitraryServer']
539 $cfg['AllowArbitraryServer'] = false;
542 /*******************************************************************************
543 * Error handler configuration
545 * this configures phpMyAdmins own error handler, it is used to avoid information
546 * dislcosure, gather errors for logging, reporting and displaying
548 * @global array $cfg['Error_Handler']
550 $cfg['Error_Handler'] = array();
553 * whether to display errors or not
555 * this does not affect errors of type E_USER_*
557 * @global boolean $cfg['Error_Handler']['display']
559 $cfg['Error_Handler']['display'] = false;
562 * where to log errors, false or empty to disable
565 * // EXAMPLE log to std PHP error log
566 * $cfg['Error_Handler']['log'] = array(0);
567 * // EXAMPLE mail errors
568 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
569 * // EXAMPLE append to specific file
570 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
573 * @see http://php.net/error_log
574 * @global string $cfg['Error_Handler']['log']
576 $cfg['Error_Handler']['log'] = false;
579 * gather all errors in session to be displayed on a error reporting page
580 * for viewing and/or sending to phpMyAdmin developer team
582 * @global boolean $cfg['Error_Handler']['gather']
584 $cfg['Error_Handler']['gather'] = false;
587 /*******************************************************************************
592 * use a select-based menu and display only the current tables in the left frame.
594 * @global boolean $cfg['LeftFrameLight']
596 $cfg['LeftFrameLight'] = true;
599 * turn the select-based light menu into a tree
601 * @global boolean $cfg['LeftFrameDBTree']
603 $cfg['LeftFrameDBTree'] = true;
606 * the separator to sub-tree the select-based light menu tree
608 * @global string $cfg['LeftFrameDBSeparator']
610 $cfg['LeftFrameDBSeparator'] = '_';
613 * Which string will be used to generate table prefixes
614 * to split/nest tables into multiple categories
616 * @global string $cfg['LeftFrameTableSeparator']
618 $cfg['LeftFrameTableSeparator']= '__';
621 * How many sublevels should be displayed when splitting up tables by the above Separator
623 * @global integer $cfg['LeftFrameTableLevel']
625 $cfg['LeftFrameTableLevel'] = 1;
628 * display table comment as tooltip in left frame
630 * @global boolean $cfg['ShowTooltip']
632 $cfg['ShowTooltip'] = true;
635 * if ShowToolTip is enabled, this defines that table/db comments
637 * @global boolean $cfg['ShowTooltipAliasDB']
639 $cfg['ShowTooltipAliasDB'] = false;
642 * are shown (in the left menu and db_structure) instead of table/db names.
643 * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
644 * descriptors, not the table itself.
646 * @global boolean $cfg['ShowTooltipAliasTB']
648 $cfg['ShowTooltipAliasTB'] = false;
651 * display logo at top of left frame
653 * @global boolean $cfg['LeftDisplayLogo']
655 $cfg['LeftDisplayLogo'] = true;
658 * where should logo link point to (can also contain an external URL)
660 * @global string $cfg['LeftLogoLink']
662 $cfg['LeftLogoLink'] = 'main.php';
665 * whether to open the linked page in the main window ('main') or
666 * in a new window ('new')
668 * @global string $cfg['LeftLogoLinkWindow']
670 $cfg['LeftLogoLinkWindow'] = 'main';
673 * display server choice at top of left frame
675 * @global boolean $cfg['LeftDisplayServers']
677 $cfg['LeftDisplayServers'] = false;
680 * server choice as links
682 * @global boolean $cfg['DisplayServersList']
684 $cfg['DisplayServersList'] = false;
687 * database choice in light as links
689 * @global boolean $cfg['DisplayDatabasesList']
691 $cfg['DisplayDatabasesList'] = 'auto';
694 * target of the navigation panel quick access icon
697 * 'tbl_structure.php' = fields list
698 * 'tbl_sql.php' = SQL form
699 * 'tbl_select.php' = search page
700 * 'tbl_change.php' = insert row page
701 * 'sql.php' = browse page
703 * @global string $cfg['LeftDefaultTabTable']
705 $cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
708 /*******************************************************************************
709 * In the main frame, at startup...
713 * allow to display statistics and space usage in the pages about database
714 * details and table properties
716 * @global boolean $cfg['ShowStats']
718 $cfg['ShowStats'] = true;
723 * @global boolean $cfg['ShowPhpInfo']
725 $cfg['ShowPhpInfo'] = false;
728 * show MySQL server information
730 * @global boolean $cfg['ShowServerInfo']
732 $cfg['ShowServerInfo'] = true;
735 * show change password link
737 * @global boolean $cfg['ShowChgPassword']
739 $cfg['ShowChgPassword'] = false;
742 * show create database form
744 * @global boolean $cfg['ShowCreateDb']
746 $cfg['ShowCreateDb'] = true;
749 * suggest a new DB name if possible (false = keep empty)
751 * @global boolean $cfg['SuggestDBName']
753 $cfg['SuggestDBName'] = true;
756 /*******************************************************************************
761 * Use icons instead of text for the navigation bar buttons
762 * and on right panel top menu (server db table) (true|false|'both')
764 * @global string $cfg['NavigationBarIconic']
766 $cfg['NavigationBarIconic'] = 'both';
769 * allows to display all the rows
771 * @global boolean $cfg['ShowAll']
773 $cfg['ShowAll'] = false;
776 * maximum number of rows to display
778 * @global integer $cfg['MaxRows']
780 $cfg['MaxRows'] = 30;
783 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
784 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
785 * ascending order else-)
787 * @global string $cfg['Order']
789 $cfg['Order'] = 'ASC';
792 /*******************************************************************************
797 * disallow editing of binary fields
799 * false allow editing
800 * 'blob' allow editing except for BLOB fields
801 * 'all' disallow editing
803 * @global string $cfg['ProtectBinary']
805 $cfg['ProtectBinary'] = 'blob';
808 * Display the function fields in edit/insert mode
810 * @global boolean $cfg['ShowFunctionFields']
812 $cfg['ShowFunctionFields'] = true;
815 * Which editor should be used for CHAR/VARCHAR fields:
816 * input - allows limiting of input length
817 * textarea - allows newlines in fields
819 * @global string $cfg['CharEditing']
821 $cfg['CharEditing'] = 'input';
824 * How many rows can be inserted at one time
826 * @global integer $cfg['InsertRows']
828 $cfg['InsertRows'] = 2;
831 * Sort order for items in a foreign-key drop-down list.
832 * 'content' is the referenced data, 'id' is the key value.
834 * @global array $cfg['ForeignKeyDropdownOrder']
836 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
839 * A drop-down list will be used if fewer items are present
841 * @global integer $cfg['ForeignKeyMaxLimit']
843 $cfg['ForeignKeyMaxLimit'] = 100;
846 /*******************************************************************************
847 * For the export features...
851 * Allow the use of zip/gzip/bzip
853 * @global boolean $cfg['ZipDump']
855 $cfg['ZipDump'] = true;
860 * @global boolean $cfg['GZipDump']
862 $cfg['GZipDump'] = true;
867 * @global boolean $cfg['BZipDump']
869 $cfg['BZipDump'] = true;
872 * Will compress gzip/bzip2 exports on fly without need for much memory.
873 * If you encounter problems with created gzip/bzip2 files disable this feature.
875 * @global boolean $cfg['CompressOnFly']
877 $cfg['CompressOnFly'] = true;
880 /*******************************************************************************
881 * Tabs display settings
885 * use graphically less intense menu tabs
887 * @global boolean $cfg['LightTabs']
889 $cfg['LightTabs'] = false;
892 * Use icons instead of text for the table display of a database (true|false|'both')
894 * @global boolean $cfg['PropertiesIconic']
896 $cfg['PropertiesIconic'] = true;
899 * How many columns should be used for table display of a database?
900 * (a value larger than 1 results in some information being hidden)
902 * @global integer $cfg['PropertiesNumColumns']
904 $cfg['PropertiesNumColumns'] = 1;
908 * 'main.php' = the welcome page
909 * (recommended for multiuser setups)
910 * 'server_databases.php' = list of databases
911 * 'server_status.php' = runtime information
912 * 'server_variables.php' = MySQL server variables
913 * 'server_privileges.php' = user management
914 * 'server_processlist.php' = process list
916 * @global string $cfg['DefaultTabServer']
918 $cfg['DefaultTabServer'] = 'main.php';
922 * 'db_structure.php' = tables list
923 * 'db_sql.php' = SQL form
924 * 'db_search.php' = search query
925 * 'db_operations.php' = operations on database
927 * @global string $cfg['DefaultTabDatabase']
929 $cfg['DefaultTabDatabase'] = 'db_structure.php';
933 * 'tbl_structure.php' = fields list
934 * 'tbl_sql.php' = SQL form
935 * 'tbl_select.php' = search page
936 * 'tbl_change.php' = insert row page
937 * 'sql.php' = browse page
939 * @global string $cfg['DefaultTabTable']
941 $cfg['DefaultTabTable'] = 'sql.php';
944 /*******************************************************************************
947 $cfg['Export'] = array();
950 * sql/latex/excel/csv/xml/xls/htmlexcel/htmlword/ods/odt
952 * @global string $cfg['Export']['format']
954 $cfg['Export']['format'] = 'sql';
957 * none/zip/gzip/bzip2
959 * @global string $cfg['Export']['compression']
961 $cfg['Export']['compression'] = 'none';
966 * @global boolean $cfg['Export']['asfile']
968 $cfg['Export']['asfile'] = false;
973 * @global string $cfg['Export']['charset']
975 $cfg['Export']['charset'] = '';
980 * @global boolean $cfg['Export']['onserver']
982 $cfg['Export']['onserver'] = false;
987 * @global boolean $cfg['Export']['onserver_overwrite']
989 $cfg['Export']['onserver_overwrite'] = false;
994 * @global boolean $cfg['Export']['remember_file_template']
996 $cfg['Export']['remember_file_template'] = true;
1001 * @global string $cfg['Export']['file_template_table']
1003 $cfg['Export']['file_template_table'] = '__TABLE__';
1008 * @global string $cfg['Export']['file_template_database']
1010 $cfg['Export']['file_template_database'] = '__DB__';
1015 * @global string $cfg['Export']['file_template_server']
1017 $cfg['Export']['file_template_server'] = '__SERVER__';
1022 * @global boolean $cfg['Export']['ods_columns']
1024 $cfg['Export']['ods_columns'] = false;
1029 * @global string $cfg['Export']['ods_null']
1031 $cfg['Export']['ods_null'] = 'NULL';
1036 * @global boolean $cfg['Export']['odt_structure']
1038 $cfg['Export']['odt_structure'] = true;
1043 * @global boolean $cfg['Export']['odt_data']
1045 $cfg['Export']['odt_data'] = true;
1050 * @global boolean $cfg['Export']['odt_columns']
1052 $cfg['Export']['odt_columns'] = true;
1057 * @global boolean $cfg['Export']['odt_relation']
1059 $cfg['Export']['odt_relation'] = true;
1064 * @global boolean $cfg['Export']['odt_comments']
1066 $cfg['Export']['odt_comments'] = true;
1071 * @global boolean $cfg['Export']['odt_mime']
1073 $cfg['Export']['odt_mime'] = true;
1078 * @global string $cfg['Export']['odt_null']
1080 $cfg['Export']['odt_null'] = 'NULL';
1085 * @global boolean $cfg['Export']['htmlexcel_columns']
1087 $cfg['Export']['htmlexcel_columns'] = false;
1092 * @global string $cfg['Export']['htmlexcel_null']
1094 $cfg['Export']['htmlexcel_null'] = 'NULL';
1099 * @global boolean $cfg['Export']['htmlword_structure']
1101 $cfg['Export']['htmlword_structure'] = true;
1106 * @global boolean $cfg['Export']['htmlword_data']
1108 $cfg['Export']['htmlword_data'] = true;
1113 * @global boolean $cfg['Export']['htmlword_columns']
1115 $cfg['Export']['htmlword_columns'] = false;
1120 * @global string $cfg['Export']['htmlword_null']
1122 $cfg['Export']['htmlword_null'] = 'NULL';
1127 * @global boolean $cfg['Export']['texytext_structure']
1129 $cfg['Export']['texytext_structure'] = TRUE;
1134 * @global boolean $cfg['Export']['texytext_data']
1136 $cfg['Export']['texytext_data'] = TRUE;
1141 * @global boolean $cfg['Export']['texytext_columns']
1143 $cfg['Export']['texytext_columns'] = FALSE;
1148 * @global string $cfg['Export']['texytext_null']
1150 $cfg['Export']['texytext_null'] = 'NULL';
1155 * @global boolean $cfg['Export']['xls_columns']
1157 $cfg['Export']['xls_columns'] = false;
1162 * @global string $cfg['Export']['xls_null']
1164 $cfg['Export']['xls_null'] = 'NULL';
1169 * @global boolean $cfg['Export']['csv_columns']
1171 $cfg['Export']['csv_columns'] = false;
1176 * @global string $cfg['Export']['csv_null']
1178 $cfg['Export']['csv_null'] = 'NULL';
1183 * @global string $cfg['Export']['csv_separator']
1185 $cfg['Export']['csv_separator'] = ';';
1190 * @global string $cfg['Export']['csv_enclosed']
1192 $cfg['Export']['csv_enclosed'] = '"';
1197 * @global string $cfg['Export']['csv_escaped']
1199 $cfg['Export']['csv_escaped'] = '\\';
1204 * @global string $cfg['Export']['csv_terminated']
1206 $cfg['Export']['csv_terminated'] = 'AUTO';
1211 * @global boolean $cfg['Export']['excel_columns']
1213 $cfg['Export']['excel_columns'] = false;
1218 * @global string $cfg['Export']['excel_null']
1220 $cfg['Export']['excel_null'] = 'NULL';
1225 * @global string $cfg['Export']['excel_edition']
1227 $cfg['Export']['excel_edition'] = 'win';
1232 * @global boolean $cfg['Export']['latex_structure']
1234 $cfg['Export']['latex_structure'] = true;
1239 * @global boolean $cfg['Export']['latex_data']
1241 $cfg['Export']['latex_data'] = true;
1246 * @global boolean $cfg['Export']['latex_columns']
1248 $cfg['Export']['latex_columns'] = true;
1253 * @global boolean $cfg['Export']['latex_relation']
1255 $cfg['Export']['latex_relation'] = true;
1260 * @global boolean $cfg['Export']['latex_comments']
1262 $cfg['Export']['latex_comments'] = true;
1267 * @global boolean $cfg['Export']['latex_mime']
1269 $cfg['Export']['latex_mime'] = true;
1274 * @global string $cfg['Export']['latex_null']
1276 $cfg['Export']['latex_null'] = '\textit{NULL}';
1281 * @global boolean $cfg['Export']['latex_caption']
1283 $cfg['Export']['latex_caption'] = true;
1288 * @global string $cfg['Export']['latex_structure_caption']
1290 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1295 * @global string $cfg['Export']['latex_structure_continued_caption']
1297 $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1302 * @global string $cfg['Export']['latex_data_caption']
1304 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1309 * @global string $cfg['Export']['latex_data_continued_caption']
1311 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1316 * @global string $cfg['Export']['latex_data_label']
1318 $cfg['Export']['latex_data_label'] = 'tab:__TABLE__-data';
1323 * @global string $cfg['Export']['latex_structure_label']
1325 $cfg['Export']['latex_structure_label'] = 'tab:__TABLE__-structure';
1330 * @global boolean $cfg['Export']['sql_structure']
1332 $cfg['Export']['sql_structure'] = true;
1337 * @global boolean $cfg['Export']['sql_data']
1339 $cfg['Export']['sql_data'] = true;
1344 * @global string $cfg['Export']['sql_compatibility']
1346 $cfg['Export']['sql_compatibility'] = 'NONE';
1351 * @global boolean $cfg['Export']['sql_disable_fk']
1353 $cfg['Export']['sql_disable_fk'] = false;
1358 * @global boolean $cfg['Export']['sql_use_transaction']
1360 $cfg['Export']['sql_use_transaction'] = false;
1365 * @global boolean $cfg['Export']['sql_drop_database']
1367 $cfg['Export']['sql_drop_database'] = false;
1372 * @global boolean $cfg['Export']['sql_drop_table']
1374 $cfg['Export']['sql_drop_table'] = false;
1379 * @global boolean $cfg['Export']['sql_if_not_exists']
1380 * true by default for correct behavior when dealing with exporting
1381 * of VIEWs and the stand-in table
1383 $cfg['Export']['sql_if_not_exists'] = true;
1388 * @global boolean $cfg['Export']['sql_procedure_function']
1390 $cfg['Export']['sql_procedure_function'] = false;
1395 * @global boolean $cfg['Export']['sql_auto_increment']
1397 $cfg['Export']['sql_auto_increment'] = true;
1402 * @global boolean $cfg['Export']['sql_backquotes']
1404 $cfg['Export']['sql_backquotes'] = true;
1409 * @global boolean $cfg['Export']['sql_dates']
1411 $cfg['Export']['sql_dates'] = false;
1416 * @global boolean $cfg['Export']['sql_relation']
1418 $cfg['Export']['sql_relation'] = false;
1423 * @global boolean $cfg['Export']['sql_columns']
1425 $cfg['Export']['sql_columns'] = true;
1430 * @global boolean $cfg['Export']['sql_delayed']
1432 $cfg['Export']['sql_delayed'] = false;
1437 * @global boolean $cfg['Export']['sql_ignore']
1439 $cfg['Export']['sql_ignore'] = false;
1444 * @global boolean $cfg['Export']['sql_hex_for_blob']
1446 $cfg['Export']['sql_hex_for_blob'] = true;
1449 * insert/update/replace
1451 * @global string $cfg['Export']['sql_type']
1453 $cfg['Export']['sql_type'] = 'insert';
1458 * @global boolean $cfg['Export']['sql_extended']
1460 $cfg['Export']['sql_extended'] = true;
1465 * @global integer $cfg['Export']['sql_max_query_size']
1467 $cfg['Export']['sql_max_query_size'] = 50000;
1472 * @global boolean $cfg['Export']['sql_comments']
1474 $cfg['Export']['sql_comments'] = false;
1479 * @global boolean $cfg['Export']['sql_mime']
1481 $cfg['Export']['sql_mime'] = false;
1484 * \n is replaced by new line
1486 * @global string $cfg['Export']['sql_header_comment']
1488 $cfg['Export']['sql_header_comment'] = '';
1493 * @global boolean $cfg['Export']['pdf_structure']
1495 $cfg['Export']['pdf_structure'] = false;
1500 * @global boolean $cfg['Export']['pdf_data']
1502 $cfg['Export']['pdf_data'] = true;
1507 * @global string $cfg['Export']['pdf_report_title']
1509 $cfg['Export']['pdf_report_title'] = '';
1512 /*******************************************************************************
1515 $cfg['Import'] = array();
1520 * @global string $cfg['Import']['format']
1522 $cfg['Import']['format'] = 'sql';
1527 * @global boolean $cfg['Import']['allow_interrupt']
1529 $cfg['Import']['allow_interrupt'] = true;
1534 * @global integer $cfg['Import']['skip_queries']
1536 $cfg['Import']['skip_queries'] = '0';
1541 * @global string $cfg['Import']['sql_compatibility']
1543 $cfg['Import']['sql_compatibility'] = 'NONE';
1548 * @global boolean $cfg['Import']['csv_replace']
1550 $cfg['Import']['csv_replace'] = false;
1555 * @global string $cfg['Import']['csv_terminated']
1557 $cfg['Import']['csv_terminated'] = ';';
1562 * @global string $cfg['Import']['csv_enclosed']
1564 $cfg['Import']['csv_enclosed'] = '"';
1569 * @global string $cfg['Import']['csv_escaped']
1571 $cfg['Import']['csv_escaped'] = '\\';
1576 * @global string $cfg['Import']['csv_new_line']
1578 $cfg['Import']['csv_new_line'] = 'auto';
1583 * @global string $cfg['Import']['csv_columns']
1585 $cfg['Import']['csv_columns'] = '';
1590 * @global boolean $cfg['Import']['ldi_replace']
1592 $cfg['Import']['ldi_replace'] = false;
1597 * @global string $cfg['Import']['ldi_terminated']
1599 $cfg['Import']['ldi_terminated'] = ';';
1604 * @global string $cfg['Import']['ldi_enclosed']
1606 $cfg['Import']['ldi_enclosed'] = '"';
1611 * @global string $cfg['Import']['ldi_escaped']
1613 $cfg['Import']['ldi_escaped'] = '\\';
1618 * @global string $cfg['Import']['ldi_new_line']
1620 $cfg['Import']['ldi_new_line'] = 'auto';
1625 * @global string $cfg['Import']['ldi_columns']
1627 $cfg['Import']['ldi_columns'] = '';
1630 * 'auto' for auto-detection, true or false for forcing
1632 * @global string $cfg['Import']['ldi_local_option']
1634 $cfg['Import']['ldi_local_option'] = 'auto';
1637 * Link to the official MySQL documentation.
1638 * Be sure to include no trailing slash on the path.
1639 * See http://dev.mysql.com/doc/ for more information
1640 * about MySQL manuals and their types.
1642 * @global string $cfg['MySQLManualBase']
1644 $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
1647 * Type of MySQL documentation:
1648 * viewable - "viewable online", current one used on MySQL website
1649 * searchable - "Searchable, with user comments"
1650 * chapters - "HTML, one page per chapter"
1651 * chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
1652 * big - "HTML, all on one page"
1653 * old - old style used in phpMyAdmin 2.3.0 and sooner
1654 * none - do not show documentation links
1656 * @global string $cfg['MySQLManualType']
1658 $cfg['MySQLManualType'] = 'viewable';
1661 /*******************************************************************************
1668 * @global array $cfg['PDFPageSizes']
1670 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
1675 * @global string $cfg['PDFDefaultPageSize']
1677 $cfg['PDFDefaultPageSize'] = 'A4';
1680 /*******************************************************************************
1681 * Language and character set conversion settings
1685 * Default language to use, if not browser-defined or user-defined
1687 * @global string $cfg['DefaultLang']
1689 $cfg['DefaultLang'] = 'en-utf-8';
1692 * Default connection collation
1694 * @global string $cfg['DefaultConnectionCollation']
1696 $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
1699 * Force: always use this language - must be defined in
1700 * libraries/select_lang.lib.php
1701 * $cfg['Lang'] = 'en-utf-8';
1703 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
1706 * @global string $cfg['FilterLanguages']
1708 $cfg['FilterLanguages'] = '';
1711 * Default character set to use for recoding of MySQL queries, does not take
1712 * any effect when character sets recoding is switched off by
1713 * $cfg['AllowAnywhereRecoding'] or in language file
1714 * (see $cfg['AvailableCharsets'] to possible choices, you can add your own)
1716 * @global string $cfg['DefaultCharset']
1718 $cfg['DefaultCharset'] = 'utf-8';
1721 * Allow character set recoding of MySQL queries, must be also enabled in language
1722 * file to make harder using other language files than Unicode.
1723 * Default value is false to avoid problems on servers without the iconv
1724 * extension and where dl() is not supported
1726 * @global boolean $cfg['AllowAnywhereRecoding']
1728 $cfg['AllowAnywhereRecoding'] = false;
1731 * You can select here which functions will be used for character set conversion.
1732 * Possible values are:
1733 * auto - automatically use available one (first is tested iconv, then
1735 * iconv - use iconv or libiconv functions
1736 * recode - use recode_string function
1738 * @global string $cfg['RecodingEngine']
1740 $cfg['RecodingEngine'] = 'auto';
1743 * Specify some parameters for iconv used in character set conversion. See iconv
1744 * documentation for details:
1745 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
1747 * @global string $cfg['IconvExtraParams']
1749 $cfg['IconvExtraParams'] = '//TRANSLIT';
1752 * Available character sets for MySQL conversion. currently contains all which could
1753 * be found in lang/* files and few more.
1754 * Character sets will be shown in same order as here listed, so if you frequently
1755 * use some of these move them to the top.
1757 * @global array $cfg['AvailableCharsets']
1759 $cfg['AvailableCharsets'] = array(
1794 /*******************************************************************************
1795 * Customization & design
1797 * The graphical settings are now located in themes/theme-name/layout.inc.php
1801 * enable the left panel pointer
1802 * (used when LeftFrameLight is false)
1803 * see also LeftPointerColor
1806 * @global boolean $cfg['LeftPointerEnable']
1808 $cfg['LeftPointerEnable'] = true;
1811 * enable the browse pointer
1812 * see also BrowsePointerColor
1815 * @global boolean $cfg['BrowsePointerEnable']
1817 $cfg['BrowsePointerEnable'] = true;
1820 * enable the browse marker
1821 * see also BrowseMarkerColor
1824 * @global boolean $cfg['BrowseMarkerEnable']
1826 $cfg['BrowseMarkerEnable'] = true;
1829 * textarea size (columns) in edit mode
1830 * (this value will be emphasized (*2) for SQL
1831 * query textareas and (*1.25) for query window)
1833 * @global integer $cfg['TextareaCols']
1835 $cfg['TextareaCols'] = 40;
1838 * textarea size (rows) in edit mode
1840 * @global integer $cfg['TextareaRows']
1842 $cfg['TextareaRows'] = 7;
1845 * double size of textarea size for LONGTEXT fields
1847 * @global boolean $cfg['LongtextDoubleTextarea']
1849 $cfg['LongtextDoubleTextarea'] = true;
1852 * auto-select when clicking in the textarea of the query-box
1854 * @global boolean $cfg['TextareaAutoSelect']
1856 $cfg['TextareaAutoSelect'] = false;
1859 * textarea size (columns) for CHAR/VARCHAR
1861 * @global integer $cfg['CharTextareaCols']
1863 $cfg['CharTextareaCols'] = 40;
1866 * textarea size (rows) for CHAR/VARCHAR
1868 * @global integer $cfg['CharTextareaRows']
1870 $cfg['CharTextareaRows'] = 2;
1873 * Enable Ctrl+Arrows moving between fields when editing?
1875 * @global boolean $cfg['CtrlArrowsMoving']
1877 $cfg['CtrlArrowsMoving'] = true;
1880 * Max field data length in browse mode for all non-numeric fields
1882 * @global integer $cfg['LimitChars']
1884 $cfg['LimitChars'] = 50;
1887 * show edit/delete links on left side of browse
1888 * (or at the top with vertical browse)
1890 * @global boolean $cfg['ModifyDeleteAtLeft']
1892 $cfg['ModifyDeleteAtLeft'] = true;
1895 * show edit/delete links on right side of browse
1896 * (or at the bottom with vertical browse)
1898 * @global boolean $cfg['ModifyDeleteAtRight']
1900 $cfg['ModifyDeleteAtRight'] = false;
1903 * default display direction (horizontal|vertical|horizontalflipped)
1905 * @global string $cfg['DefaultDisplay']
1907 $cfg['DefaultDisplay'] = 'horizontal';
1910 * default display direction for altering/creating columns (tbl_properties)
1911 * (horizontal|vertical|<number>)
1912 * number indicates maximal number for which vertical model is used
1914 * @global integer $cfg['DefaultPropDisplay']
1916 $cfg['DefaultPropDisplay'] = 3;
1919 * table-header rotation via faking or CSS? (css|fake)
1920 * NOTE: CSS only works in IE browsers!
1922 * @global string $cfg['HeaderFlipType']
1924 $cfg['HeaderFlipType'] = 'css';
1927 * shows stored relation-comments in 'browse' mode.
1929 * @global boolean $cfg['ShowBrowseComments']
1931 $cfg['ShowBrowseComments'] = true;
1934 * shows stored relation-comments in 'table property' mode.
1936 * @global boolean $cfg['ShowPropertyComments']
1938 $cfg['ShowPropertyComments']= true;
1941 * repeat header names every X cells? (0 = deactivate)
1943 * @global integer $cfg['RepeatCells']
1945 $cfg['RepeatCells'] = 100;
1948 * Set to true if Edit link should open the query to edit in the query window
1949 * (assuming JavaScript is enabled), and to false if we should edit in the right panel
1951 * @global boolean $cfg['EditInWindow']
1953 $cfg['EditInWindow'] = true;
1956 * Width of Query window
1958 * @global integer $cfg['QueryWindowWidth']
1960 $cfg['QueryWindowWidth'] = 550;
1963 * Height of Query window
1965 * @global integer $cfg['QueryWindowHeight']
1967 $cfg['QueryWindowHeight'] = 310;
1970 * Set to true if you want DB-based query history.If false, this utilizes
1971 * JS-routines to display query history (lost by window close)
1973 * @global boolean $cfg['QueryHistoryDB']
1975 $cfg['QueryHistoryDB'] = false;
1978 * which tab to display in the querywindow on startup
1979 * (sql|files|history|full)
1981 * @global string $cfg['QueryWindowDefTab']
1983 $cfg['QueryWindowDefTab'] = 'sql';
1986 * When using DB-based query history, how many entries should be kept?
1988 * @global integer $cfg['QueryHistoryMax']
1990 $cfg['QueryHistoryMax'] = 25;
1993 * Use MIME-Types (stored in column comments table) for
1995 * @global boolean $cfg['BrowseMIME']
1997 $cfg['BrowseMIME'] = true;
2000 * When approximate count < this, PMA will get exact count for table rows.
2002 * @global integer $cfg['MaxExactCount']
2004 $cfg['MaxExactCount'] = 20000;
2007 * Zero means that no row count is done for views; see the doc
2009 * @global integer $cfg['MaxExactCountViews']
2011 $cfg['MaxExactCountViews'] = 0;
2014 * Utilize DHTML/JS capabilities to allow WYSIWYG editing of
2015 * the PDF page editor. Requires an IE6/Gecko based browser.
2017 * @global boolean $cfg['WYSIWYG-PDF']
2019 $cfg['WYSIWYG-PDF'] = true;
2022 * Sort table and database in natural order
2024 * @global boolean $cfg['NaturalOrder']
2026 $cfg['NaturalOrder'] = true;
2029 * Initial state for sliders
2032 * @global string $cfg['InitialSlidersState']
2034 $cfg['InitialSlidersState'] = 'closed';
2038 //-----------------------------------------------------------------------------
2039 // custom-setup by mkkeck: 2004-05-04
2040 // some specials for new icons and scrolling
2042 * @todo 2004-05-08 rabus: We need to rearrange these variables.
2046 /*******************************************************************************
2047 * Window title settings
2051 * title of browser window when a table is selected
2053 * @global string $cfg['TitleTable']
2055 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2058 * title of browser window when a database is selected
2060 * @global string $cfg['TitleDatabase']
2062 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2065 * title of browser window when a server is selected
2067 * @global string $cfg['TitleServer']
2069 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2072 * title of browser window when nothing is selected
2073 * @global string $cfg['TitleDefault']
2075 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2078 * show some icons for warning, error and information messages (true|false)?
2080 * @global boolean $cfg['ErrorIconic']
2082 $cfg['ErrorIconic'] = true;
2085 * show icons in list on main page and on menu tabs (true|false)?
2087 * @global boolean $cfg['MainPageIconic']
2089 $cfg['MainPageIconic'] = true;
2092 * show help button instead of strDocu (true|false)?
2094 * @global boolean $cfg['ReplaceHelpImg']
2096 $cfg['ReplaceHelpImg'] = true;
2099 /*******************************************************************************
2104 * using themes manager please set up here the path to 'themes' else leave empty
2106 * @global string $cfg['ThemePath']
2108 $cfg['ThemePath'] = './themes';
2111 * if you want to use selectable themes and if ThemesPath not empty
2112 * set it to true, else set it to false (default is false);
2114 * @global boolean $cfg['ThemeManager']
2116 $cfg['ThemeManager'] = true;
2119 * set up default theme, if ThemePath not empty you can set up here an valid
2120 * path to themes or 'original' for the original pma-theme
2122 * @global string $cfg['ThemeDefault']
2124 $cfg['ThemeDefault'] = 'original';
2127 * allow different theme for each configured server
2129 * @global boolean $cfg['ThemePerServer']
2131 $cfg['ThemePerServer'] = false;
2134 /*******************************************************************************
2140 * %d will be replaced by the database name.
2141 * %t will be replaced by the table name.
2142 * %f will be replaced by a list of field names.
2143 * (%t and %f only applies to DefaultQueryTable)
2145 * @global string $cfg['DefaultQueryTable']
2147 $cfg['DefaultQueryTable'] = 'SELECT * FROM %t WHERE 1';
2151 * %d will be replaced by the database name.
2152 * %t will be replaced by the table name.
2153 * %f will be replaced by a list of field names.
2154 * (%t and %f only applies to DefaultQueryTable)
2156 * @global string $cfg['DefaultQueryDatabase']
2158 $cfg['DefaultQueryDatabase'] = '';
2161 /*******************************************************************************
2162 * SQL Query box settings
2163 * These are the links display in all of the SQL Query boxes
2165 * @global array $cfg['SQLQuery']
2167 $cfg['SQLQuery'] = array();
2170 * Edit link to change a query
2172 * @global boolean $cfg['SQLQuery']['Edit']
2174 $cfg['SQLQuery']['Edit'] = true;
2177 * EXPLAIN on SELECT queries
2179 * @global boolean $cfg['SQLQuery']['Explain']
2181 $cfg['SQLQuery']['Explain'] = true;
2184 * Wrap a query in PHP
2186 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2188 $cfg['SQLQuery']['ShowAsPHP'] = true;
2191 * Validate a query (see $cfg['SQLValidator'] as well)
2193 * @global boolean $cfg['SQLQuery']['Validate']
2195 $cfg['SQLQuery']['Validate'] = false;
2198 * Refresh the results page
2200 * @global boolean $cfg['SQLQuery']['Refresh']
2202 $cfg['SQLQuery']['Refresh'] = true;
2205 /*******************************************************************************
2206 * Web server upload/save/import directories
2210 * Directory for uploaded files that can be executed by phpMyAdmin.
2211 * For example './upload'. Leave empty for no upload directory support.
2212 * Use %u for username inclusion.
2214 * @global string $cfg['UploadDir']
2216 $cfg['UploadDir'] = '';
2219 * Directory where phpMyAdmin can save exported data on server.
2220 * For example './save'. Leave empty for no save directory support.
2221 * Use %u for username inclusion.
2223 * @global string $cfg['SaveDir']
2225 $cfg['SaveDir'] = '';
2228 * Directory where phpMyAdmin can save temporary files.
2229 * This is needed for MS Excel export, see documentation how to enable that.
2231 * @global string $cfg['TempDir']
2233 $cfg['TempDir'] = '';
2241 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2242 * which is a bit expensive for PHP < 4.3.0, but it is the only safe way how to
2243 * determine GD version.
2245 * @global string $cfg['GD2Available']
2247 $cfg['GD2Available'] = 'auto';
2250 * List of trusted proxies for IP allow/deny
2252 * @global array $cfg['TrustedProxies']
2254 $cfg['TrustedProxies'] = array();
2257 * We normally check the permissions on the configuration file to ensure
2258 * it's not world writable. However, phpMyAdmin could be installed on
2259 * a NTFS filesystem mounted on a non-Windows server, in which case the
2260 * permissions seems wrong but in fact cannot be detected. In this case
2261 * a sysadmin would set the following to false.
2263 $cfg['CheckConfigurationPermissions'] = true;
2265 /*******************************************************************************
2266 * SQL Parser Settings
2268 * @global array $cfg['SQP']
2270 $cfg['SQP'] = array();
2273 * Pretty-printing style to use on queries (html, text, none)
2275 * @global string $cfg['SQP']['fmtType']
2277 $cfg['SQP']['fmtType'] = 'html';
2280 * Amount to indent each level (floats are valid)
2282 * @global integer $cfg['SQP']['fmtInd']
2284 $cfg['SQP']['fmtInd'] = '1';
2287 * Units for indenting each level (CSS Types - {em, px, pt})
2289 * @global string $cfg['SQP']['fmtIndUnit']
2291 $cfg['SQP']['fmtIndUnit'] = 'em';
2294 /*******************************************************************************
2295 * If you wish to use the SQL Validator service, you should be aware of the
2297 * All SQL statements are stored anonymously for statistical purposes.
2298 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
2299 * All rights reserved.
2301 * @global array $cfg['SQLValidator']
2303 $cfg['SQLValidator'] = array();
2306 * Make the SQL Validator available
2308 * @global boolean $cfg['SQLValidator']['use']
2310 $cfg['SQLValidator']['use'] = false;
2313 * If you have a custom username, specify it here (defaults to anonymous)
2315 * @global string $cfg['SQLValidator']['username']
2317 $cfg['SQLValidator']['username'] = '';
2320 * Password for username
2322 * @global string $cfg['SQLValidator']['password']
2324 $cfg['SQLValidator']['password'] = '';
2327 /*******************************************************************************
2330 * @global array $cfg['DBG']
2332 $cfg['DBG'] = array();
2335 * Output executed queries and their execution times
2337 * @global boolean $cfg['DBG']['enable']
2339 $cfg['DBG']['sql'] = false;
2342 * Make the DBG stuff available
2343 * To use the following, please install the DBG extension from http://dd.cron.ru/dbg/
2345 * @global boolean $cfg['DBG']['enable']
2347 $cfg['DBG']['php'] = false;
2350 * Produce profiling results of PHP
2352 * @global boolean $cfg['DBG']['profile']['enable']
2354 $cfg['DBG']['profile']['enable'] = false;
2357 * Threshold of long running code to display
2358 * Anything below the threshold is not displayed
2360 * @global float $cfg['DBG']['profile']['threshold']
2362 $cfg['DBG']['profile']['threshold'] = 0.5;
2365 /*******************************************************************************
2371 * VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
2373 * @global array $cfg['ColumnTypes']
2375 $cfg['ColumnTypes'] = array(
2402 'DATE and TIME' => array(
2440 'GEOMETRYCOLLECTION',
2447 * @global array $cfg['AttributeTypes']
2449 $cfg['AttributeTypes'] = array(
2453 'UNSIGNED ZEROFILL',
2454 'on update CURRENT_TIMESTAMP',
2458 if ($cfg['ShowFunctionFields']) {
2460 * Available functions
2462 * @global array $cfg['Functions']
2464 $cfg['Functions'] = array(
2537 * Which column types will be mapped to which Group?
2539 * @global array $cfg['RestrictColumnTypes']
2541 $cfg['RestrictColumnTypes'] = array(
2542 'TINYINT' => 'FUNC_NUMBER',
2543 'SMALLINT' => 'FUNC_NUMBER',
2544 'MEDIUMINT' => 'FUNC_NUMBER',
2545 'INT' => 'FUNC_NUMBER',
2546 'BIGINT' => 'FUNC_NUMBER',
2547 'DECIMAL' => 'FUNC_NUMBER',
2548 'FLOAT' => 'FUNC_NUMBER',
2549 'DOUBLE' => 'FUNC_NUMBER',
2550 'REAL' => 'FUNC_NUMBER',
2551 'BIT' => 'FUNC_NUMBER',
2552 'BOOL' => 'FUNC_NUMBER',
2553 'SERIAL' => 'FUNC_NUMBER',
2555 'DATE' => 'FUNC_DATE',
2556 'DATETIME' => 'FUNC_DATE',
2557 'TIMESTAMP' => 'FUNC_DATE',
2558 'TIME' => 'FUNC_DATE',
2559 'YEAR' => 'FUNC_DATE',
2561 'CHAR' => 'FUNC_CHAR',
2562 'VARCHAR' => 'FUNC_CHAR',
2563 'TINYTEXT' => 'FUNC_CHAR',
2564 'TEXT' => 'FUNC_CHAR',
2565 'MEDIUMTEXT' => 'FUNC_CHAR',
2566 'LONGTEXT' => 'FUNC_CHAR',
2567 'BINARY' => 'FUNC_CHAR',
2568 'VARBINARY' => 'FUNC_CHAR',
2569 'TINYBLOB' => 'FUNC_CHAR',
2570 'MEDIUMBLOB' => 'FUNC_CHAR',
2571 'BLOB' => 'FUNC_CHAR',
2572 'LONGBLOB' => 'FUNC_CHAR',
2576 'GEOMETRY' => 'FUNC_SPATIAL',
2577 'POINT' => 'FUNC_SPATIAL',
2578 'LINESTRING' => 'FUNC_SPATIAL',
2579 'POLYGON' => 'FUNC_SPATIAL',
2580 'MULTIPOINT' => 'FUNC_SPATIAL',
2581 'MULTILINESTRING' => 'FUNC_SPATIAL',
2582 'MULTIPOLYGON' => 'FUNC_SPATIAL',
2583 'GEOMETRYCOLLECTION' => 'FUNC_SPATIAL',
2588 * Map above defined groups to any function
2590 * @global array $cfg['RestrictFunctions']
2592 $cfg['RestrictFunctions'] = array(
2593 'FUNC_CHAR' => array(
2619 'FUNC_DATE' => array(
2634 'FUNC_NUMBER' => array(
2671 'FUNC_SPATIAL' => array(
2694 * Default functions for above defined groups
2696 * @global array $cfg['DefaultFunctions']
2698 $cfg['DefaultFunctions'] = array(
2701 'FUNC_NUMBER' => '',
2702 'first_timestamp' => 'NOW',
2703 'pk_char36' => 'UUID',
2712 * @global array $cfg['NumOperators']
2714 $cfg['NumOperators'] = array(
2728 * @global array $cfg['TextOperators']
2730 $cfg['TextOperators'] = array(
2743 * @global array $cfg['EnumOperators']
2745 $cfg['EnumOperators'] = array(
2753 * @global array $cfg['SetOperators']
2755 $cfg['SetOperators'] = array(
2763 * @global array $cfg['NullOperators']
2765 $cfg['NullOperators'] = array(
2773 * @global array $cfg['UnaryOperators']
2775 $cfg['UnaryOperators'] = array(