Translation update done using Pootle.
[phpmyadmin/madhuracj.git] / libraries / config.default.php
blob8dff000dae8baf778c6fb246e399b6ac27200600
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * <code>
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 !!
10 * </code>
12 * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
14 * phpMyAdmin default configuration, you can copy values from here to your
15 * config.inc.php
17 * All directives are explained in Documentation.html
19 * @package PhpMyAdmin
22 /**
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'] = '';
41 /**
42 * Disable the default warning that is displayed on the DB Details Structure page if
43 * any of the required Tables for the configuration storage could not be found
45 * @global boolean $cfg['PmaNoRelation_DisableWarning']
47 $cfg['PmaNoRelation_DisableWarning'] = false;
49 /**
50 * Disable the default warning that is displayed if Suhosin is detected
52 * @global boolean $cfg['SuhosinDisableWarning']
54 $cfg['SuhosinDisableWarning'] = false;
56 /**
57 * Disable the default warning that is displayed if mcrypt is missing for
58 * cookie authentication.
60 * @global boolean $cfg['McryptDisableWarning']
62 $cfg['McryptDisableWarning'] = false;
64 /**
65 * Show warning about incomplete translations on certain threshold.
67 * @global boolean $cfg['TranslationWarningThreshold']
69 $cfg['TranslationWarningThreshold'] = 80;
71 /**
72 * Allows phpMyAdmin to be included from a document located on
73 * another domain; setting this to true is a potential security hole
75 * @global boolean $cfg['AllowThirdPartyFraming']
77 $cfg['AllowThirdPartyFraming'] = false;
79 /**
80 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
81 * at least one server configuration uses 'cookie' auth_type, enter here a
82 * pass phrase that will be used by blowfish. The maximum length seems to be 46
83 * characters.
85 * @global string $cfg['blowfish_secret']
87 $cfg['blowfish_secret'] = '';
90 /*******************************************************************************
91 * Server(s) configuration
93 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
94 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
95 * to ''. If you want more than one server, just copy following section
96 * (including $i incrementation) several times. There is no need to define
97 * full server array, just define values you need to change.
99 * @global array $cfg['Servers']
101 $cfg['Servers'] = array();
103 $i = 1;
106 * MySQL hostname or IP address
108 * @global string $cfg['Servers'][$i]['host']
110 $cfg['Servers'][$i]['host'] = 'localhost';
113 * MySQL port - leave blank for default port
115 * @global string $cfg['Servers'][$i]['port']
117 $cfg['Servers'][$i]['port'] = '';
120 * Path to the socket - leave blank for default socket
122 * @global string $cfg['Servers'][$i]['socket']
124 $cfg['Servers'][$i]['socket'] = '';
127 * Use SSL for connecting to MySQL server?
129 * @global boolean $cfg['Servers'][$i]['ssl']
131 $cfg['Servers'][$i]['ssl'] = false;
134 * How to connect to MySQL server ('tcp' or 'socket')
136 * @global string $cfg['Servers'][$i]['connect_type']
138 $cfg['Servers'][$i]['connect_type'] = 'tcp';
141 * The PHP MySQL extension to use ('mysql' or 'mysqli')
143 * @global string $cfg['Servers'][$i]['extension']
145 $cfg['Servers'][$i]['extension'] = 'mysqli';
148 * Use compressed protocol for the MySQL connection
150 * @global boolean $cfg['Servers'][$i]['compress']
152 $cfg['Servers'][$i]['compress'] = false;
155 * MySQL control host. This permits to use a host different than the
156 * main host, for the phpMyAdmin configuration storage. If left empty,
157 * $cfg['Servers'][$i]['host'] is used instead.
159 * @global string $cfg['Servers'][$i]['controlhost']
161 $cfg['Servers'][$i]['controlhost'] = '';
164 * MySQL control user settings (this user must have read-only
165 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
166 * used for all relational features (pmadb)
168 * @global string $cfg['Servers'][$i]['controluser']
170 $cfg['Servers'][$i]['controluser'] = '';
173 * MySQL control user settings (this user must have read-only
174 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
175 * used for all relational features (pmadb)
177 * @global string $cfg['Servers'][$i]['controlpass']
179 $cfg['Servers'][$i]['controlpass'] = '';
182 * Authentication method (valid choices: config, http, signon or cookie)
184 * @global string $cfg['Servers'][$i]['auth_type']
186 $cfg['Servers'][$i]['auth_type'] = 'cookie';
189 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
191 * @global string $cfg['Servers'][$i]['auth_http_realm']
193 $cfg['Servers'][$i]['auth_http_realm'] = '';
196 * File containing Swekey ids and login names (see /contrib);
197 * leave empty to deactivate Swekey hardware authentication
199 * @global string $cfg['Servers'][$i]['auth_swekey_config']
201 $cfg['Servers'][$i]['auth_swekey_config'] = '';
204 * MySQL user
206 * @global string $cfg['Servers'][$i]['user']
208 $cfg['Servers'][$i]['user'] = 'root';
211 * MySQL password (only needed with 'config' auth_type)
213 * @global string $cfg['Servers'][$i]['password']
215 $cfg['Servers'][$i]['password'] = '';
218 * Session to use for 'signon' authentication method
220 * @global string $cfg['Servers'][$i]['SignonSession']
222 $cfg['Servers'][$i]['SignonSession'] = '';
225 * PHP script to use for 'signon' authentication method
227 * @global string $cfg['Servers'][$i]['SignonScript']
229 $cfg['Servers'][$i]['SignonScript'] = '';
232 * URL where to redirect user to login for 'signon' authentication method
234 * @global string $cfg['Servers'][$i]['SignonURL']
236 $cfg['Servers'][$i]['SignonURL'] = '';
239 * URL where to redirect user after logout
241 * @global string $cfg['Servers'][$i]['LogoutURL']
243 $cfg['Servers'][$i]['LogoutURL'] = '';
246 * Whether to try to connect without password
248 * @global boolean $cfg['Servers'][$i]['nopassword']
250 $cfg['Servers'][$i]['nopassword'] = false;
253 * If set to a db-name, only this db is displayed in left frame
254 * It may also be an array of db-names, where sorting order is relevant.
256 * @global string $cfg['Servers'][$i]['only_db']
258 $cfg['Servers'][$i]['only_db'] = '';
261 * Database name to be hidden from listings
263 * @global string $cfg['Servers'][$i]['hide_db']
265 $cfg['Servers'][$i]['hide_db'] = '';
268 * Verbose name for this host - leave blank to show the hostname
269 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
271 * @global string $cfg['Servers'][$i]['verbose']
273 $cfg['Servers'][$i]['verbose'] = '';
276 * Database used for Relation, Bookmark and PDF Features
277 * (see scripts/create_tables.sql)
278 * - leave blank for no support
279 * SUGGESTED: 'phpmyadmin'
281 * @global string $cfg['Servers'][$i]['pmadb']
283 $cfg['Servers'][$i]['pmadb'] = '';
286 * Bookmark table
287 * - leave blank for no bookmark support
288 * SUGGESTED: 'pma_bookmark'
290 * @global string $cfg['Servers'][$i]['bookmarktable']
292 $cfg['Servers'][$i]['bookmarktable'] = '';
295 * table to describe the relation between links (see doc)
296 * - leave blank for no relation-links support
297 * SUGGESTED: 'pma_relation'
299 * @global string $cfg['Servers'][$i]['relation']
301 $cfg['Servers'][$i]['relation'] = '';
304 * table to describe the display fields
305 * - leave blank for no display fields support
306 * SUGGESTED: 'pma_table_info'
308 * @global string $cfg['Servers'][$i]['table_info']
310 $cfg['Servers'][$i]['table_info'] = '';
313 * table to describe the tables position for the PDF schema
314 * - leave blank for no PDF schema support
315 * SUGGESTED: 'pma_table_coords'
317 * @global string $cfg['Servers'][$i]['table_coords']
319 $cfg['Servers'][$i]['table_coords'] = '';
322 * table to describe pages of relationpdf
323 * - leave blank if you don't want to use this
324 * SUGGESTED: 'pma_pdf_pages'
326 * @global string $cfg['Servers'][$i]['pdf_pages']
328 $cfg['Servers'][$i]['pdf_pages'] = '';
331 * table to store column information
332 * - leave blank for no column comments/mime types
333 * SUGGESTED: 'pma_column_info'
335 * @global string $cfg['Servers'][$i]['column_info']
337 $cfg['Servers'][$i]['column_info'] = '';
340 * table to store SQL history
341 * - leave blank for no SQL query history
342 * SUGGESTED: 'pma_history'
344 * @global string $cfg['Servers'][$i]['history']
346 $cfg['Servers'][$i]['history'] = '';
349 * table to store the coordinates for Designer
350 * - leave blank for no Designer feature
351 * SUGGESTED: 'pma_designer_coords'
353 * @global string $cfg['Servers'][$i]['designer_coords']
355 $cfg['Servers'][$i]['designer_coords'] = '';
358 * table to store recently used tables
359 * - leave blank for no "persistent" recently used tables
360 * SUGGESTED: 'pma_recent'
362 $cfg['Servers'][$i]['recent'] = '';
365 * table to store UI preferences for tables
366 * - leave blank for no "persistent" UI preferences
367 * SUGGESTED: 'pma_table_uiprefs'
369 $cfg['Servers'][$i]['table_uiprefs'] = '';
372 * table to store SQL tracking
373 * - leave blank for no SQL tracking
374 * SUGGESTED: 'pma_tracking'
376 * @global string $cfg['Servers'][$i]['tracking']
378 $cfg['Servers'][$i]['tracking'] = '';
381 * table to store user preferences
382 * - leave blank to disable server storage
383 * SUGGESTED: 'pma_userconfig'
385 * @global string $cfg['Servers'][$i]['userconfig']
387 $cfg['Servers'][$i]['userconfig'] = '';
390 * Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
392 * In case where tables in databases is modified (e.g. dropped or renamed),
393 * table_uiprefs may contains invalid data (referring to tables which are not
394 * exist anymore).
395 * This configuration make sure that we only keep N (N = MaxTableUiprefs)
396 * newest record in table_uiprefs and automatically delete older records.
398 * @global integer $cfg['Servers'][$i]['userconfig'] = '';
400 $cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
403 * set to false if you know that your pma_* tables are up to date.
404 * This prevents compatibility checks and thereby increases performance.
406 * @global boolean $cfg['Servers'][$i]['verbose_check']
408 $cfg['Servers'][$i]['verbose_check'] = true;
411 * whether to allow root login
413 * @global boolean $cfg['Servers'][$i]['AllowRoot']
415 $cfg['Servers'][$i]['AllowRoot'] = true;
418 * whether to allow login of any user without a password
420 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
422 $cfg['Servers'][$i]['AllowNoPassword'] = false;
425 * Host authentication order, leave blank to not use
427 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
429 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
432 * Host authentication rules, leave blank for defaults
434 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
436 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
439 * Disable use of INFORMATION_SCHEMA. Is always 'true' for Drizzle.
441 * @see http://sf.net/support/tracker.php?aid=1849494
442 * @see http://bugs.mysql.com/19588
443 * @global boolean $cfg['Servers'][$i]['DisableIS']
445 $cfg['Servers'][$i]['DisableIS'] = true;
448 * SQL command to fetch available databases
450 * by default most user will be fine with SHOW DATABASES,
451 * for servers with a huge amount of databases it is possible to
452 * define a command which executes faster but with less information
454 * especially when accessing database servers from ISPs changing this command
455 * can result in a great speed improvement
457 * false will disable fetching databases from the server, only databases in
458 * $cfg['Servers'][$i]['only_db'] will be displayed
460 * #user# will be replaced by current user
462 * examples:
463 * 'SHOW DATABASES'
464 * "SHOW DATABASES LIKE '#user#\_%'"
465 * 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
466 * 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
467 * false
469 * @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
471 $cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
474 * Whether to count tables when showing database list
476 * @global array $cfg['Servers'][$i]['CountTables']
478 $cfg['Servers'][$i]['CountTables'] = false;
481 * Whether the tracking mechanism creates versions for tables and views automatically.
483 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
486 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
489 * Defines the list of statements the auto-creation uses for new versions.
491 * @global string $cfg['Servers'][$i]['tracking_default_statements']
494 $cfg['Servers'][$i]['tracking_default_statements'] = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,' .
495 'CREATE INDEX,DROP INDEX,' .
496 'INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,' .
497 'CREATE VIEW,ALTER VIEW,DROP VIEW,' .
498 'CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
501 * Whether a DROP VIEW IF EXISTS statement will be added as first line to the log when creating a view.
503 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
506 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
509 * Whether a DROP TABLE IF EXISTS statement will be added as first line to the log when creating a table.
511 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
514 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
517 * Whether a DROP DATABASE IF EXISTS statement will be added as first line to the log when creating a database.
519 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
522 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
525 * Default server (0 = no default server)
527 * If you have more than one server configured, you can set $cfg['ServerDefault']
528 * to any one of them to auto-connect to that server when phpMyAdmin is started,
529 * or set it to 0 to be given a list of servers without logging in
530 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
531 * set to that server.
533 * @global integer $cfg['ServerDefault']
535 $cfg['ServerDefault'] = 1;
538 * Other core phpMyAdmin settings
541 * whether Ajax behavior is active
543 * @global boolean $cfg['AjaxEnable']
545 $cfg['AjaxEnable'] = true;
548 * whether version check is active
550 * @global boolean $cfg['VersionCheck']
552 $cfg['VersionCheck'] = VERSION_CHECK_DEFAULT;
555 * maximum number of db's displayed in left frame and database list
557 * @global integer $cfg['MaxDbList']
559 $cfg['MaxDbList'] = 100;
562 * maximum number of tables displayed in table list
564 * @global integer $cfg['MaxTableList']
566 $cfg['MaxTableList'] = 250;
569 * whether to show hint or not
571 * @global boolean $cfg['ShowHint']
573 $cfg['ShowHint'] = true;
576 * maximum number of characters when a SQL query is displayed
578 * @global integer $cfg['MaxCharactersInDisplayedSQL']
580 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
583 * use GZIP output buffering if possible (true|false|'auto')
585 * @global string $cfg['OBGzip']
587 $cfg['OBGzip'] = 'auto';
590 * use persistent connections to MySQL database
592 * @global boolean $cfg['PersistentConnections']
594 $cfg['PersistentConnections'] = false;
597 * whether to force using HTTPS
599 * @global boolean $cfg['ForceSSL']
601 $cfg['ForceSSL'] = false;
604 * maximum execution time in seconds (0 for no limit)
606 * @global integer $cfg['ExecTimeLimit']
608 $cfg['ExecTimeLimit'] = 300;
611 * Path for storing session data (session_save_path PHP parameter).
613 * @global integer $cfg['SessionSavePath']
615 $cfg['SessionSavePath'] = '';
618 * maximum allocated bytes ('0' for no limit)
619 * this is a string because '16M' is a valid value; we must put here
620 * a string as the default value so that /setup accepts strings
622 * @global string $cfg['MemoryLimit']
624 $cfg['MemoryLimit'] = '0';
627 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
628 * Is ignored for Drizzle.
630 * @global boolean $cfg['SkipLockedTables']
632 $cfg['SkipLockedTables'] = false;
635 * show SQL queries as run
637 * @global boolean $cfg['ShowSQL']
639 $cfg['ShowSQL'] = true;
642 * show a 'Drop database' link to normal users
644 * @global boolean $cfg['AllowUserDropDatabase']
646 $cfg['AllowUserDropDatabase'] = false;
649 * confirm some commands that can result in loss of data
650 * (see "need_confirm" in the parser)
652 * @global boolean $cfg['Confirm']
654 $cfg['Confirm'] = true;
657 * recall previous login in cookie authentication mode or not
659 * @global boolean $cfg['LoginCookieRecall']
661 $cfg['LoginCookieRecall'] = true;
664 * validity of cookie login (in seconds; 1440 matches php.ini's
665 * session.gc_maxlifetime)
667 * @global integer $cfg['LoginCookieValidity']
669 $cfg['LoginCookieValidity'] = 1440;
672 * how long login cookie should be stored (in seconds)
674 * @global integer $cfg['LoginCookieStore']
676 $cfg['LoginCookieStore'] = 0;
679 * whether to delete all login cookies on logout
681 * @global boolean $cfg['LoginCookieDeleteAll']
683 $cfg['LoginCookieDeleteAll'] = true;
686 * whether to enable the "database search" feature or not
688 * @global boolean $cfg['UseDbSearch']
690 $cfg['UseDbSearch'] = true;
693 * if set to true, PMA continues computing multiple-statement queries
694 * even if one of the queries failed
696 * @global boolean $cfg['IgnoreMultiSubmitErrors']
698 $cfg['IgnoreMultiSubmitErrors'] = false;
701 * if set to true, PMA will show the affected rows of EACH statement on
702 * multiple-statement queries. See the libraries/import.php file for
703 * hard coded defaults on how many queries a statement may contain!
705 * @global boolean $cfg['VerboseMultiSubmit']
707 $cfg['VerboseMultiSubmit'] = true;
710 * allow login to any user entered server in cookie based authentication
712 * @global boolean $cfg['AllowArbitraryServer']
714 $cfg['AllowArbitraryServer'] = false;
717 /*******************************************************************************
718 * Error handler configuration
720 * this configures phpMyAdmin's own error handler, it is used to avoid information
721 * disclosure, gather errors for logging, reporting and displaying
723 * @global array $cfg['Error_Handler']
725 $cfg['Error_Handler'] = array();
728 * whether to display errors or not
730 * this does not affect errors of type E_USER_*
732 * @global boolean $cfg['Error_Handler']['display']
734 $cfg['Error_Handler']['display'] = false;
737 * (NOT IMPLEMENTED YET)
738 * where to log errors, false or empty to disable
740 * <code>
741 * // EXAMPLE log to std PHP error log
742 * $cfg['Error_Handler']['log'] = array(0);
743 * // EXAMPLE mail errors
744 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
745 * // EXAMPLE append to specific file
746 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
747 * </code>
749 * @see http://php.net/error_log
750 * @global string $cfg['Error_Handler']['log']
752 //$cfg['Error_Handler']['log'] = false;
755 * gather all errors in session to be displayed on a error reporting page
756 * for viewing and/or sending to phpMyAdmin developer team
758 * @global boolean $cfg['Error_Handler']['gather']
760 $cfg['Error_Handler']['gather'] = false;
763 /*******************************************************************************
764 * Left frame setup
768 * use a select-based menu and display only the current tables in the left frame.
770 * @global boolean $cfg['LeftFrameLight']
772 $cfg['LeftFrameLight'] = true;
775 * turn the select-based light menu into a tree
777 * @global boolean $cfg['LeftFrameDBTree']
779 $cfg['LeftFrameDBTree'] = true;
782 * the separator to sub-tree the select-based light menu tree
784 * @global string $cfg['LeftFrameDBSeparator']
786 $cfg['LeftFrameDBSeparator'] = '_';
789 * Which string will be used to generate table prefixes
790 * to split/nest tables into multiple categories
792 * @global string $cfg['LeftFrameTableSeparator']
794 $cfg['LeftFrameTableSeparator']= '__';
797 * How many sublevels should be displayed when splitting up tables by the above Separator
799 * @global integer $cfg['LeftFrameTableLevel']
801 $cfg['LeftFrameTableLevel'] = 1;
804 * display table comment as tooltip in left frame
806 * @global boolean $cfg['ShowTooltip']
808 $cfg['ShowTooltip'] = true;
811 * if ShowToolTip is enabled, this defines that table/db comments
813 * @global boolean $cfg['ShowTooltipAliasDB']
815 $cfg['ShowTooltipAliasDB'] = false;
818 * are shown (in the left menu and db_structure) instead of table/db names.
819 * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
820 * descriptors, not the table itself.
822 * @global boolean $cfg['ShowTooltipAliasTB']
824 $cfg['ShowTooltipAliasTB'] = false;
827 * display logo at top of left frame
829 * @global boolean $cfg['LeftDisplayLogo']
831 $cfg['LeftDisplayLogo'] = true;
834 * where should logo link point to (can also contain an external URL)
836 * @global string $cfg['LeftLogoLink']
838 $cfg['LeftLogoLink'] = 'main.php';
841 * whether to open the linked page in the main window ('main') or
842 * in a new window ('new')
844 * @global string $cfg['LeftLogoLinkWindow']
846 $cfg['LeftLogoLinkWindow'] = 'main';
849 * number of recently used tables displayed in the navigation frame
851 * @global integer $cfg['LeftRecentTable']
853 $cfg['LeftRecentTable'] = 10;
856 * display a JavaScript table filter in the left frame
857 * when more then x tables are present
859 * @global boolean $cfg['LeftDisplayTableFilterMinimum']
861 $cfg['LeftDisplayTableFilterMinimum'] = 30;
864 * display server choice at top of left frame
866 * @global boolean $cfg['LeftDisplayServers']
868 $cfg['LeftDisplayServers'] = false;
871 * server choice as links
873 * @global boolean $cfg['DisplayServersList']
875 $cfg['DisplayServersList'] = false;
878 * database choice in light as links
880 * @global boolean $cfg['DisplayDatabasesList']
882 $cfg['DisplayDatabasesList'] = 'auto';
885 * target of the navigation panel quick access icon
887 * Possible values:
888 * 'tbl_structure.php' = fields list
889 * 'tbl_sql.php' = SQL form
890 * 'tbl_select.php' = search page
891 * 'tbl_change.php' = insert row page
892 * 'sql.php' = browse page
894 * @global string $cfg['LeftDefaultTabTable']
896 $cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
899 /*******************************************************************************
900 * In the main frame, at startup...
904 * allow to display statistics and space usage in the pages about database
905 * details and table properties
907 * @global boolean $cfg['ShowStats']
909 $cfg['ShowStats'] = true;
912 * show PHP info link
914 * @global boolean $cfg['ShowPhpInfo']
916 $cfg['ShowPhpInfo'] = false;
919 * show MySQL server and web server information
921 * @global boolean $cfg['ShowServerInfo']
923 $cfg['ShowServerInfo'] = true;
926 * show change password link
928 * @global boolean $cfg['ShowChgPassword']
930 $cfg['ShowChgPassword'] = true;
933 * show create database form
935 * @global boolean $cfg['ShowCreateDb']
937 $cfg['ShowCreateDb'] = true;
940 * suggest a new DB name if possible (false = keep empty)
942 * @global boolean $cfg['SuggestDBName']
944 $cfg['SuggestDBName'] = true;
947 /*******************************************************************************
948 * In browse mode...
952 * Use icons instead of text for the navigation bar buttons
953 * and on right panel top menu (server db table) (true|false|'both')
955 * @global string $cfg['NavigationBarIconic']
957 $cfg['NavigationBarIconic'] = true;
960 * Defines whether a user should be displayed a "show all (records)"
961 * button in browse mode or not.
963 * @global boolean $cfg['ShowAll']
965 $cfg['ShowAll'] = false;
968 * Number of rows displayed when browsing a result set. If the result
969 * set contains more rows, "Previous" and "Next".
971 * @global integer $cfg['MaxRows']
973 $cfg['MaxRows'] = 30;
976 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
977 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
978 * ascending order else-)
980 * @global string $cfg['Order']
982 $cfg['Order'] = 'SMART';
985 * default for 'Show binary contents as HEX'
987 * @global string $cfg['DisplayBinaryAsHex']
989 $cfg['DisplayBinaryAsHex'] = true;
992 /*******************************************************************************
993 * In edit mode...
997 * disallow editing of binary fields
998 * valid values are:
999 * false allow editing
1000 * 'blob' allow editing except for BLOB fields
1001 * 'all' disallow editing
1003 * @global string $cfg['ProtectBinary']
1005 $cfg['ProtectBinary'] = 'blob';
1008 * Display the function fields in edit/insert mode
1010 * @global boolean $cfg['ShowFunctionFields']
1012 $cfg['ShowFunctionFields'] = true;
1015 * Display the type fields in edit/insert mode
1017 * @global boolean $cfg['ShowFieldTypesInDataEditView']
1019 $cfg['ShowFieldTypesInDataEditView'] = true;
1022 * Which editor should be used for CHAR/VARCHAR fields:
1023 * input - allows limiting of input length
1024 * textarea - allows newlines in fields
1026 * @global string $cfg['CharEditing']
1028 $cfg['CharEditing'] = 'input';
1031 * The minimum size for character input fields
1033 * @global integer $cfg['MinSizeForInputField']
1035 $cfg['MinSizeForInputField'] = 4;
1038 * The maximum size for character input fields
1040 * @global integer $cfg['MinSizeForInputField']
1042 $cfg['MaxSizeForInputField'] = 60;
1045 * How many rows can be inserted at one time
1047 * @global integer $cfg['InsertRows']
1049 $cfg['InsertRows'] = 2;
1052 * Sort order for items in a foreign-key drop-down list.
1053 * 'content' is the referenced data, 'id' is the key value.
1055 * @global array $cfg['ForeignKeyDropdownOrder']
1057 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
1060 * A drop-down list will be used if fewer items are present
1062 * @global integer $cfg['ForeignKeyMaxLimit']
1064 $cfg['ForeignKeyMaxLimit'] = 100;
1067 /*******************************************************************************
1068 * For the export features...
1072 * Allow for the use of zip compression (requires zip support to be enabled)
1074 * @global boolean $cfg['ZipDump']
1076 $cfg['ZipDump'] = true;
1079 * Allow for the use of gzip compression (requires zlib)
1081 * @global boolean $cfg['GZipDump']
1083 $cfg['GZipDump'] = true;
1086 * Allow for the use of bzip2 compression (requires bz2 extension)
1088 * @global boolean $cfg['BZipDump']
1090 $cfg['BZipDump'] = true;
1093 * Will compress gzip/bzip2 exports on the fly without the need for much memory.
1094 * If you encounter problems with created gzip/bzip2 files disable this feature.
1096 * @global boolean $cfg['CompressOnFly']
1098 $cfg['CompressOnFly'] = true;
1101 /*******************************************************************************
1102 * Tabs display settings
1106 * Use graphically less intense menu tabs
1108 * @global boolean $cfg['LightTabs']
1110 $cfg['LightTabs'] = false;
1113 * Use icons instead of text for the table display of a database (true|false|'both')
1115 * @global boolean $cfg['PropertiesIconic']
1117 $cfg['PropertiesIconic'] = 'both';
1120 * How many columns should be used for table display of a database?
1121 * (a value larger than 1 results in some information being hidden)
1123 * @global integer $cfg['PropertiesNumColumns']
1125 $cfg['PropertiesNumColumns'] = 1;
1128 * Possible values:
1129 * 'main.php' = the welcome page
1130 * (recommended for multiuser setups)
1131 * 'server_databases.php' = list of databases
1132 * 'server_status.php' = runtime information
1133 * 'server_variables.php' = MySQL server variables
1134 * 'server_privileges.php' = user management
1135 * 'server_processlist.php' = process list
1137 * @global string $cfg['DefaultTabServer']
1139 $cfg['DefaultTabServer'] = 'main.php';
1142 * Possible values:
1143 * 'db_structure.php' = tables list
1144 * 'db_sql.php' = SQL form
1145 * 'db_search.php' = search query
1146 * 'db_operations.php' = operations on database
1148 * @global string $cfg['DefaultTabDatabase']
1150 $cfg['DefaultTabDatabase'] = 'db_structure.php';
1153 * Possible values:
1154 * 'tbl_structure.php' = fields list
1155 * 'tbl_sql.php' = SQL form
1156 * 'tbl_select.php' = search page
1157 * 'tbl_change.php' = insert row page
1158 * 'sql.php' = browse page
1160 * @global string $cfg['DefaultTabTable']
1162 $cfg['DefaultTabTable'] = 'sql.php';
1164 /*******************************************************************************
1165 * Export defaults
1167 $cfg['Export'] = array();
1170 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
1172 * @global string $cfg['Export']['format']
1174 $cfg['Export']['format'] = 'sql';
1177 * quick/custom/custom-no-form
1179 * @global string $cfg['Export']['format']
1181 $cfg['Export']['method'] = 'quick';
1184 * none/zip/gzip/bzip2
1186 * @global string $cfg['Export']['compression']
1188 $cfg['Export']['compression'] = 'none';
1193 * @global boolean $cfg['Export']['asfile']
1195 $cfg['Export']['asfile'] = true;
1200 * @global string $cfg['Export']['charset']
1202 $cfg['Export']['charset'] = '';
1207 * @global boolean $cfg['Export']['onserver']
1209 $cfg['Export']['onserver'] = false;
1214 * @global boolean $cfg['Export']['onserver_overwrite']
1216 $cfg['Export']['onserver_overwrite'] = false;
1221 * @global boolean $cfg['Export']['quick_export_onserver']
1223 $cfg['Export']['quick_export_onserver'] = false;
1228 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1230 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1235 * @global boolean $cfg['Export']['remember_file_template']
1237 $cfg['Export']['remember_file_template'] = true;
1242 * @global string $cfg['Export']['file_template_table']
1244 $cfg['Export']['file_template_table'] = '@TABLE@';
1249 * @global string $cfg['Export']['file_template_database']
1251 $cfg['Export']['file_template_database'] = '@DATABASE@';
1256 * @global string $cfg['Export']['file_template_server']
1258 $cfg['Export']['file_template_server'] = '@SERVER@';
1263 * @global string $cfg['Export']['codegen_structure_or_data']
1265 $cfg['Export']['codegen_structure_or_data'] = 'data';
1270 * @global $cfg['Export']['codegen_format']
1272 $cfg['Export']['codegen_format'] = 0;
1277 * @global boolean $cfg['Export']['ods_columns']
1279 $cfg['Export']['ods_columns'] = false;
1284 * @global string $cfg['Export']['ods_null']
1286 $cfg['Export']['ods_null'] = 'NULL';
1291 * @global string $cfg['Export']['odt_structure_or_data']
1293 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1298 * @global boolean $cfg['Export']['odt_columns']
1300 $cfg['Export']['odt_columns'] = true;
1305 * @global boolean $cfg['Export']['odt_relation']
1307 $cfg['Export']['odt_relation'] = true;
1312 * @global boolean $cfg['Export']['odt_comments']
1314 $cfg['Export']['odt_comments'] = true;
1319 * @global boolean $cfg['Export']['odt_mime']
1321 $cfg['Export']['odt_mime'] = true;
1326 * @global string $cfg['Export']['odt_null']
1328 $cfg['Export']['odt_null'] = 'NULL';
1333 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1335 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1340 * @global boolean $cfg['Export']['htmlword_columns']
1342 $cfg['Export']['htmlword_columns'] = false;
1347 * @global string $cfg['Export']['htmlword_null']
1349 $cfg['Export']['htmlword_null'] = 'NULL';
1354 * @global string $cfg['Export']['texytext_structure_or_data']
1356 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1361 * @global boolean $cfg['Export']['texytext_columns']
1363 $cfg['Export']['texytext_columns'] = false;
1368 * @global string $cfg['Export']['texytext_null']
1370 $cfg['Export']['texytext_null'] = 'NULL';
1375 * @global boolean $cfg['Export']['xls_columns']
1377 $cfg['Export']['xls_columns'] = false;
1382 * @global string $cfg['Export']['xls_structure_or_data']
1384 $cfg['Export']['xls_structure_or_data'] = 'data';
1389 * @global string $cfg['Export']['xls_null']
1391 $cfg['Export']['xls_null'] = 'NULL';
1396 * @global boolean $cfg['Export']['xlsx_columns']
1398 $cfg['Export']['xlsx_columns'] = false;
1403 * @global string $cfg['Export']['xlsx_structure_or_data']
1405 $cfg['Export']['xlsx_structure_or_data'] = 'data';
1410 * @global string $cfg['Export']['xlsx_null']
1412 $cfg['Export']['xlsx_null'] = 'NULL';
1417 * @global boolean $cfg['Export']['csv_columns']
1419 $cfg['Export']['csv_columns'] = false;
1424 * @global string $cfg['Export']['csv_structure_or_data']
1426 $cfg['Export']['csv_structure_or_data'] = 'data';
1431 * @global string $cfg['Export']['csv_null']
1433 $cfg['Export']['csv_null'] = 'NULL';
1438 * @global string $cfg['Export']['csv_separator']
1440 $cfg['Export']['csv_separator'] = ',';
1445 * @global string $cfg['Export']['csv_enclosed']
1447 $cfg['Export']['csv_enclosed'] = '"';
1452 * @global string $cfg['Export']['csv_escaped']
1454 $cfg['Export']['csv_escaped'] = '\\';
1459 * @global string $cfg['Export']['csv_terminated']
1461 $cfg['Export']['csv_terminated'] = 'AUTO';
1466 * @global string $cfg['Export']['csv_removeCRLF']
1468 $cfg['Export']['csv_removeCRLF'] = false;
1473 * @global boolean $cfg['Export']['excel_columns']
1475 $cfg['Export']['excel_columns'] = false;
1480 * @global string $cfg['Export']['excel_null']
1482 $cfg['Export']['excel_null'] = 'NULL';
1485 * win/mac
1487 * @global string $cfg['Export']['excel_edition']
1489 $cfg['Export']['excel_edition'] = 'win';
1494 * @global string $cfg['Export']['excel_removeCRLF']
1496 $cfg['Export']['excel_removeCRLF'] = false;
1501 * @global string $cfg['Export']['excel_structure_or_data']
1503 $cfg['Export']['excel_structure_or_data'] = 'data';
1508 * @global string $cfg['Export']['latex_structure_or_data']
1510 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1515 * @global boolean $cfg['Export']['latex_columns']
1517 $cfg['Export']['latex_columns'] = true;
1522 * @global boolean $cfg['Export']['latex_relation']
1524 $cfg['Export']['latex_relation'] = true;
1529 * @global boolean $cfg['Export']['latex_comments']
1531 $cfg['Export']['latex_comments'] = true;
1536 * @global boolean $cfg['Export']['latex_mime']
1538 $cfg['Export']['latex_mime'] = true;
1543 * @global string $cfg['Export']['latex_null']
1545 $cfg['Export']['latex_null'] = '\textit{NULL}';
1550 * @global boolean $cfg['Export']['latex_caption']
1552 $cfg['Export']['latex_caption'] = true;
1557 * @global string $cfg['Export']['latex_structure_caption']
1559 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1564 * @global string $cfg['Export']['latex_structure_continued_caption']
1566 $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1571 * @global string $cfg['Export']['latex_data_caption']
1573 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1578 * @global string $cfg['Export']['latex_data_continued_caption']
1580 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1585 * @global string $cfg['Export']['latex_data_label']
1587 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1592 * @global string $cfg['Export']['latex_structure_label']
1594 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1599 * @global string $cfg['Export']['mediawiki_structure_or_data']
1601 $cfg['Export']['mediawiki_structure_or_data'] = 'data';
1606 * @global string $cfg['Export']['ods_structure_or_data']
1608 $cfg['Export']['ods_structure_or_data'] = 'data';
1613 * @global string $cfg['Export']['pdf_structure_or_data']
1615 $cfg['Export']['pdf_structure_or_data'] = 'data';
1620 * @global string $cfg['Export']['php_array_structure_or_data']
1622 $cfg['Export']['php_array_structure_or_data'] = 'data';
1627 * @global string $cfg['Export']['json_structure_or_data']
1629 $cfg['Export']['json_structure_or_data'] = 'data';
1634 * @global string $cfg['Export']['sql_structure_or_data']
1636 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1641 * @global string $cfg['Export']['sql_compatibility']
1643 $cfg['Export']['sql_compatibility'] = 'NONE';
1646 * Whether to include comments in SQL export.
1648 * @global string $cfg['Export']['sql_include_comments']
1650 $cfg['Export']['sql_include_comments'] = true;
1655 * @global boolean $cfg['Export']['sql_disable_fk']
1657 $cfg['Export']['sql_disable_fk'] = false;
1662 * @global boolean $cfg['Export']['sql_use_transaction']
1664 $cfg['Export']['sql_use_transaction'] = false;
1669 * @global boolean $cfg['Export']['sql_drop_database']
1671 $cfg['Export']['sql_drop_database'] = false;
1676 * @global boolean $cfg['Export']['sql_drop_table']
1678 $cfg['Export']['sql_drop_table'] = false;
1683 * true by default for correct behavior when dealing with exporting
1684 * of VIEWs and the stand-in table
1685 * @global boolean $cfg['Export']['sql_if_not_exists']
1687 $cfg['Export']['sql_if_not_exists'] = true;
1692 * @global boolean $cfg['Export']['sql_procedure_function']
1694 $cfg['Export']['sql_procedure_function'] = true;
1699 * @global boolean $cfg['Export']['sql_auto_increment']
1701 $cfg['Export']['sql_auto_increment'] = true;
1706 * @global boolean $cfg['Export']['sql_backquotes']
1708 $cfg['Export']['sql_backquotes'] = true;
1713 * @global boolean $cfg['Export']['sql_dates']
1715 $cfg['Export']['sql_dates'] = false;
1720 * @global boolean $cfg['Export']['sql_relation']
1722 $cfg['Export']['sql_relation'] = false;
1727 * @global boolean $cfg['Export']['sql_delayed']
1729 $cfg['Export']['sql_delayed'] = false;
1734 * @global boolean $cfg['Export']['sql_ignore']
1736 $cfg['Export']['sql_ignore'] = false;
1739 * Export time in UTC.
1741 * @global boolean $cfg['Export']['sql_utc_time']
1743 $cfg['Export']['sql_utc_time'] = true;
1748 * @global boolean $cfg['Export']['sql_hex_for_blob']
1750 $cfg['Export']['sql_hex_for_blob'] = true;
1753 * insert/update/replace
1755 * @global string $cfg['Export']['sql_type']
1757 $cfg['Export']['sql_type'] = 'INSERT';
1762 * @global integer $cfg['Export']['sql_max_query_size']
1764 $cfg['Export']['sql_max_query_size'] = 50000;
1769 * @global boolean $cfg['Export']['sql_comments']
1771 $cfg['Export']['sql_comments'] = false;
1776 * @global boolean $cfg['Export']['sql_mime']
1778 $cfg['Export']['sql_mime'] = false;
1781 * \n is replaced by new line
1783 * @global string $cfg['Export']['sql_header_comment']
1785 $cfg['Export']['sql_header_comment'] = '';
1790 * @global boolean $cfg['Export']['sql_create_table_statements']
1792 $cfg['Export']['sql_create_table_statements'] = true;
1795 * Whether to use complete inserts, extended inserts, both, or neither
1797 * @global string $cfg['Export']['sql_insert_syntax']
1799 $cfg['Export']['sql_insert_syntax'] = 'both';
1804 * @global string $cfg['Export']['pdf_report_title']
1806 $cfg['Export']['pdf_report_title'] = '';
1811 *@global string $cfg['Export']['xml_structure_or_data']
1813 $cfg['Export']['xml_structure_or_data'] = 'data';
1816 * Export schema for each structure
1818 * @global string $cfg['Export']['xml_export_struc']
1820 $cfg['Export']['xml_export_struc'] = true;
1823 * Export functions
1825 * @global string $cfg['Export']['xml_export_functions']
1827 $cfg['Export']['xml_export_functions'] = true;
1830 * Export procedures
1832 * @global string $cfg['Export']['xml_export_procedures']
1834 $cfg['Export']['xml_export_procedures'] = true;
1837 * Export schema for each table
1839 * @global string $cfg['Export']['xml_export_tables']
1841 $cfg['Export']['xml_export_tables'] = true;
1844 * Export triggers
1846 * @global string $cfg['Export']['xml_export_triggers']
1848 $cfg['Export']['xml_export_triggers'] = true;
1851 * Export views
1853 * @global string $cfg['Export']['xml_export_views']
1855 $cfg['Export']['xml_export_views'] = true;
1858 * Export contents data
1860 * @global string $cfg['Export']['xml_export_contents']
1862 $cfg['Export']['xml_export_contents'] = true;
1867 * @global string $cfg['Export']['yaml_structure_or_data']
1869 $cfg['Export']['yaml_structure_or_data'] = 'data';
1871 /*******************************************************************************
1872 * Import defaults
1874 $cfg['Import'] = array();
1879 * @global string $cfg['Import']['format']
1881 $cfg['Import']['format'] = 'sql';
1884 * Default charset for import.
1886 * @global string $cfg['Import']['charset']
1888 $cfg['Import']['charset'] = '';
1893 * @global boolean $cfg['Import']['allow_interrupt']
1895 $cfg['Import']['allow_interrupt'] = true;
1900 * @global integer $cfg['Import']['skip_queries']
1902 $cfg['Import']['skip_queries'] = 0;
1907 * @global string $cfg['Import']['sql_compatibility']
1909 $cfg['Import']['sql_compatibility'] = 'NONE';
1914 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
1916 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
1921 * @global boolean $cfg['Import']['csv_replace']
1923 $cfg['Import']['csv_replace'] = false;
1928 * @global boolean $cfg['Import']['csv_ignore']
1930 $cfg['Import']['csv_ignore'] = false;
1935 * @global string $cfg['Import']['csv_terminated']
1937 $cfg['Import']['csv_terminated'] = ',';
1942 * @global string $cfg['Import']['csv_enclosed']
1944 $cfg['Import']['csv_enclosed'] = '"';
1949 * @global string $cfg['Import']['csv_escaped']
1951 $cfg['Import']['csv_escaped'] = '\\';
1956 * @global string $cfg['Import']['csv_new_line']
1958 $cfg['Import']['csv_new_line'] = 'auto';
1963 * @global string $cfg['Import']['csv_columns']
1965 $cfg['Import']['csv_columns'] = '';
1970 * @global string $cfg['Import']['csv_col_names']
1972 $cfg['Import']['csv_col_names'] = false;
1977 * @global boolean $cfg['Import']['ldi_replace']
1979 $cfg['Import']['ldi_replace'] = false;
1984 * @global boolean $cfg['Import']['ldi_ignore']
1986 $cfg['Import']['ldi_ignore'] = false;
1991 * @global string $cfg['Import']['ldi_terminated']
1993 $cfg['Import']['ldi_terminated'] = ';';
1998 * @global string $cfg['Import']['ldi_enclosed']
2000 $cfg['Import']['ldi_enclosed'] = '"';
2005 * @global string $cfg['Import']['ldi_escaped']
2007 $cfg['Import']['ldi_escaped'] = '\\';
2012 * @global string $cfg['Import']['ldi_new_line']
2014 $cfg['Import']['ldi_new_line'] = 'auto';
2019 * @global string $cfg['Import']['ldi_columns']
2021 $cfg['Import']['ldi_columns'] = '';
2024 * 'auto' for auto-detection, true or false for forcing
2026 * @global string $cfg['Import']['ldi_local_option']
2028 $cfg['Import']['ldi_local_option'] = 'auto';
2033 * @global string $cfg['Import']['ods_col_names']
2035 $cfg['Import']['ods_col_names'] = false;
2040 * @global string $cfg['Import']['ods_empty_rows']
2042 $cfg['Import']['ods_empty_rows'] = true;
2047 * @global string $cfg['Import']['ods_recognize_percentages']
2049 $cfg['Import']['ods_recognize_percentages'] = true;
2054 * @global string $cfg['Import']['ods_recognize_currency']
2056 $cfg['Import']['ods_recognize_currency'] = true;
2061 * @global string $cfg['Import']['xml_col_names']
2063 $cfg['Import']['xls_col_names'] = false;
2068 * @global string $cfg['Import']['xml_empty_rows']
2070 $cfg['Import']['xls_empty_rows'] = true;
2075 * @global string $cfg['Import']['xlsx_col_names']
2077 $cfg['Import']['xlsx_col_names'] = false;
2080 * Link to the official MySQL documentation.
2081 * Be sure to include no trailing slash on the path.
2082 * See http://dev.mysql.com/doc/ for more information
2083 * about MySQL manuals and their types.
2085 * @global string $cfg['MySQLManualBase']
2087 $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
2090 * Type of MySQL documentation:
2091 * viewable - "viewable online", current one used on MySQL website
2092 * searchable - "Searchable, with user comments"
2093 * chapters - "HTML, one page per chapter"
2094 * chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
2095 * big - "HTML, all on one page"
2096 * old - old style used in phpMyAdmin 2.3.0 and sooner
2097 * none - do not show documentation links
2099 * @global string $cfg['MySQLManualType']
2101 $cfg['MySQLManualType'] = 'viewable';
2104 /*******************************************************************************
2105 * PDF options
2111 * @global array $cfg['PDFPageSizes']
2113 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
2118 * @global string $cfg['PDFDefaultPageSize']
2120 $cfg['PDFDefaultPageSize'] = 'A4';
2123 /*******************************************************************************
2124 * Language and character set conversion settings
2128 * Default language to use, if not browser-defined or user-defined
2130 * @global string $cfg['DefaultLang']
2132 $cfg['DefaultLang'] = 'en';
2135 * Default connection collation
2137 * @global string $cfg['DefaultConnectionCollation']
2139 $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
2142 * Force: always use this language
2143 * $cfg['Lang'] = 'en';
2145 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2146 * English only
2148 * @global string $cfg['FilterLanguages']
2150 $cfg['FilterLanguages'] = '';
2153 * You can select here which functions will be used for character set conversion.
2154 * Possible values are:
2155 * auto - automatically use available one (first is tested iconv, then
2156 * recode)
2157 * iconv - use iconv or libiconv functions
2158 * recode - use recode_string function
2159 * none - disable encoding conversion
2161 * @global string $cfg['RecodingEngine']
2163 $cfg['RecodingEngine'] = 'auto';
2166 * Specify some parameters for iconv used in character set conversion. See iconv
2167 * documentation for details:
2168 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
2170 * @global string $cfg['IconvExtraParams']
2172 $cfg['IconvExtraParams'] = '//TRANSLIT';
2175 * Available character sets for MySQL conversion. currently contains all which could
2176 * be found in lang/* files and few more.
2177 * Character sets will be shown in same order as here listed, so if you frequently
2178 * use some of these move them to the top.
2180 * @global array $cfg['AvailableCharsets']
2182 $cfg['AvailableCharsets'] = array(
2183 'iso-8859-1',
2184 'iso-8859-2',
2185 'iso-8859-3',
2186 'iso-8859-4',
2187 'iso-8859-5',
2188 'iso-8859-6',
2189 'iso-8859-7',
2190 'iso-8859-8',
2191 'iso-8859-9',
2192 'iso-8859-10',
2193 'iso-8859-11',
2194 'iso-8859-12',
2195 'iso-8859-13',
2196 'iso-8859-14',
2197 'iso-8859-15',
2198 'windows-1250',
2199 'windows-1251',
2200 'windows-1252',
2201 'windows-1256',
2202 'windows-1257',
2203 'koi8-r',
2204 'big5',
2205 'gb2312',
2206 'utf-16',
2207 'utf-8',
2208 'utf-7',
2209 'x-user-defined',
2210 'euc-jp',
2211 'ks_c_5601-1987',
2212 'tis-620',
2213 'SHIFT_JIS'
2217 /*******************************************************************************
2218 * Customization & design
2220 * The graphical settings are now located in themes/theme-name/layout.inc.php
2224 * enable the left panel pointer
2225 * (used when LeftFrameLight is false)
2226 * see also LeftPointerColor
2227 * in layout.inc.php
2229 * @global boolean $cfg['LeftPointerEnable']
2231 $cfg['LeftPointerEnable'] = true;
2234 * enable the browse pointer
2235 * see also BrowsePointerColor
2236 * in layout.inc.php
2238 * @global boolean $cfg['BrowsePointerEnable']
2240 $cfg['BrowsePointerEnable'] = true;
2243 * enable the browse marker
2244 * see also BrowseMarkerColor
2245 * in layout.inc.php
2247 * @global boolean $cfg['BrowseMarkerEnable']
2249 $cfg['BrowseMarkerEnable'] = true;
2252 * textarea size (columns) in edit mode
2253 * (this value will be emphasized (*2) for SQL
2254 * query textareas and (*1.25) for query window)
2256 * @global integer $cfg['TextareaCols']
2258 $cfg['TextareaCols'] = 40;
2261 * textarea size (rows) in edit mode
2263 * @global integer $cfg['TextareaRows']
2265 $cfg['TextareaRows'] = 15;
2268 * double size of textarea size for LONGTEXT columns
2270 * @global boolean $cfg['LongtextDoubleTextarea']
2272 $cfg['LongtextDoubleTextarea'] = true;
2275 * auto-select when clicking in the textarea of the query-box
2277 * @global boolean $cfg['TextareaAutoSelect']
2279 $cfg['TextareaAutoSelect'] = false;
2282 * textarea size (columns) for CHAR/VARCHAR
2284 * @global integer $cfg['CharTextareaCols']
2286 $cfg['CharTextareaCols'] = 40;
2289 * textarea size (rows) for CHAR/VARCHAR
2291 * @global integer $cfg['CharTextareaRows']
2293 $cfg['CharTextareaRows'] = 2;
2296 * Max field data length in browse mode for all non-numeric fields
2298 * @global integer $cfg['LimitChars']
2300 $cfg['LimitChars'] = 50;
2303 * Where to show the edit/copy/delete links in browse mode
2304 * Possible values are 'left', 'right', 'both' and 'none';
2305 * which will be interpreted as 'top', 'bottom', 'both' and 'none'
2306 * respectively for vertical display mode
2308 * @global string $cfg['RowActionLinks']
2310 $cfg['RowActionLinks'] = 'left';
2313 * default display direction (horizontal|vertical|horizontalflipped)
2315 * @global string $cfg['DefaultDisplay']
2317 $cfg['DefaultDisplay'] = 'horizontal';
2320 * remember the last way a table sorted
2322 * @global string $cfg['RememberSorting']
2324 $cfg['RememberSorting'] = true;
2327 * table-header rotation via faking or CSS? (css|fake|auto)
2328 * NOTE: CSS only works in IE browsers!
2330 * @global string $cfg['HeaderFlipType']
2332 $cfg['HeaderFlipType'] = 'auto';
2335 * shows stored relation-comments in 'browse' mode.
2337 * @global boolean $cfg['ShowBrowseComments']
2339 $cfg['ShowBrowseComments'] = true;
2342 * shows stored relation-comments in 'table property' mode.
2344 * @global boolean $cfg['ShowPropertyComments']
2346 $cfg['ShowPropertyComments']= true;
2349 * save edited cell(s) in browse-mode at once.
2351 $cfg['SaveCellsAtOnce'] = false;
2354 * shows table display direction.
2356 $cfg['ShowDisplayDirection'] = false;
2359 * repeat header names every X cells? (0 = deactivate)
2361 * @global integer $cfg['RepeatCells']
2363 $cfg['RepeatCells'] = 100;
2366 * Set to true if Edit link should open the query to edit in the query window
2367 * (assuming JavaScript is enabled), and to false if we should edit in the right panel
2369 * @global boolean $cfg['EditInWindow']
2371 $cfg['EditInWindow'] = true;
2374 * Width of Query window
2376 * @global integer $cfg['QueryWindowWidth']
2378 $cfg['QueryWindowWidth'] = 550;
2381 * Height of Query window
2383 * @global integer $cfg['QueryWindowHeight']
2385 $cfg['QueryWindowHeight'] = 310;
2388 * Set to true if you want DB-based query history.If false, this utilizes
2389 * JS-routines to display query history (lost by window close)
2391 * @global boolean $cfg['QueryHistoryDB']
2393 $cfg['QueryHistoryDB'] = false;
2396 * which tab to display in the querywindow on startup
2397 * (sql|files|history|full)
2399 * @global string $cfg['QueryWindowDefTab']
2401 $cfg['QueryWindowDefTab'] = 'sql';
2404 * When using DB-based query history, how many entries should be kept?
2406 * @global integer $cfg['QueryHistoryMax']
2408 $cfg['QueryHistoryMax'] = 25;
2411 * Use MIME-Types (stored in column comments table) for
2413 * @global boolean $cfg['BrowseMIME']
2415 $cfg['BrowseMIME'] = true;
2418 * When approximate count < this, PMA will get exact count for table rows.
2420 * @global integer $cfg['MaxExactCount']
2422 $cfg['MaxExactCount'] = 20000;
2425 * Zero means that no row count is done for views; see the doc
2427 * @global integer $cfg['MaxExactCountViews']
2429 $cfg['MaxExactCountViews'] = 0;
2432 * Sort table and database in natural order
2434 * @global boolean $cfg['NaturalOrder']
2436 $cfg['NaturalOrder'] = true;
2439 * Initial state for sliders
2440 * (open | closed | disabled)
2442 * @global string $cfg['InitialSlidersState']
2444 $cfg['InitialSlidersState'] = 'closed';
2447 * User preferences: disallow these settings
2448 * For possible setting names look in libraries/config/user_preferences.forms.php
2450 * @global array $cfg['UserprefsDisallow']
2452 $cfg['UserprefsDisallow'] = array();
2455 * User preferences: enable the Developer tab
2457 $cfg['UserprefsDeveloperTab'] = false;
2459 /*******************************************************************************
2460 * Window title settings
2464 * title of browser window when a table is selected
2466 * @global string $cfg['TitleTable']
2468 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2471 * title of browser window when a database is selected
2473 * @global string $cfg['TitleDatabase']
2475 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2478 * title of browser window when a server is selected
2480 * @global string $cfg['TitleServer']
2482 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2485 * title of browser window when nothing is selected
2486 * @global string $cfg['TitleDefault']
2488 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2491 * show some icons for warning, error and information messages (true|false)?
2493 * @global boolean $cfg['ErrorIconic']
2495 $cfg['ErrorIconic'] = true;
2498 * show icons in list on main page and on menu tabs (true|false)?
2500 * @global boolean $cfg['MainPageIconic']
2502 $cfg['MainPageIconic'] = true;
2505 * show help button instead of Documentation text (true|false)?
2507 * @global boolean $cfg['ReplaceHelpImg']
2509 $cfg['ReplaceHelpImg'] = true;
2512 /*******************************************************************************
2513 * theme manager
2517 * using themes manager please set up here the path to 'themes' else leave empty
2519 * @global string $cfg['ThemePath']
2521 $cfg['ThemePath'] = './themes';
2524 * if you want to use selectable themes and if ThemesPath not empty
2525 * set it to true, else set it to false (default is false);
2527 * @global boolean $cfg['ThemeManager']
2529 $cfg['ThemeManager'] = true;
2532 * set up default theme, if ThemePath not empty you can set up here an valid
2533 * path to themes or 'original' for the original pma-theme
2535 * @global string $cfg['ThemeDefault']
2537 $cfg['ThemeDefault'] = 'pmahomme';
2540 * allow different theme for each configured server
2542 * @global boolean $cfg['ThemePerServer']
2544 $cfg['ThemePerServer'] = false;
2547 /*******************************************************************************
2552 * Default query for table
2554 * @global string $cfg['DefaultQueryTable']
2556 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2559 * Default query for database
2561 * @global string $cfg['DefaultQueryDatabase']
2563 $cfg['DefaultQueryDatabase'] = '';
2566 /*******************************************************************************
2567 * SQL Query box settings
2568 * These are the links display in all of the SQL Query boxes
2570 * @global array $cfg['SQLQuery']
2572 $cfg['SQLQuery'] = array();
2575 * Edit link to change a query
2577 * @global boolean $cfg['SQLQuery']['Edit']
2579 $cfg['SQLQuery']['Edit'] = true;
2582 * EXPLAIN on SELECT queries
2584 * @global boolean $cfg['SQLQuery']['Explain']
2586 $cfg['SQLQuery']['Explain'] = true;
2589 * Wrap a query in PHP
2591 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2593 $cfg['SQLQuery']['ShowAsPHP'] = true;
2596 * Validate a query (see $cfg['SQLValidator'] as well)
2598 * @global boolean $cfg['SQLQuery']['Validate']
2600 $cfg['SQLQuery']['Validate'] = false;
2603 * Refresh the results page
2605 * @global boolean $cfg['SQLQuery']['Refresh']
2607 $cfg['SQLQuery']['Refresh'] = true;
2610 /*******************************************************************************
2611 * Web server upload/save/import directories
2615 * Directory for uploaded files that can be executed by phpMyAdmin.
2616 * For example './upload'. Leave empty for no upload directory support.
2617 * Use %u for username inclusion.
2619 * @global string $cfg['UploadDir']
2621 $cfg['UploadDir'] = '';
2624 * Directory where phpMyAdmin can save exported data on server.
2625 * For example './save'. Leave empty for no save directory support.
2626 * Use %u for username inclusion.
2628 * @global string $cfg['SaveDir']
2630 $cfg['SaveDir'] = '';
2633 * Directory where phpMyAdmin can save temporary files.
2634 * This is needed for MS Excel export, see documentation how to enable that.
2636 * @global string $cfg['TempDir']
2638 $cfg['TempDir'] = '';
2642 * Misc. settings
2646 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2647 * which is the only safe way to determine GD version.
2649 * @global string $cfg['GD2Available']
2651 $cfg['GD2Available'] = 'auto';
2654 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2656 * @global array $cfg['TrustedProxies']
2658 $cfg['TrustedProxies'] = array();
2661 * We normally check the permissions on the configuration file to ensure
2662 * it's not world writable. However, phpMyAdmin could be installed on
2663 * a NTFS filesystem mounted on a non-Windows server, in which case the
2664 * permissions seems wrong but in fact cannot be detected. In this case
2665 * a sysadmin would set the following to false.
2667 $cfg['CheckConfigurationPermissions'] = true;
2670 * Limit for length of URL in links. When length would be above this limit, it
2671 * is replaced by form with button.
2672 * This is required as some web servers (IIS) have problems with long URLs.
2673 * The recommended limit is 2000
2674 * (see http://www.boutell.com/newfaq/misc/urllength.html) but we put
2675 * 1000 to accommodate Suhosin, see bug #3358750.
2677 $cfg['LinkLengthLimit'] = 1000;
2680 * Disable the table maintenance mass operations, like optimizing or
2681 * repairing the selected tables of a database. An accidental execution
2682 * of such a maintenance task can enormously slow down a bigger database.
2684 $cfg['DisableMultiTableMaintenance'] = false;
2686 /*******************************************************************************
2687 * SQL Parser Settings
2689 * @global array $cfg['SQP']
2691 $cfg['SQP'] = array();
2694 * Pretty-printing style to use on queries (html, text, none)
2696 * @global string $cfg['SQP']['fmtType']
2698 $cfg['SQP']['fmtType'] = 'html';
2701 * Amount to indent each level (floats are valid)
2703 * @global integer $cfg['SQP']['fmtInd']
2705 $cfg['SQP']['fmtInd'] = '1';
2708 * Units for indenting each level (CSS Types - {em, px, pt})
2710 * @global string $cfg['SQP']['fmtIndUnit']
2712 $cfg['SQP']['fmtIndUnit'] = 'em';
2715 /*******************************************************************************
2716 * If you wish to use the SQL Validator service, you should be aware of the
2717 * following:
2718 * All SQL statements are stored anonymously for statistical purposes.
2719 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
2720 * All rights reserved.
2722 * @global array $cfg['SQLValidator']
2724 $cfg['SQLValidator'] = array();
2727 * Make the SQL Validator available
2729 * @global boolean $cfg['SQLValidator']['use']
2731 $cfg['SQLValidator']['use'] = false;
2734 * If you have a custom username, specify it here (defaults to anonymous)
2736 * @global string $cfg['SQLValidator']['username']
2738 $cfg['SQLValidator']['username'] = '';
2741 * Password for username
2743 * @global string $cfg['SQLValidator']['password']
2745 $cfg['SQLValidator']['password'] = '';
2748 /*******************************************************************************
2749 * Developers ONLY!
2751 * @global array $cfg['DBG']
2753 $cfg['DBG'] = array();
2756 * Output executed queries and their execution times
2758 * @global boolean $cfg['DBG']['sql']
2760 $cfg['DBG']['sql'] = false;
2763 /*******************************************************************************
2764 * MySQL settings
2768 * Column types;
2769 * VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
2771 * This variable is filled in data_*.inc.php
2773 * @global array $cfg['ColumnTypes']
2775 $cfg['ColumnTypes'] = array();
2778 * Attributes
2780 * This variable is filled in data_*.inc.php
2782 * @global array $cfg['AttributeTypes']
2784 $cfg['AttributeTypes'] = array();
2787 if ($cfg['ShowFunctionFields']) {
2789 * Available functions
2791 * This variable is filled in data_*.inc.php
2793 * @global array $cfg['Functions']
2795 $cfg['Functions'] = array();
2798 * Which column types will be mapped to which Group?
2800 * This variable is filled in data_*.inc.php
2802 * @global array $cfg['RestrictColumnTypes']
2804 $cfg['RestrictColumnTypes'] = array();
2807 * Map above defined groups to any function
2809 * This variable is filled in data_*.inc.php
2811 * @global array $cfg['RestrictFunctions']
2813 $cfg['RestrictFunctions'] = array();
2816 * Default functions for above defined groups
2818 * @global array $cfg['DefaultFunctions']
2820 $cfg['DefaultFunctions'] = array(
2821 'FUNC_CHAR' => '',
2822 'FUNC_DATE' => '',
2823 'FUNC_NUMBER' => '',
2824 'FUNC_SPATIAL' => 'GeomFromText',
2825 'FUNC_UUID' => 'UUID',
2826 'first_timestamp' => 'NOW',
2828 } // end if
2831 * Search operators
2833 * @global array $cfg['NumOperators']
2835 $cfg['NumOperators'] = array(
2836 '=',
2837 '>',
2838 '>=',
2839 '<',
2840 '<=',
2841 '!=',
2842 'LIKE',
2843 'NOT LIKE',
2844 'IN (...)',
2845 'NOT IN (...)',
2846 'BETWEEN',
2847 'NOT BETWEEN',
2851 * Search operators
2853 * @global array $cfg['TextOperators']
2855 $cfg['TextOperators'] = array(
2856 'LIKE',
2857 'LIKE %...%',
2858 'NOT LIKE',
2859 '=',
2860 '!=',
2861 'REGEXP',
2862 'REGEXP ^...$',
2863 'NOT REGEXP',
2864 "= ''",
2865 "!= ''",
2866 'IN (...)',
2867 'NOT IN (...)',
2868 'BETWEEN',
2869 'NOT BETWEEN',
2873 * Search operators
2875 * @global array $cfg['EnumOperators']
2877 $cfg['EnumOperators'] = array(
2878 '=',
2879 '!=',
2883 * Search operators
2885 * @global array $cfg['SetOperators']
2887 $cfg['SetOperators'] = array(
2888 'IN',
2889 'NOT IN',
2893 * Search operators
2895 * @global array $cfg['NullOperators']
2897 $cfg['NullOperators'] = array(
2898 'IS NULL',
2899 'IS NOT NULL',
2903 * Search operators
2905 * @global array $cfg['UnaryOperators']
2907 $cfg['UnaryOperators'] = array(
2908 'IS NULL' => 1,
2909 'IS NOT NULL' => 1,
2910 "= ''" => 1,
2911 "!= ''" => 1
2915 * Max rows retreived for zoom search
2917 $cfg['maxRowPlotLimit'] = 500;