Translation update done using Pootle.
[phpmyadmin/madhuracj.git] / libraries / config.default.php
blobe91638dcc93f72d5bb454d737a7708b18d1a3857
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 user settings (this user must have read-only
156 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
157 * used for all relational features (pmadb)
159 * @global string $cfg['Servers'][$i]['controluser']
161 $cfg['Servers'][$i]['controluser'] = '';
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]['controlpass']
170 $cfg['Servers'][$i]['controlpass'] = '';
173 * Authentication method (valid choices: config, http, signon or cookie)
175 * @global string $cfg['Servers'][$i]['auth_type']
177 $cfg['Servers'][$i]['auth_type'] = 'cookie';
180 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
182 * @global string $cfg['Servers'][$i]['auth_http_realm']
184 $cfg['Servers'][$i]['auth_http_realm'] = '';
187 * File containing Swekey ids and login names (see /contrib);
188 * leave empty to deactivate Swekey hardware authentication
190 * @global string $cfg['Servers'][$i]['auth_swekey_config']
192 $cfg['Servers'][$i]['auth_swekey_config'] = '';
195 * MySQL user
197 * @global string $cfg['Servers'][$i]['user']
199 $cfg['Servers'][$i]['user'] = 'root';
202 * MySQL password (only needed with 'config' auth_type)
204 * @global string $cfg['Servers'][$i]['password']
206 $cfg['Servers'][$i]['password'] = '';
209 * Session to use for 'signon' authentication method
211 * @global string $cfg['Servers'][$i]['SignonSession']
213 $cfg['Servers'][$i]['SignonSession'] = '';
216 * PHP script to use for 'signon' authentication method
218 * @global string $cfg['Servers'][$i]['SignonScript']
220 $cfg['Servers'][$i]['SignonScript'] = '';
223 * URL where to redirect user to login for 'signon' authentication method
225 * @global string $cfg['Servers'][$i]['SignonURL']
227 $cfg['Servers'][$i]['SignonURL'] = '';
230 * URL where to redirect user after logout
232 * @global string $cfg['Servers'][$i]['LogoutURL']
234 $cfg['Servers'][$i]['LogoutURL'] = '';
237 * Whether to try to connect without password
239 * @global boolean $cfg['Servers'][$i]['nopassword']
241 $cfg['Servers'][$i]['nopassword'] = false;
244 * If set to a db-name, only this db is displayed in left frame
245 * It may also be an array of db-names, where sorting order is relevant.
247 * @global string $cfg['Servers'][$i]['only_db']
249 $cfg['Servers'][$i]['only_db'] = '';
252 * Database name to be hidden from listings
254 * @global string $cfg['Servers'][$i]['hide_db']
256 $cfg['Servers'][$i]['hide_db'] = '';
259 * Verbose name for this host - leave blank to show the hostname
260 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
262 * @global string $cfg['Servers'][$i]['verbose']
264 $cfg['Servers'][$i]['verbose'] = '';
267 * Database used for Relation, Bookmark and PDF Features
268 * (see scripts/create_tables.sql)
269 * - leave blank for no support
270 * SUGGESTED: 'phpmyadmin'
272 * @global string $cfg['Servers'][$i]['pmadb']
274 $cfg['Servers'][$i]['pmadb'] = '';
277 * Bookmark table
278 * - leave blank for no bookmark support
279 * SUGGESTED: 'pma_bookmark'
281 * @global string $cfg['Servers'][$i]['bookmarktable']
283 $cfg['Servers'][$i]['bookmarktable'] = '';
286 * table to describe the relation between links (see doc)
287 * - leave blank for no relation-links support
288 * SUGGESTED: 'pma_relation'
290 * @global string $cfg['Servers'][$i]['relation']
292 $cfg['Servers'][$i]['relation'] = '';
295 * table to describe the display fields
296 * - leave blank for no display fields support
297 * SUGGESTED: 'pma_table_info'
299 * @global string $cfg['Servers'][$i]['table_info']
301 $cfg['Servers'][$i]['table_info'] = '';
304 * table to describe the tables position for the PDF schema
305 * - leave blank for no PDF schema support
306 * SUGGESTED: 'pma_table_coords'
308 * @global string $cfg['Servers'][$i]['table_coords']
310 $cfg['Servers'][$i]['table_coords'] = '';
313 * table to describe pages of relationpdf
314 * - leave blank if you don't want to use this
315 * SUGGESTED: 'pma_pdf_pages'
317 * @global string $cfg['Servers'][$i]['pdf_pages']
319 $cfg['Servers'][$i]['pdf_pages'] = '';
322 * table to store column information
323 * - leave blank for no column comments/mime types
324 * SUGGESTED: 'pma_column_info'
326 * @global string $cfg['Servers'][$i]['column_info']
328 $cfg['Servers'][$i]['column_info'] = '';
331 * table to store SQL history
332 * - leave blank for no SQL query history
333 * SUGGESTED: 'pma_history'
335 * @global string $cfg['Servers'][$i]['history']
337 $cfg['Servers'][$i]['history'] = '';
340 * table to store the coordinates for Designer
341 * - leave blank for no Designer feature
342 * SUGGESTED: 'pma_designer_coords'
344 * @global string $cfg['Servers'][$i]['designer_coords']
346 $cfg['Servers'][$i]['designer_coords'] = '';
349 * table to store recently used tables
350 * - leave blank for no "persistent" recently used tables
351 * SUGGESTED: 'pma_recent'
353 $cfg['Servers'][$i]['recent'] = '';
356 * table to store UI preferences for tables
357 * - leave blank for no "persistent" UI preferences
358 * SUGGESTED: 'pma_table_uiprefs'
360 $cfg['Servers'][$i]['table_uiprefs'] = '';
363 * table to store SQL tracking
364 * - leave blank for no SQL tracking
365 * SUGGESTED: 'pma_tracking'
367 * @global string $cfg['Servers'][$i]['tracking']
369 $cfg['Servers'][$i]['tracking'] = '';
372 * table to store user preferences
373 * - leave blank to disable server storage
374 * SUGGESTED: 'pma_userconfig'
376 * @global string $cfg['Servers'][$i]['userconfig']
378 $cfg['Servers'][$i]['userconfig'] = '';
381 * Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
383 * In case where tables in databases is modified (e.g. dropped or renamed),
384 * table_uiprefs may contains invalid data (referring to tables which are not
385 * exist anymore).
386 * This configuration make sure that we only keep N (N = MaxTableUiprefs)
387 * newest record in table_uiprefs and automatically delete older records.
389 * @global integer $cfg['Servers'][$i]['userconfig'] = '';
391 $cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
394 * set to false if you know that your pma_* tables are up to date.
395 * This prevents compatibility checks and thereby increases performance.
397 * @global boolean $cfg['Servers'][$i]['verbose_check']
399 $cfg['Servers'][$i]['verbose_check'] = true;
402 * whether to allow root login
404 * @global boolean $cfg['Servers'][$i]['AllowRoot']
406 $cfg['Servers'][$i]['AllowRoot'] = true;
409 * whether to allow login of any user without a password
411 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
413 $cfg['Servers'][$i]['AllowNoPassword'] = false;
416 * Host authentication order, leave blank to not use
418 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
420 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
423 * Host authentication rules, leave blank for defaults
425 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
427 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
430 * Disable use of INFORMATION_SCHEMA. Is always 'true' for Drizzle.
432 * @see http://sf.net/support/tracker.php?aid=1849494
433 * @see http://bugs.mysql.com/19588
434 * @global boolean $cfg['Servers'][$i]['DisableIS']
436 $cfg['Servers'][$i]['DisableIS'] = true;
439 * SQL command to fetch available databases
441 * by default most user will be fine with SHOW DATABASES,
442 * for servers with a huge amount of databases it is possible to
443 * define a command which executes faster but with less information
445 * especially when accessing database servers from ISPs changing this command
446 * can result in a great speed improvement
448 * false will disable fetching databases from the server, only databases in
449 * $cfg['Servers'][$i]['only_db'] will be displayed
451 * #user# will be replaced by current user
453 * examples:
454 * 'SHOW DATABASES'
455 * "SHOW DATABASES LIKE '#user#\_%'"
456 * 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
457 * 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
458 * false
460 * @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
462 $cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
465 * Whether to count tables when showing database list
467 * @global array $cfg['Servers'][$i]['CountTables']
469 $cfg['Servers'][$i]['CountTables'] = false;
472 * Whether the tracking mechanism creates versions for tables and views automatically.
474 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
477 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
480 * Defines the list of statements the auto-creation uses for new versions.
482 * @global string $cfg['Servers'][$i]['tracking_default_statements']
485 $cfg['Servers'][$i]['tracking_default_statements'] = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,' .
486 'CREATE INDEX,DROP INDEX,' .
487 'INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,' .
488 'CREATE VIEW,ALTER VIEW,DROP VIEW,' .
489 'CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
492 * Whether a DROP VIEW IF EXISTS statement will be added as first line to the log when creating a view.
494 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
497 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
500 * Whether a DROP TABLE IF EXISTS statement will be added as first line to the log when creating a table.
502 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
505 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
508 * Whether a DROP DATABASE IF EXISTS statement will be added as first line to the log when creating a database.
510 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
513 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
516 * Default server (0 = no default server)
518 * If you have more than one server configured, you can set $cfg['ServerDefault']
519 * to any one of them to auto-connect to that server when phpMyAdmin is started,
520 * or set it to 0 to be given a list of servers without logging in
521 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
522 * set to that server.
524 * @global integer $cfg['ServerDefault']
526 $cfg['ServerDefault'] = 1;
529 * Other core phpMyAdmin settings
532 * whether Ajax behavior is active
534 * @global boolean $cfg['AjaxEnable']
536 $cfg['AjaxEnable'] = true;
539 * whether version check is active
541 * @global boolean $cfg['VersionCheck']
543 $cfg['VersionCheck'] = VERSION_CHECK_DEFAULT;
546 * maximum number of db's displayed in left frame and database list
548 * @global integer $cfg['MaxDbList']
550 $cfg['MaxDbList'] = 100;
553 * maximum number of tables displayed in table list
555 * @global integer $cfg['MaxTableList']
557 $cfg['MaxTableList'] = 250;
560 * whether to show hint or not
562 * @global boolean $cfg['ShowHint']
564 $cfg['ShowHint'] = true;
567 * maximum number of characters when a SQL query is displayed
569 * @global integer $cfg['MaxCharactersInDisplayedSQL']
571 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
574 * use GZIP output buffering if possible (true|false|'auto')
576 * @global string $cfg['OBGzip']
578 $cfg['OBGzip'] = 'auto';
581 * use persistent connections to MySQL database
583 * @global boolean $cfg['PersistentConnections']
585 $cfg['PersistentConnections'] = false;
588 * whether to force using HTTPS
590 * @global boolean $cfg['ForceSSL']
592 $cfg['ForceSSL'] = false;
595 * maximum execution time in seconds (0 for no limit)
597 * @global integer $cfg['ExecTimeLimit']
599 $cfg['ExecTimeLimit'] = 300;
602 * Path for storing session data (session_save_path PHP parameter).
604 * @global integer $cfg['SessionSavePath']
606 $cfg['SessionSavePath'] = '';
609 * maximum allocated bytes ('0' for no limit)
610 * this is a string because '16M' is a valid value; we must put here
611 * a string as the default value so that /setup accepts strings
613 * @global string $cfg['MemoryLimit']
615 $cfg['MemoryLimit'] = '0';
618 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
619 * Is ignored for Drizzle.
621 * @global boolean $cfg['SkipLockedTables']
623 $cfg['SkipLockedTables'] = false;
626 * show SQL queries as run
628 * @global boolean $cfg['ShowSQL']
630 $cfg['ShowSQL'] = true;
633 * show a 'Drop database' link to normal users
635 * @global boolean $cfg['AllowUserDropDatabase']
637 $cfg['AllowUserDropDatabase'] = false;
640 * confirm some commands that can result in loss of data
641 * (see "need_confirm" in the parser)
643 * @global boolean $cfg['Confirm']
645 $cfg['Confirm'] = true;
648 * recall previous login in cookie authentication mode or not
650 * @global boolean $cfg['LoginCookieRecall']
652 $cfg['LoginCookieRecall'] = true;
655 * validity of cookie login (in seconds; 1440 matches php.ini's
656 * session.gc_maxlifetime)
658 * @global integer $cfg['LoginCookieValidity']
660 $cfg['LoginCookieValidity'] = 1440;
663 * how long login cookie should be stored (in seconds)
665 * @global integer $cfg['LoginCookieStore']
667 $cfg['LoginCookieStore'] = 0;
670 * whether to delete all login cookies on logout
672 * @global boolean $cfg['LoginCookieDeleteAll']
674 $cfg['LoginCookieDeleteAll'] = true;
677 * whether to enable the "database search" feature or not
679 * @global boolean $cfg['UseDbSearch']
681 $cfg['UseDbSearch'] = true;
684 * if set to true, PMA continues computing multiple-statement queries
685 * even if one of the queries failed
687 * @global boolean $cfg['IgnoreMultiSubmitErrors']
689 $cfg['IgnoreMultiSubmitErrors'] = false;
692 * if set to true, PMA will show the affected rows of EACH statement on
693 * multiple-statement queries. See the libraries/import.php file for
694 * hard coded defaults on how many queries a statement may contain!
696 * @global boolean $cfg['VerboseMultiSubmit']
698 $cfg['VerboseMultiSubmit'] = true;
701 * allow login to any user entered server in cookie based authentication
703 * @global boolean $cfg['AllowArbitraryServer']
705 $cfg['AllowArbitraryServer'] = false;
708 /*******************************************************************************
709 * Error handler configuration
711 * this configures phpMyAdmin's own error handler, it is used to avoid information
712 * disclosure, gather errors for logging, reporting and displaying
714 * @global array $cfg['Error_Handler']
716 $cfg['Error_Handler'] = array();
719 * whether to display errors or not
721 * this does not affect errors of type E_USER_*
723 * @global boolean $cfg['Error_Handler']['display']
725 $cfg['Error_Handler']['display'] = false;
728 * (NOT IMPLEMENTED YET)
729 * where to log errors, false or empty to disable
731 * <code>
732 * // EXAMPLE log to std PHP error log
733 * $cfg['Error_Handler']['log'] = array(0);
734 * // EXAMPLE mail errors
735 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
736 * // EXAMPLE append to specific file
737 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
738 * </code>
740 * @see http://php.net/error_log
741 * @global string $cfg['Error_Handler']['log']
743 //$cfg['Error_Handler']['log'] = false;
746 * gather all errors in session to be displayed on a error reporting page
747 * for viewing and/or sending to phpMyAdmin developer team
749 * @global boolean $cfg['Error_Handler']['gather']
751 $cfg['Error_Handler']['gather'] = false;
754 /*******************************************************************************
755 * Left frame setup
759 * use a select-based menu and display only the current tables in the left frame.
761 * @global boolean $cfg['LeftFrameLight']
763 $cfg['LeftFrameLight'] = true;
766 * turn the select-based light menu into a tree
768 * @global boolean $cfg['LeftFrameDBTree']
770 $cfg['LeftFrameDBTree'] = true;
773 * the separator to sub-tree the select-based light menu tree
775 * @global string $cfg['LeftFrameDBSeparator']
777 $cfg['LeftFrameDBSeparator'] = '_';
780 * Which string will be used to generate table prefixes
781 * to split/nest tables into multiple categories
783 * @global string $cfg['LeftFrameTableSeparator']
785 $cfg['LeftFrameTableSeparator']= '__';
788 * How many sublevels should be displayed when splitting up tables by the above Separator
790 * @global integer $cfg['LeftFrameTableLevel']
792 $cfg['LeftFrameTableLevel'] = 1;
795 * display table comment as tooltip in left frame
797 * @global boolean $cfg['ShowTooltip']
799 $cfg['ShowTooltip'] = true;
802 * if ShowToolTip is enabled, this defines that table/db comments
804 * @global boolean $cfg['ShowTooltipAliasDB']
806 $cfg['ShowTooltipAliasDB'] = false;
809 * are shown (in the left menu and db_structure) instead of table/db names.
810 * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
811 * descriptors, not the table itself.
813 * @global boolean $cfg['ShowTooltipAliasTB']
815 $cfg['ShowTooltipAliasTB'] = false;
818 * display logo at top of left frame
820 * @global boolean $cfg['LeftDisplayLogo']
822 $cfg['LeftDisplayLogo'] = true;
825 * where should logo link point to (can also contain an external URL)
827 * @global string $cfg['LeftLogoLink']
829 $cfg['LeftLogoLink'] = 'main.php';
832 * whether to open the linked page in the main window ('main') or
833 * in a new window ('new')
835 * @global string $cfg['LeftLogoLinkWindow']
837 $cfg['LeftLogoLinkWindow'] = 'main';
840 * number of recently used tables displayed in the navigation frame
842 * @global integer $cfg['LeftRecentTable']
844 $cfg['LeftRecentTable'] = 10;
847 * display a JavaScript table filter in the left frame
848 * when more then x tables are present
850 * @global boolean $cfg['LeftDisplayTableFilterMinimum']
852 $cfg['LeftDisplayTableFilterMinimum'] = 30;
855 * display server choice at top of left frame
857 * @global boolean $cfg['LeftDisplayServers']
859 $cfg['LeftDisplayServers'] = false;
862 * server choice as links
864 * @global boolean $cfg['DisplayServersList']
866 $cfg['DisplayServersList'] = false;
869 * database choice in light as links
871 * @global boolean $cfg['DisplayDatabasesList']
873 $cfg['DisplayDatabasesList'] = 'auto';
876 * target of the navigation panel quick access icon
878 * Possible values:
879 * 'tbl_structure.php' = fields list
880 * 'tbl_sql.php' = SQL form
881 * 'tbl_select.php' = search page
882 * 'tbl_change.php' = insert row page
883 * 'sql.php' = browse page
885 * @global string $cfg['LeftDefaultTabTable']
887 $cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
890 /*******************************************************************************
891 * In the main frame, at startup...
895 * allow to display statistics and space usage in the pages about database
896 * details and table properties
898 * @global boolean $cfg['ShowStats']
900 $cfg['ShowStats'] = true;
903 * show PHP info link
905 * @global boolean $cfg['ShowPhpInfo']
907 $cfg['ShowPhpInfo'] = false;
910 * show MySQL server and web server information
912 * @global boolean $cfg['ShowServerInfo']
914 $cfg['ShowServerInfo'] = true;
917 * show change password link
919 * @global boolean $cfg['ShowChgPassword']
921 $cfg['ShowChgPassword'] = true;
924 * show create database form
926 * @global boolean $cfg['ShowCreateDb']
928 $cfg['ShowCreateDb'] = true;
931 * suggest a new DB name if possible (false = keep empty)
933 * @global boolean $cfg['SuggestDBName']
935 $cfg['SuggestDBName'] = true;
938 /*******************************************************************************
939 * In browse mode...
943 * Use icons instead of text for the navigation bar buttons
944 * and on right panel top menu (server db table) (true|false|'both')
946 * @global string $cfg['NavigationBarIconic']
948 $cfg['NavigationBarIconic'] = true;
951 * Defines whether a user should be displayed a "show all (records)"
952 * button in browse mode or not.
954 * @global boolean $cfg['ShowAll']
956 $cfg['ShowAll'] = false;
959 * Number of rows displayed when browsing a result set. If the result
960 * set contains more rows, "Previous" and "Next".
962 * @global integer $cfg['MaxRows']
964 $cfg['MaxRows'] = 30;
967 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
968 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
969 * ascending order else-)
971 * @global string $cfg['Order']
973 $cfg['Order'] = 'SMART';
976 * default for 'Show binary contents as HEX'
978 * @global string $cfg['DisplayBinaryAsHex']
980 $cfg['DisplayBinaryAsHex'] = true;
983 /*******************************************************************************
984 * In edit mode...
988 * disallow editing of binary fields
989 * valid values are:
990 * false allow editing
991 * 'blob' allow editing except for BLOB fields
992 * 'all' disallow editing
994 * @global string $cfg['ProtectBinary']
996 $cfg['ProtectBinary'] = 'blob';
999 * Display the function fields in edit/insert mode
1001 * @global boolean $cfg['ShowFunctionFields']
1003 $cfg['ShowFunctionFields'] = true;
1006 * Display the type fields in edit/insert mode
1008 * @global boolean $cfg['ShowFieldTypesInDataEditView']
1010 $cfg['ShowFieldTypesInDataEditView'] = true;
1013 * Which editor should be used for CHAR/VARCHAR fields:
1014 * input - allows limiting of input length
1015 * textarea - allows newlines in fields
1017 * @global string $cfg['CharEditing']
1019 $cfg['CharEditing'] = 'input';
1022 * How many rows can be inserted at one time
1024 * @global integer $cfg['InsertRows']
1026 $cfg['InsertRows'] = 2;
1029 * Sort order for items in a foreign-key drop-down list.
1030 * 'content' is the referenced data, 'id' is the key value.
1032 * @global array $cfg['ForeignKeyDropdownOrder']
1034 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
1037 * A drop-down list will be used if fewer items are present
1039 * @global integer $cfg['ForeignKeyMaxLimit']
1041 $cfg['ForeignKeyMaxLimit'] = 100;
1044 /*******************************************************************************
1045 * For the export features...
1049 * Allow for the use of zip compression (requires zip support to be enabled)
1051 * @global boolean $cfg['ZipDump']
1053 $cfg['ZipDump'] = true;
1056 * Allow for the use of gzip compression (requires zlib)
1058 * @global boolean $cfg['GZipDump']
1060 $cfg['GZipDump'] = true;
1063 * Allow for the use of bzip2 compression (requires bz2 extension)
1065 * @global boolean $cfg['BZipDump']
1067 $cfg['BZipDump'] = true;
1070 * Will compress gzip/bzip2 exports on the fly without the need for much memory.
1071 * If you encounter problems with created gzip/bzip2 files disable this feature.
1073 * @global boolean $cfg['CompressOnFly']
1075 $cfg['CompressOnFly'] = true;
1078 /*******************************************************************************
1079 * Tabs display settings
1083 * Use graphically less intense menu tabs
1085 * @global boolean $cfg['LightTabs']
1087 $cfg['LightTabs'] = false;
1090 * Use icons instead of text for the table display of a database (true|false|'both')
1092 * @global boolean $cfg['PropertiesIconic']
1094 $cfg['PropertiesIconic'] = 'both';
1097 * How many columns should be used for table display of a database?
1098 * (a value larger than 1 results in some information being hidden)
1100 * @global integer $cfg['PropertiesNumColumns']
1102 $cfg['PropertiesNumColumns'] = 1;
1105 * Possible values:
1106 * 'main.php' = the welcome page
1107 * (recommended for multiuser setups)
1108 * 'server_databases.php' = list of databases
1109 * 'server_status.php' = runtime information
1110 * 'server_variables.php' = MySQL server variables
1111 * 'server_privileges.php' = user management
1112 * 'server_processlist.php' = process list
1114 * @global string $cfg['DefaultTabServer']
1116 $cfg['DefaultTabServer'] = 'main.php';
1119 * Possible values:
1120 * 'db_structure.php' = tables list
1121 * 'db_sql.php' = SQL form
1122 * 'db_search.php' = search query
1123 * 'db_operations.php' = operations on database
1125 * @global string $cfg['DefaultTabDatabase']
1127 $cfg['DefaultTabDatabase'] = 'db_structure.php';
1130 * Possible values:
1131 * 'tbl_structure.php' = fields list
1132 * 'tbl_sql.php' = SQL form
1133 * 'tbl_select.php' = search page
1134 * 'tbl_change.php' = insert row page
1135 * 'sql.php' = browse page
1137 * @global string $cfg['DefaultTabTable']
1139 $cfg['DefaultTabTable'] = 'sql.php';
1141 /*******************************************************************************
1142 * Export defaults
1144 $cfg['Export'] = array();
1147 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
1149 * @global string $cfg['Export']['format']
1151 $cfg['Export']['format'] = 'sql';
1154 * quick/custom/custom-no-form
1156 * @global string $cfg['Export']['format']
1158 $cfg['Export']['method'] = 'quick';
1161 * none/zip/gzip/bzip2
1163 * @global string $cfg['Export']['compression']
1165 $cfg['Export']['compression'] = 'none';
1170 * @global boolean $cfg['Export']['asfile']
1172 $cfg['Export']['asfile'] = true;
1177 * @global string $cfg['Export']['charset']
1179 $cfg['Export']['charset'] = '';
1184 * @global boolean $cfg['Export']['onserver']
1186 $cfg['Export']['onserver'] = false;
1191 * @global boolean $cfg['Export']['onserver_overwrite']
1193 $cfg['Export']['onserver_overwrite'] = false;
1198 * @global boolean $cfg['Export']['quick_export_onserver']
1200 $cfg['Export']['quick_export_onserver'] = false;
1205 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1207 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1212 * @global boolean $cfg['Export']['remember_file_template']
1214 $cfg['Export']['remember_file_template'] = true;
1219 * @global string $cfg['Export']['file_template_table']
1221 $cfg['Export']['file_template_table'] = '@TABLE@';
1226 * @global string $cfg['Export']['file_template_database']
1228 $cfg['Export']['file_template_database'] = '@DATABASE@';
1233 * @global string $cfg['Export']['file_template_server']
1235 $cfg['Export']['file_template_server'] = '@SERVER@';
1240 * @global string $cfg['Export']['codegen_structure_or_data']
1242 $cfg['Export']['codegen_structure_or_data'] = 'data';
1247 * @global $cfg['Export']['codegen_format']
1249 $cfg['Export']['codegen_format'] = 0;
1254 * @global boolean $cfg['Export']['ods_columns']
1256 $cfg['Export']['ods_columns'] = false;
1261 * @global string $cfg['Export']['ods_null']
1263 $cfg['Export']['ods_null'] = 'NULL';
1268 * @global string $cfg['Export']['odt_structure_or_data']
1270 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1275 * @global boolean $cfg['Export']['odt_columns']
1277 $cfg['Export']['odt_columns'] = true;
1282 * @global boolean $cfg['Export']['odt_relation']
1284 $cfg['Export']['odt_relation'] = true;
1289 * @global boolean $cfg['Export']['odt_comments']
1291 $cfg['Export']['odt_comments'] = true;
1296 * @global boolean $cfg['Export']['odt_mime']
1298 $cfg['Export']['odt_mime'] = true;
1303 * @global string $cfg['Export']['odt_null']
1305 $cfg['Export']['odt_null'] = 'NULL';
1310 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1312 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1317 * @global boolean $cfg['Export']['htmlword_columns']
1319 $cfg['Export']['htmlword_columns'] = false;
1324 * @global string $cfg['Export']['htmlword_null']
1326 $cfg['Export']['htmlword_null'] = 'NULL';
1331 * @global string $cfg['Export']['texytext_structure_or_data']
1333 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1338 * @global boolean $cfg['Export']['texytext_columns']
1340 $cfg['Export']['texytext_columns'] = false;
1345 * @global string $cfg['Export']['texytext_null']
1347 $cfg['Export']['texytext_null'] = 'NULL';
1352 * @global boolean $cfg['Export']['xls_columns']
1354 $cfg['Export']['xls_columns'] = false;
1359 * @global string $cfg['Export']['xls_structure_or_data']
1361 $cfg['Export']['xls_structure_or_data'] = 'data';
1366 * @global string $cfg['Export']['xls_null']
1368 $cfg['Export']['xls_null'] = 'NULL';
1373 * @global boolean $cfg['Export']['xlsx_columns']
1375 $cfg['Export']['xlsx_columns'] = false;
1380 * @global string $cfg['Export']['xlsx_structure_or_data']
1382 $cfg['Export']['xlsx_structure_or_data'] = 'data';
1387 * @global string $cfg['Export']['xlsx_null']
1389 $cfg['Export']['xlsx_null'] = 'NULL';
1394 * @global boolean $cfg['Export']['csv_columns']
1396 $cfg['Export']['csv_columns'] = false;
1401 * @global string $cfg['Export']['csv_structure_or_data']
1403 $cfg['Export']['csv_structure_or_data'] = 'data';
1408 * @global string $cfg['Export']['csv_null']
1410 $cfg['Export']['csv_null'] = 'NULL';
1415 * @global string $cfg['Export']['csv_separator']
1417 $cfg['Export']['csv_separator'] = ',';
1422 * @global string $cfg['Export']['csv_enclosed']
1424 $cfg['Export']['csv_enclosed'] = '"';
1429 * @global string $cfg['Export']['csv_escaped']
1431 $cfg['Export']['csv_escaped'] = '\\';
1436 * @global string $cfg['Export']['csv_terminated']
1438 $cfg['Export']['csv_terminated'] = 'AUTO';
1443 * @global string $cfg['Export']['csv_removeCRLF']
1445 $cfg['Export']['csv_removeCRLF'] = false;
1450 * @global boolean $cfg['Export']['excel_columns']
1452 $cfg['Export']['excel_columns'] = false;
1457 * @global string $cfg['Export']['excel_null']
1459 $cfg['Export']['excel_null'] = 'NULL';
1462 * win/mac
1464 * @global string $cfg['Export']['excel_edition']
1466 $cfg['Export']['excel_edition'] = 'win';
1471 * @global string $cfg['Export']['excel_removeCRLF']
1473 $cfg['Export']['excel_removeCRLF'] = false;
1478 * @global string $cfg['Export']['excel_structure_or_data']
1480 $cfg['Export']['excel_structure_or_data'] = 'data';
1485 * @global string $cfg['Export']['latex_structure_or_data']
1487 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1492 * @global boolean $cfg['Export']['latex_columns']
1494 $cfg['Export']['latex_columns'] = true;
1499 * @global boolean $cfg['Export']['latex_relation']
1501 $cfg['Export']['latex_relation'] = true;
1506 * @global boolean $cfg['Export']['latex_comments']
1508 $cfg['Export']['latex_comments'] = true;
1513 * @global boolean $cfg['Export']['latex_mime']
1515 $cfg['Export']['latex_mime'] = true;
1520 * @global string $cfg['Export']['latex_null']
1522 $cfg['Export']['latex_null'] = '\textit{NULL}';
1527 * @global boolean $cfg['Export']['latex_caption']
1529 $cfg['Export']['latex_caption'] = true;
1534 * @global string $cfg['Export']['latex_structure_caption']
1536 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1541 * @global string $cfg['Export']['latex_structure_continued_caption']
1543 $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1548 * @global string $cfg['Export']['latex_data_caption']
1550 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1555 * @global string $cfg['Export']['latex_data_continued_caption']
1557 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1562 * @global string $cfg['Export']['latex_data_label']
1564 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1569 * @global string $cfg['Export']['latex_structure_label']
1571 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1576 * @global string $cfg['Export']['mediawiki_structure_or_data']
1578 $cfg['Export']['mediawiki_structure_or_data'] = 'data';
1583 * @global string $cfg['Export']['ods_structure_or_data']
1585 $cfg['Export']['ods_structure_or_data'] = 'data';
1590 * @global string $cfg['Export']['pdf_structure_or_data']
1592 $cfg['Export']['pdf_structure_or_data'] = 'data';
1597 * @global string $cfg['Export']['php_array_structure_or_data']
1599 $cfg['Export']['php_array_structure_or_data'] = 'data';
1604 * @global string $cfg['Export']['json_structure_or_data']
1606 $cfg['Export']['json_structure_or_data'] = 'data';
1611 * @global string $cfg['Export']['sql_structure_or_data']
1613 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1618 * @global string $cfg['Export']['sql_compatibility']
1620 $cfg['Export']['sql_compatibility'] = 'NONE';
1623 * Whether to include comments in SQL export.
1625 * @global string $cfg['Export']['sql_include_comments']
1627 $cfg['Export']['sql_include_comments'] = true;
1632 * @global boolean $cfg['Export']['sql_disable_fk']
1634 $cfg['Export']['sql_disable_fk'] = false;
1639 * @global boolean $cfg['Export']['sql_use_transaction']
1641 $cfg['Export']['sql_use_transaction'] = false;
1646 * @global boolean $cfg['Export']['sql_drop_database']
1648 $cfg['Export']['sql_drop_database'] = false;
1653 * @global boolean $cfg['Export']['sql_drop_table']
1655 $cfg['Export']['sql_drop_table'] = false;
1660 * true by default for correct behavior when dealing with exporting
1661 * of VIEWs and the stand-in table
1662 * @global boolean $cfg['Export']['sql_if_not_exists']
1664 $cfg['Export']['sql_if_not_exists'] = true;
1669 * @global boolean $cfg['Export']['sql_procedure_function']
1671 $cfg['Export']['sql_procedure_function'] = true;
1676 * @global boolean $cfg['Export']['sql_auto_increment']
1678 $cfg['Export']['sql_auto_increment'] = true;
1683 * @global boolean $cfg['Export']['sql_backquotes']
1685 $cfg['Export']['sql_backquotes'] = true;
1690 * @global boolean $cfg['Export']['sql_dates']
1692 $cfg['Export']['sql_dates'] = false;
1697 * @global boolean $cfg['Export']['sql_relation']
1699 $cfg['Export']['sql_relation'] = false;
1704 * @global boolean $cfg['Export']['sql_delayed']
1706 $cfg['Export']['sql_delayed'] = false;
1711 * @global boolean $cfg['Export']['sql_ignore']
1713 $cfg['Export']['sql_ignore'] = false;
1716 * Export time in UTC.
1718 * @global boolean $cfg['Export']['sql_utc_time']
1720 $cfg['Export']['sql_utc_time'] = true;
1725 * @global boolean $cfg['Export']['sql_hex_for_blob']
1727 $cfg['Export']['sql_hex_for_blob'] = true;
1730 * insert/update/replace
1732 * @global string $cfg['Export']['sql_type']
1734 $cfg['Export']['sql_type'] = 'INSERT';
1739 * @global integer $cfg['Export']['sql_max_query_size']
1741 $cfg['Export']['sql_max_query_size'] = 50000;
1746 * @global boolean $cfg['Export']['sql_comments']
1748 $cfg['Export']['sql_comments'] = false;
1753 * @global boolean $cfg['Export']['sql_mime']
1755 $cfg['Export']['sql_mime'] = false;
1758 * \n is replaced by new line
1760 * @global string $cfg['Export']['sql_header_comment']
1762 $cfg['Export']['sql_header_comment'] = '';
1767 * @global boolean $cfg['Export']['sql_create_table_statements']
1769 $cfg['Export']['sql_create_table_statements'] = true;
1772 * Whether to use complete inserts, extended inserts, both, or neither
1774 * @global string $cfg['Export']['sql_insert_syntax']
1776 $cfg['Export']['sql_insert_syntax'] = 'both';
1781 * @global string $cfg['Export']['pdf_report_title']
1783 $cfg['Export']['pdf_report_title'] = '';
1788 *@global string $cfg['Export']['xml_structure_or_data']
1790 $cfg['Export']['xml_structure_or_data'] = 'data';
1793 * Export schema for each structure
1795 * @global string $cfg['Export']['xml_export_struc']
1797 $cfg['Export']['xml_export_struc'] = true;
1800 * Export functions
1802 * @global string $cfg['Export']['xml_export_functions']
1804 $cfg['Export']['xml_export_functions'] = true;
1807 * Export procedures
1809 * @global string $cfg['Export']['xml_export_procedures']
1811 $cfg['Export']['xml_export_procedures'] = true;
1814 * Export schema for each table
1816 * @global string $cfg['Export']['xml_export_tables']
1818 $cfg['Export']['xml_export_tables'] = true;
1821 * Export triggers
1823 * @global string $cfg['Export']['xml_export_triggers']
1825 $cfg['Export']['xml_export_triggers'] = true;
1828 * Export views
1830 * @global string $cfg['Export']['xml_export_views']
1832 $cfg['Export']['xml_export_views'] = true;
1835 * Export contents data
1837 * @global string $cfg['Export']['xml_export_contents']
1839 $cfg['Export']['xml_export_contents'] = true;
1844 * @global string $cfg['Export']['yaml_structure_or_data']
1846 $cfg['Export']['yaml_structure_or_data'] = 'data';
1848 /*******************************************************************************
1849 * Import defaults
1851 $cfg['Import'] = array();
1856 * @global string $cfg['Import']['format']
1858 $cfg['Import']['format'] = 'sql';
1861 * Default charset for import.
1863 * @global string $cfg['Import']['charset']
1865 $cfg['Import']['charset'] = '';
1870 * @global boolean $cfg['Import']['allow_interrupt']
1872 $cfg['Import']['allow_interrupt'] = true;
1877 * @global integer $cfg['Import']['skip_queries']
1879 $cfg['Import']['skip_queries'] = 0;
1884 * @global string $cfg['Import']['sql_compatibility']
1886 $cfg['Import']['sql_compatibility'] = 'NONE';
1891 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
1893 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
1898 * @global boolean $cfg['Import']['csv_replace']
1900 $cfg['Import']['csv_replace'] = false;
1905 * @global boolean $cfg['Import']['csv_ignore']
1907 $cfg['Import']['csv_ignore'] = false;
1912 * @global string $cfg['Import']['csv_terminated']
1914 $cfg['Import']['csv_terminated'] = ',';
1919 * @global string $cfg['Import']['csv_enclosed']
1921 $cfg['Import']['csv_enclosed'] = '"';
1926 * @global string $cfg['Import']['csv_escaped']
1928 $cfg['Import']['csv_escaped'] = '\\';
1933 * @global string $cfg['Import']['csv_new_line']
1935 $cfg['Import']['csv_new_line'] = 'auto';
1940 * @global string $cfg['Import']['csv_columns']
1942 $cfg['Import']['csv_columns'] = '';
1947 * @global string $cfg['Import']['csv_col_names']
1949 $cfg['Import']['csv_col_names'] = false;
1954 * @global boolean $cfg['Import']['ldi_replace']
1956 $cfg['Import']['ldi_replace'] = false;
1961 * @global boolean $cfg['Import']['ldi_ignore']
1963 $cfg['Import']['ldi_ignore'] = false;
1968 * @global string $cfg['Import']['ldi_terminated']
1970 $cfg['Import']['ldi_terminated'] = ';';
1975 * @global string $cfg['Import']['ldi_enclosed']
1977 $cfg['Import']['ldi_enclosed'] = '"';
1982 * @global string $cfg['Import']['ldi_escaped']
1984 $cfg['Import']['ldi_escaped'] = '\\';
1989 * @global string $cfg['Import']['ldi_new_line']
1991 $cfg['Import']['ldi_new_line'] = 'auto';
1996 * @global string $cfg['Import']['ldi_columns']
1998 $cfg['Import']['ldi_columns'] = '';
2001 * 'auto' for auto-detection, true or false for forcing
2003 * @global string $cfg['Import']['ldi_local_option']
2005 $cfg['Import']['ldi_local_option'] = 'auto';
2010 * @global string $cfg['Import']['ods_col_names']
2012 $cfg['Import']['ods_col_names'] = false;
2017 * @global string $cfg['Import']['ods_empty_rows']
2019 $cfg['Import']['ods_empty_rows'] = true;
2024 * @global string $cfg['Import']['ods_recognize_percentages']
2026 $cfg['Import']['ods_recognize_percentages'] = true;
2031 * @global string $cfg['Import']['ods_recognize_currency']
2033 $cfg['Import']['ods_recognize_currency'] = true;
2038 * @global string $cfg['Import']['xml_col_names']
2040 $cfg['Import']['xls_col_names'] = false;
2045 * @global string $cfg['Import']['xml_empty_rows']
2047 $cfg['Import']['xls_empty_rows'] = true;
2052 * @global string $cfg['Import']['xlsx_col_names']
2054 $cfg['Import']['xlsx_col_names'] = false;
2057 * Link to the official MySQL documentation.
2058 * Be sure to include no trailing slash on the path.
2059 * See http://dev.mysql.com/doc/ for more information
2060 * about MySQL manuals and their types.
2062 * @global string $cfg['MySQLManualBase']
2064 $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
2067 * Type of MySQL documentation:
2068 * viewable - "viewable online", current one used on MySQL website
2069 * searchable - "Searchable, with user comments"
2070 * chapters - "HTML, one page per chapter"
2071 * chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
2072 * big - "HTML, all on one page"
2073 * old - old style used in phpMyAdmin 2.3.0 and sooner
2074 * none - do not show documentation links
2076 * @global string $cfg['MySQLManualType']
2078 $cfg['MySQLManualType'] = 'viewable';
2081 /*******************************************************************************
2082 * PDF options
2088 * @global array $cfg['PDFPageSizes']
2090 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
2095 * @global string $cfg['PDFDefaultPageSize']
2097 $cfg['PDFDefaultPageSize'] = 'A4';
2100 /*******************************************************************************
2101 * Language and character set conversion settings
2105 * Default language to use, if not browser-defined or user-defined
2107 * @global string $cfg['DefaultLang']
2109 $cfg['DefaultLang'] = 'en';
2112 * Default connection collation
2114 * @global string $cfg['DefaultConnectionCollation']
2116 $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
2119 * Force: always use this language
2120 * $cfg['Lang'] = 'en';
2122 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2123 * English only
2125 * @global string $cfg['FilterLanguages']
2127 $cfg['FilterLanguages'] = '';
2130 * You can select here which functions will be used for character set conversion.
2131 * Possible values are:
2132 * auto - automatically use available one (first is tested iconv, then
2133 * recode)
2134 * iconv - use iconv or libiconv functions
2135 * recode - use recode_string function
2136 * none - disable encoding conversion
2138 * @global string $cfg['RecodingEngine']
2140 $cfg['RecodingEngine'] = 'auto';
2143 * Specify some parameters for iconv used in character set conversion. See iconv
2144 * documentation for details:
2145 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
2147 * @global string $cfg['IconvExtraParams']
2149 $cfg['IconvExtraParams'] = '//TRANSLIT';
2152 * Available character sets for MySQL conversion. currently contains all which could
2153 * be found in lang/* files and few more.
2154 * Character sets will be shown in same order as here listed, so if you frequently
2155 * use some of these move them to the top.
2157 * @global array $cfg['AvailableCharsets']
2159 $cfg['AvailableCharsets'] = array(
2160 'iso-8859-1',
2161 'iso-8859-2',
2162 'iso-8859-3',
2163 'iso-8859-4',
2164 'iso-8859-5',
2165 'iso-8859-6',
2166 'iso-8859-7',
2167 'iso-8859-8',
2168 'iso-8859-9',
2169 'iso-8859-10',
2170 'iso-8859-11',
2171 'iso-8859-12',
2172 'iso-8859-13',
2173 'iso-8859-14',
2174 'iso-8859-15',
2175 'windows-1250',
2176 'windows-1251',
2177 'windows-1252',
2178 'windows-1256',
2179 'windows-1257',
2180 'koi8-r',
2181 'big5',
2182 'gb2312',
2183 'utf-16',
2184 'utf-8',
2185 'utf-7',
2186 'x-user-defined',
2187 'euc-jp',
2188 'ks_c_5601-1987',
2189 'tis-620',
2190 'SHIFT_JIS'
2194 /*******************************************************************************
2195 * Customization & design
2197 * The graphical settings are now located in themes/theme-name/layout.inc.php
2201 * enable the left panel pointer
2202 * (used when LeftFrameLight is false)
2203 * see also LeftPointerColor
2204 * in layout.inc.php
2206 * @global boolean $cfg['LeftPointerEnable']
2208 $cfg['LeftPointerEnable'] = true;
2211 * enable the browse pointer
2212 * see also BrowsePointerColor
2213 * in layout.inc.php
2215 * @global boolean $cfg['BrowsePointerEnable']
2217 $cfg['BrowsePointerEnable'] = true;
2220 * enable the browse marker
2221 * see also BrowseMarkerColor
2222 * in layout.inc.php
2224 * @global boolean $cfg['BrowseMarkerEnable']
2226 $cfg['BrowseMarkerEnable'] = true;
2229 * textarea size (columns) in edit mode
2230 * (this value will be emphasized (*2) for SQL
2231 * query textareas and (*1.25) for query window)
2233 * @global integer $cfg['TextareaCols']
2235 $cfg['TextareaCols'] = 40;
2238 * textarea size (rows) in edit mode
2240 * @global integer $cfg['TextareaRows']
2242 $cfg['TextareaRows'] = 15;
2245 * double size of textarea size for LONGTEXT columns
2247 * @global boolean $cfg['LongtextDoubleTextarea']
2249 $cfg['LongtextDoubleTextarea'] = true;
2252 * auto-select when clicking in the textarea of the query-box
2254 * @global boolean $cfg['TextareaAutoSelect']
2256 $cfg['TextareaAutoSelect'] = false;
2259 * textarea size (columns) for CHAR/VARCHAR
2261 * @global integer $cfg['CharTextareaCols']
2263 $cfg['CharTextareaCols'] = 40;
2266 * textarea size (rows) for CHAR/VARCHAR
2268 * @global integer $cfg['CharTextareaRows']
2270 $cfg['CharTextareaRows'] = 2;
2273 * Max field data length in browse mode for all non-numeric fields
2275 * @global integer $cfg['LimitChars']
2277 $cfg['LimitChars'] = 50;
2280 * Where to show the edit/copy/delete links in browse mode
2281 * Possible values are 'left', 'right', 'both' and 'none';
2282 * which will be interpreted as 'top', 'bottom', 'both' and 'none'
2283 * respectively for vertical display mode
2285 * @global string $cfg['RowActionLinks']
2287 $cfg['RowActionLinks'] = 'left';
2290 * default display direction (horizontal|vertical|horizontalflipped)
2292 * @global string $cfg['DefaultDisplay']
2294 $cfg['DefaultDisplay'] = 'horizontal';
2297 * remember the last way a table sorted
2299 * @global string $cfg['RememberSorting']
2301 $cfg['RememberSorting'] = true;
2304 * table-header rotation via faking or CSS? (css|fake|auto)
2305 * NOTE: CSS only works in IE browsers!
2307 * @global string $cfg['HeaderFlipType']
2309 $cfg['HeaderFlipType'] = 'auto';
2312 * shows stored relation-comments in 'browse' mode.
2314 * @global boolean $cfg['ShowBrowseComments']
2316 $cfg['ShowBrowseComments'] = true;
2319 * shows stored relation-comments in 'table property' mode.
2321 * @global boolean $cfg['ShowPropertyComments']
2323 $cfg['ShowPropertyComments']= true;
2326 * save edited cell(s) in browse-mode at once.
2328 $cfg['SaveCellsAtOnce'] = false;
2331 * shows table display direction.
2333 $cfg['ShowDisplayDirection'] = false;
2336 * repeat header names every X cells? (0 = deactivate)
2338 * @global integer $cfg['RepeatCells']
2340 $cfg['RepeatCells'] = 100;
2343 * Set to true if Edit link should open the query to edit in the query window
2344 * (assuming JavaScript is enabled), and to false if we should edit in the right panel
2346 * @global boolean $cfg['EditInWindow']
2348 $cfg['EditInWindow'] = true;
2351 * Width of Query window
2353 * @global integer $cfg['QueryWindowWidth']
2355 $cfg['QueryWindowWidth'] = 550;
2358 * Height of Query window
2360 * @global integer $cfg['QueryWindowHeight']
2362 $cfg['QueryWindowHeight'] = 310;
2365 * Set to true if you want DB-based query history.If false, this utilizes
2366 * JS-routines to display query history (lost by window close)
2368 * @global boolean $cfg['QueryHistoryDB']
2370 $cfg['QueryHistoryDB'] = false;
2373 * which tab to display in the querywindow on startup
2374 * (sql|files|history|full)
2376 * @global string $cfg['QueryWindowDefTab']
2378 $cfg['QueryWindowDefTab'] = 'sql';
2381 * When using DB-based query history, how many entries should be kept?
2383 * @global integer $cfg['QueryHistoryMax']
2385 $cfg['QueryHistoryMax'] = 25;
2388 * Use MIME-Types (stored in column comments table) for
2390 * @global boolean $cfg['BrowseMIME']
2392 $cfg['BrowseMIME'] = true;
2395 * When approximate count < this, PMA will get exact count for table rows.
2397 * @global integer $cfg['MaxExactCount']
2399 $cfg['MaxExactCount'] = 20000;
2402 * Zero means that no row count is done for views; see the doc
2404 * @global integer $cfg['MaxExactCountViews']
2406 $cfg['MaxExactCountViews'] = 0;
2409 * Sort table and database in natural order
2411 * @global boolean $cfg['NaturalOrder']
2413 $cfg['NaturalOrder'] = true;
2416 * Initial state for sliders
2417 * (open | closed | disabled)
2419 * @global string $cfg['InitialSlidersState']
2421 $cfg['InitialSlidersState'] = 'closed';
2424 * User preferences: disallow these settings
2425 * For possible setting names look in libraries/config/user_preferences.forms.php
2427 * @global array $cfg['UserprefsDisallow']
2429 $cfg['UserprefsDisallow'] = array();
2432 * User preferences: enable the Developer tab
2434 $cfg['UserprefsDeveloperTab'] = false;
2436 /*******************************************************************************
2437 * Window title settings
2441 * title of browser window when a table is selected
2443 * @global string $cfg['TitleTable']
2445 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2448 * title of browser window when a database is selected
2450 * @global string $cfg['TitleDatabase']
2452 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2455 * title of browser window when a server is selected
2457 * @global string $cfg['TitleServer']
2459 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2462 * title of browser window when nothing is selected
2463 * @global string $cfg['TitleDefault']
2465 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2468 * show some icons for warning, error and information messages (true|false)?
2470 * @global boolean $cfg['ErrorIconic']
2472 $cfg['ErrorIconic'] = true;
2475 * show icons in list on main page and on menu tabs (true|false)?
2477 * @global boolean $cfg['MainPageIconic']
2479 $cfg['MainPageIconic'] = true;
2482 * show help button instead of Documentation text (true|false)?
2484 * @global boolean $cfg['ReplaceHelpImg']
2486 $cfg['ReplaceHelpImg'] = true;
2489 /*******************************************************************************
2490 * theme manager
2494 * using themes manager please set up here the path to 'themes' else leave empty
2496 * @global string $cfg['ThemePath']
2498 $cfg['ThemePath'] = './themes';
2501 * if you want to use selectable themes and if ThemesPath not empty
2502 * set it to true, else set it to false (default is false);
2504 * @global boolean $cfg['ThemeManager']
2506 $cfg['ThemeManager'] = true;
2509 * set up default theme, if ThemePath not empty you can set up here an valid
2510 * path to themes or 'original' for the original pma-theme
2512 * @global string $cfg['ThemeDefault']
2514 $cfg['ThemeDefault'] = 'pmahomme';
2517 * allow different theme for each configured server
2519 * @global boolean $cfg['ThemePerServer']
2521 $cfg['ThemePerServer'] = false;
2524 /*******************************************************************************
2529 * Default query for table
2531 * @global string $cfg['DefaultQueryTable']
2533 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2536 * Default query for database
2538 * @global string $cfg['DefaultQueryDatabase']
2540 $cfg['DefaultQueryDatabase'] = '';
2543 /*******************************************************************************
2544 * SQL Query box settings
2545 * These are the links display in all of the SQL Query boxes
2547 * @global array $cfg['SQLQuery']
2549 $cfg['SQLQuery'] = array();
2552 * Edit link to change a query
2554 * @global boolean $cfg['SQLQuery']['Edit']
2556 $cfg['SQLQuery']['Edit'] = true;
2559 * EXPLAIN on SELECT queries
2561 * @global boolean $cfg['SQLQuery']['Explain']
2563 $cfg['SQLQuery']['Explain'] = true;
2566 * Wrap a query in PHP
2568 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2570 $cfg['SQLQuery']['ShowAsPHP'] = true;
2573 * Validate a query (see $cfg['SQLValidator'] as well)
2575 * @global boolean $cfg['SQLQuery']['Validate']
2577 $cfg['SQLQuery']['Validate'] = false;
2580 * Refresh the results page
2582 * @global boolean $cfg['SQLQuery']['Refresh']
2584 $cfg['SQLQuery']['Refresh'] = true;
2587 /*******************************************************************************
2588 * Web server upload/save/import directories
2592 * Directory for uploaded files that can be executed by phpMyAdmin.
2593 * For example './upload'. Leave empty for no upload directory support.
2594 * Use %u for username inclusion.
2596 * @global string $cfg['UploadDir']
2598 $cfg['UploadDir'] = '';
2601 * Directory where phpMyAdmin can save exported data on server.
2602 * For example './save'. Leave empty for no save directory support.
2603 * Use %u for username inclusion.
2605 * @global string $cfg['SaveDir']
2607 $cfg['SaveDir'] = '';
2610 * Directory where phpMyAdmin can save temporary files.
2611 * This is needed for MS Excel export, see documentation how to enable that.
2613 * @global string $cfg['TempDir']
2615 $cfg['TempDir'] = '';
2619 * Misc. settings
2623 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2624 * which is the only safe way to determine GD version.
2626 * @global string $cfg['GD2Available']
2628 $cfg['GD2Available'] = 'auto';
2631 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2633 * @global array $cfg['TrustedProxies']
2635 $cfg['TrustedProxies'] = array();
2638 * We normally check the permissions on the configuration file to ensure
2639 * it's not world writable. However, phpMyAdmin could be installed on
2640 * a NTFS filesystem mounted on a non-Windows server, in which case the
2641 * permissions seems wrong but in fact cannot be detected. In this case
2642 * a sysadmin would set the following to false.
2644 $cfg['CheckConfigurationPermissions'] = true;
2647 * Limit for length of URL in links. When length would be above this limit, it
2648 * is replaced by form with button.
2649 * This is required as some web servers (IIS) have problems with long URLs.
2650 * The recommended limit is 2000
2651 * (see http://www.boutell.com/newfaq/misc/urllength.html) but we put
2652 * 1000 to accommodate Suhosin, see bug #3358750.
2654 $cfg['LinkLengthLimit'] = 1000;
2657 * Disable the table maintenance mass operations, like optimizing or
2658 * repairing the selected tables of a database. An accidental execution
2659 * of such a maintenance task can enormously slow down a bigger database.
2661 $cfg['DisableMultiTableMaintenance'] = false;
2663 /*******************************************************************************
2664 * SQL Parser Settings
2666 * @global array $cfg['SQP']
2668 $cfg['SQP'] = array();
2671 * Pretty-printing style to use on queries (html, text, none)
2673 * @global string $cfg['SQP']['fmtType']
2675 $cfg['SQP']['fmtType'] = 'html';
2678 * Amount to indent each level (floats are valid)
2680 * @global integer $cfg['SQP']['fmtInd']
2682 $cfg['SQP']['fmtInd'] = '1';
2685 * Units for indenting each level (CSS Types - {em, px, pt})
2687 * @global string $cfg['SQP']['fmtIndUnit']
2689 $cfg['SQP']['fmtIndUnit'] = 'em';
2692 /*******************************************************************************
2693 * If you wish to use the SQL Validator service, you should be aware of the
2694 * following:
2695 * All SQL statements are stored anonymously for statistical purposes.
2696 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
2697 * All rights reserved.
2699 * @global array $cfg['SQLValidator']
2701 $cfg['SQLValidator'] = array();
2704 * Make the SQL Validator available
2706 * @global boolean $cfg['SQLValidator']['use']
2708 $cfg['SQLValidator']['use'] = false;
2711 * If you have a custom username, specify it here (defaults to anonymous)
2713 * @global string $cfg['SQLValidator']['username']
2715 $cfg['SQLValidator']['username'] = '';
2718 * Password for username
2720 * @global string $cfg['SQLValidator']['password']
2722 $cfg['SQLValidator']['password'] = '';
2725 /*******************************************************************************
2726 * Developers ONLY!
2728 * @global array $cfg['DBG']
2730 $cfg['DBG'] = array();
2733 * Output executed queries and their execution times
2735 * @global boolean $cfg['DBG']['sql']
2737 $cfg['DBG']['sql'] = false;
2740 /*******************************************************************************
2741 * MySQL settings
2745 * Column types;
2746 * VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
2748 * This variable is filled in data_*.inc.php
2750 * @global array $cfg['ColumnTypes']
2752 $cfg['ColumnTypes'] = array();
2755 * Attributes
2757 * This variable is filled in data_*.inc.php
2759 * @global array $cfg['AttributeTypes']
2761 $cfg['AttributeTypes'] = array();
2764 if ($cfg['ShowFunctionFields']) {
2766 * Available functions
2768 * This variable is filled in data_*.inc.php
2770 * @global array $cfg['Functions']
2772 $cfg['Functions'] = array();
2775 * Which column types will be mapped to which Group?
2777 * This variable is filled in data_*.inc.php
2779 * @global array $cfg['RestrictColumnTypes']
2781 $cfg['RestrictColumnTypes'] = array();
2784 * Map above defined groups to any function
2786 * This variable is filled in data_*.inc.php
2788 * @global array $cfg['RestrictFunctions']
2790 $cfg['RestrictFunctions'] = array();
2793 * Default functions for above defined groups
2795 * @global array $cfg['DefaultFunctions']
2797 $cfg['DefaultFunctions'] = array(
2798 'FUNC_CHAR' => '',
2799 'FUNC_DATE' => '',
2800 'FUNC_NUMBER' => '',
2801 'FUNC_SPATIAL' => 'GeomFromText',
2802 'FUNC_UUID' => 'UUID',
2803 'first_timestamp' => 'NOW',
2805 } // end if
2808 * Search operators
2810 * @global array $cfg['NumOperators']
2812 $cfg['NumOperators'] = array(
2813 '=',
2814 '>',
2815 '>=',
2816 '<',
2817 '<=',
2818 '!=',
2819 'LIKE',
2820 'NOT LIKE',
2821 'IN (...)',
2822 'NOT IN (...)',
2823 'BETWEEN',
2824 'NOT BETWEEN',
2828 * Search operators
2830 * @global array $cfg['TextOperators']
2832 $cfg['TextOperators'] = array(
2833 'LIKE',
2834 'LIKE %...%',
2835 'NOT LIKE',
2836 '=',
2837 '!=',
2838 'REGEXP',
2839 'REGEXP ^...$',
2840 'NOT REGEXP',
2841 "= ''",
2842 "!= ''",
2843 'IN (...)',
2844 'NOT IN (...)',
2845 'BETWEEN',
2846 'NOT BETWEEN',
2850 * Search operators
2852 * @global array $cfg['EnumOperators']
2854 $cfg['EnumOperators'] = array(
2855 '=',
2856 '!=',
2860 * Search operators
2862 * @global array $cfg['SetOperators']
2864 $cfg['SetOperators'] = array(
2865 'IN',
2866 'NOT IN',
2870 * Search operators
2872 * @global array $cfg['NullOperators']
2874 $cfg['NullOperators'] = array(
2875 'IS NULL',
2876 'IS NOT NULL',
2880 * Search operators
2882 * @global array $cfg['UnaryOperators']
2884 $cfg['UnaryOperators'] = array(
2885 'IS NULL' => 1,
2886 'IS NOT NULL' => 1,
2887 "= ''" => 1,
2888 "!= ''" => 1
2892 * Max rows retreived for zoom search
2894 $cfg['maxRowPlotLimit'] = 500;