2 /* vim: set expandtab sw=4 ts=4 sts=4: */
5 * N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !!
6 * NN N O O !! D D O O NN N O O T E D D I T !!
7 * N N N O O !! D D O O N N N O O T EEEE D D I T !!
8 * N NN O O D D O O N NN O O T E D D I T
9 * N N OOO !! DDDD OOO N N OOO T EEEE DDDD I T !!
12 * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
14 * phpMyAdmin default configuration, you can copy values from here to your
17 * All directives are explained in the documentation
23 * Your phpMyAdmin URL.
25 * Complete the variable below with the full URL ie
26 * http://www.your_web.net/path_to_your_phpMyAdmin_directory/
28 * It must contain characters that are valid for a URL, and the path is
29 * case sensitive on some Web servers, for example Unix-based servers.
31 * In most cases you can leave this variable empty, as the correct value
32 * will be detected automatically. However, we recommend that you do
33 * test to see that the auto-detection code works in your system. A good
34 * test is to browse a table, then edit a row and save it. There will be
35 * an error message if phpMyAdmin cannot auto-detect the correct value.
37 * @global string $cfg['PmaAbsoluteUri']
39 $cfg['PmaAbsoluteUri'] = '';
42 * Disable the default warning that is displayed on the DB Details Structure page if
43 * any of the required Tables for the configuration storage could not be found
45 * @global boolean $cfg['PmaNoRelation_DisableWarning']
47 $cfg['PmaNoRelation_DisableWarning'] = false;
50 * Disable the default warning that is displayed if Suhosin is detected
52 * @global boolean $cfg['SuhosinDisableWarning']
54 $cfg['SuhosinDisableWarning'] = false;
57 * Disable the default warning that is displayed if session.gc_maxlifetime
58 * is less than `LoginCookieValidity`
60 * @global boolean $cfg['LoginCookieValidityDisableWarning']
62 $cfg['LoginCookieValidityDisableWarning'] = false;
65 * Disable the default warning that is displayed if a difference between
66 * the MySQL library and server is detected.
68 * @global boolean $cfg['['ServerLibraryDifference_DisableWarning']']
70 $cfg['ServerLibraryDifference_DisableWarning'] = false;
73 * Disable the default warning about MySQL reserved words in column names
75 * @global boolean $cfg['ReservedWordDisableWarning']
77 $cfg['ReservedWordDisableWarning'] = false;
80 * Show warning about incomplete translations on certain threshold.
82 * @global boolean $cfg['TranslationWarningThreshold']
84 $cfg['TranslationWarningThreshold'] = 80;
87 * Allows phpMyAdmin to be included from a other document in a frame;
88 * setting this to true is a potential security hole
90 * @global boolean $cfg['AllowThirdPartyFraming']
92 $cfg['AllowThirdPartyFraming'] = false;
95 * The 'cookie' auth_type uses AES algorithm to encrypt the password. If
96 * at least one server configuration uses 'cookie' auth_type, enter here a
97 * pass phrase that will be used by AES. The maximum length seems to be 46
100 * @global string $cfg['blowfish_secret']
102 $cfg['blowfish_secret'] = '';
105 /*******************************************************************************
106 * Server(s) configuration
108 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
109 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
110 * to ''. If you want more than one server, just copy following section
111 * (including $i incrementation) several times. There is no need to define
112 * full server array, just define values you need to change.
114 * @global array $cfg['Servers']
116 $cfg['Servers'] = array();
121 * MySQL hostname or IP address
123 * @global string $cfg['Servers'][$i]['host']
125 $cfg['Servers'][$i]['host'] = 'localhost';
128 * MySQL port - leave blank for default port
130 * @global string $cfg['Servers'][$i]['port']
132 $cfg['Servers'][$i]['port'] = '';
135 * Path to the socket - leave blank for default socket
137 * @global string $cfg['Servers'][$i]['socket']
139 $cfg['Servers'][$i]['socket'] = '';
142 * Use SSL for connecting to MySQL server?
144 * @global boolean $cfg['Servers'][$i]['ssl']
146 $cfg['Servers'][$i]['ssl'] = false;
149 * Path to the key file when using SSL for connecting to the MySQL server
151 * @global string $cfg['Servers'][$i]['ssl_key']
153 $cfg['Servers'][$i]['ssl_key'] = null;
156 * Path to the cert file when using SSL for connecting to the MySQL server
158 * @global string $cfg['Servers'][$i]['ssl_cert']
160 $cfg['Servers'][$i]['ssl_cert'] = null;
163 * Path to the CA file when using SSL for connecting to the MySQL server
165 * @global string $cfg['Servers'][$i]['ssl_ca']
167 $cfg['Servers'][$i]['ssl_ca'] = null;
170 * Directory containing trusted SSL CA certificates in PEM format
172 * @global string $cfg['Servers'][$i]['ssl_ca_path']
174 $cfg['Servers'][$i]['ssl_ca_path'] = null;
177 * List of allowable ciphers for SSL connections to the MySQL server
179 * @global string $cfg['Servers'][$i]['ssl_ciphers']
181 $cfg['Servers'][$i]['ssl_ciphers'] = null;
184 * How to connect to MySQL server ('tcp' or 'socket')
186 * @global string $cfg['Servers'][$i]['connect_type']
188 $cfg['Servers'][$i]['connect_type'] = 'tcp';
191 * Use compressed protocol for the MySQL connection
193 * @global boolean $cfg['Servers'][$i]['compress']
195 $cfg['Servers'][$i]['compress'] = false;
198 * MySQL control host. This permits to use a host different than the
199 * main host, for the phpMyAdmin configuration storage. If left empty,
200 * $cfg['Servers'][$i]['host'] is used instead.
202 * @global string $cfg['Servers'][$i]['controlhost']
204 $cfg['Servers'][$i]['controlhost'] = '';
207 * MySQL control port. This permits to use a port different than the
208 * main port, for the phpMyAdmin configuration storage. If left empty,
209 * $cfg['Servers'][$i]['port'] is used instead.
211 * @global string $cfg['Servers'][$i]['controlport']
213 $cfg['Servers'][$i]['controlport'] = '';
216 * MySQL control user settings (this user must have read-only
217 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
218 * used for all relational features (pmadb)
220 * @global string $cfg['Servers'][$i]['controluser']
222 $cfg['Servers'][$i]['controluser'] = '';
225 * MySQL control user settings (this user must have read-only
226 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
227 * used for all relational features (pmadb)
229 * @global string $cfg['Servers'][$i]['controlpass']
231 $cfg['Servers'][$i]['controlpass'] = '';
234 * Authentication method (valid choices: config, http, signon or cookie)
236 * @global string $cfg['Servers'][$i]['auth_type']
238 $cfg['Servers'][$i]['auth_type'] = 'cookie';
241 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
243 * @global string $cfg['Servers'][$i]['auth_http_realm']
245 $cfg['Servers'][$i]['auth_http_realm'] = '';
248 * File containing Swekey ids and login names (see /contrib);
249 * leave empty to deactivate Swekey hardware authentication
251 * @global string $cfg['Servers'][$i]['auth_swekey_config']
253 $cfg['Servers'][$i]['auth_swekey_config'] = '';
258 * @global string $cfg['Servers'][$i]['user']
260 $cfg['Servers'][$i]['user'] = 'root';
263 * MySQL password (only needed with 'config' auth_type)
265 * @global string $cfg['Servers'][$i]['password']
267 $cfg['Servers'][$i]['password'] = '';
270 * Session to use for 'signon' authentication method
272 * @global string $cfg['Servers'][$i]['SignonSession']
274 $cfg['Servers'][$i]['SignonSession'] = '';
277 * PHP script to use for 'signon' authentication method
279 * @global string $cfg['Servers'][$i]['SignonScript']
281 $cfg['Servers'][$i]['SignonScript'] = '';
284 * URL where to redirect user to login for 'signon' authentication method
286 * @global string $cfg['Servers'][$i]['SignonURL']
288 $cfg['Servers'][$i]['SignonURL'] = '';
291 * URL where to redirect user after logout
293 * @global string $cfg['Servers'][$i]['LogoutURL']
295 $cfg['Servers'][$i]['LogoutURL'] = '';
298 * Whether to try to connect without password
300 * @global boolean $cfg['Servers'][$i]['nopassword']
302 $cfg['Servers'][$i]['nopassword'] = false;
305 * If set to a db-name, only this db is displayed in navigation panel
306 * It may also be an array of db-names
308 * @global string $cfg['Servers'][$i]['only_db']
310 $cfg['Servers'][$i]['only_db'] = '';
313 * Database name to be hidden from listings
315 * @global string $cfg['Servers'][$i]['hide_db']
317 $cfg['Servers'][$i]['hide_db'] = '';
320 * Verbose name for this host - leave blank to show the hostname
321 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
323 * @global string $cfg['Servers'][$i]['verbose']
325 $cfg['Servers'][$i]['verbose'] = '';
328 * Database used for Relation, Bookmark and PDF Features
329 * (see sql/create_tables.sql)
330 * - leave blank for no support
331 * SUGGESTED: 'phpmyadmin'
333 * @global string $cfg['Servers'][$i]['pmadb']
335 $cfg['Servers'][$i]['pmadb'] = '';
339 * - leave blank for no bookmark support
340 * SUGGESTED: 'pma__bookmark'
342 * @global string $cfg['Servers'][$i]['bookmarktable']
344 $cfg['Servers'][$i]['bookmarktable'] = '';
347 * table to describe the relation between links (see doc)
348 * - leave blank for no relation-links support
349 * SUGGESTED: 'pma__relation'
351 * @global string $cfg['Servers'][$i]['relation']
353 $cfg['Servers'][$i]['relation'] = '';
356 * table to describe the display fields
357 * - leave blank for no display fields support
358 * SUGGESTED: 'pma__table_info'
360 * @global string $cfg['Servers'][$i]['table_info']
362 $cfg['Servers'][$i]['table_info'] = '';
365 * table to describe the tables position for the designer and PDF schema
366 * - leave blank for no PDF schema support
367 * SUGGESTED: 'pma__table_coords'
369 * @global string $cfg['Servers'][$i]['table_coords']
371 $cfg['Servers'][$i]['table_coords'] = '';
374 * table to describe pages of relationpdf
375 * - leave blank if you don't want to use this
376 * SUGGESTED: 'pma__pdf_pages'
378 * @global string $cfg['Servers'][$i]['pdf_pages']
380 $cfg['Servers'][$i]['pdf_pages'] = '';
383 * table to store column information
384 * - leave blank for no column comments/mime types
385 * SUGGESTED: 'pma__column_info'
387 * @global string $cfg['Servers'][$i]['column_info']
389 $cfg['Servers'][$i]['column_info'] = '';
392 * table to store SQL history
393 * - leave blank for no SQL query history
394 * SUGGESTED: 'pma__history'
396 * @global string $cfg['Servers'][$i]['history']
398 $cfg['Servers'][$i]['history'] = '';
401 * table to store recently used tables
402 * - leave blank for no "persistent" recently used tables
403 * SUGGESTED: 'pma__recent'
405 $cfg['Servers'][$i]['recent'] = '';
408 * table to store favorite tables
409 * - leave blank for no favorite tables
410 * SUGGESTED: 'pma__favorite'
412 $cfg['Servers'][$i]['favorite'] = '';
415 * table to store UI preferences for tables
416 * - leave blank for no "persistent" UI preferences
417 * SUGGESTED: 'pma__table_uiprefs'
419 $cfg['Servers'][$i]['table_uiprefs'] = '';
422 * table to store SQL tracking
423 * - leave blank for no SQL tracking
424 * SUGGESTED: 'pma__tracking'
426 * @global string $cfg['Servers'][$i]['tracking']
428 $cfg['Servers'][$i]['tracking'] = '';
431 * table to store user preferences
432 * - leave blank to disable server storage
433 * SUGGESTED: 'pma__userconfig'
435 * @global string $cfg['Servers'][$i]['userconfig']
437 $cfg['Servers'][$i]['userconfig'] = '';
440 * table to store users and their assignment to user groups
441 * - leave blank to disable configurable menus feature
442 * SUGGESTED: 'pma__users'
444 * @global string $cfg['Servers'][$i]['users']
446 $cfg['Servers'][$i]['users'] = '';
449 * table to store allowed menu items for each user group
450 * - leave blank to disable configurable menus feature
451 * SUGGESTED: 'pma__usergroups'
453 * @global string $cfg['Servers'][$i]['usergroups']
455 $cfg['Servers'][$i]['usergroups'] = '';
458 * table to store information about item hidden from navigation tree
459 * - leave blank to disable hide/show navigation items feature
460 * SUGGESTED: 'pma__navigationhiding'
462 * @global string $cfg['Servers'][$i]['navigationhiding']
464 $cfg['Servers'][$i]['navigationhiding'] = '';
467 * table to store information about saved searches from query-by-example on a db
468 * - leave blank to disable saved searches feature
469 * SUGGESTED: 'pma__savedsearches'
471 * @global string $cfg['Servers'][$i]['savedsearches']
473 $cfg['Servers'][$i]['savedsearches'] = '';
476 * table to store central list of columns per database
477 * - leave blank to disable central list of columns feature
478 * SUGGESTED: 'pma__central_columns'
480 * @global string $cfg['Servers'][$i]['central_columns']
482 $cfg['Servers'][$i]['central_columns'] = '';
485 * Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
487 * In case where tables in databases is modified (e.g. dropped or renamed),
488 * table_uiprefs may contains invalid data (referring to tables which are not
490 * This configuration make sure that we only keep N (N = MaxTableUiprefs)
491 * newest record in table_uiprefs and automatically delete older records.
493 * @global integer $cfg['Servers'][$i]['userconfig'] = '';
495 $cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
498 * Sets the time zone used by phpMyAdmin. Possible values are explained at
499 * http://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html
501 * @global string $cfg['Servers'][$i]['SessionTimeZone'] = ''
503 $cfg['Servers'][$i]['SessionTimeZone'] = '';
506 * whether to allow root login
508 * @global boolean $cfg['Servers'][$i]['AllowRoot']
510 $cfg['Servers'][$i]['AllowRoot'] = true;
513 * whether to allow login of any user without a password
515 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
517 $cfg['Servers'][$i]['AllowNoPassword'] = false;
520 * Host authentication order, leave blank to not use
522 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
524 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
527 * Host authentication rules, leave blank for defaults
529 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
531 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
534 * Disable use of INFORMATION_SCHEMA. Is always 'false' for Drizzle.
536 * @see https://sourceforge.net/p/phpmyadmin/bugs/2606/
537 * @see http://bugs.mysql.com/19588
538 * @global boolean $cfg['Servers'][$i]['DisableIS']
540 $cfg['Servers'][$i]['DisableIS'] = false;
543 * Whether the tracking mechanism creates
544 * versions for tables and views automatically.
546 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
548 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
551 * Defines the list of statements
552 * the auto-creation uses for new versions.
554 * @global string $cfg['Servers'][$i]['tracking_default_statements']
556 $cfg['Servers'][$i]['tracking_default_statements']
557 = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,CREATE INDEX,' .
558 'DROP INDEX,INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,CREATE VIEW,' .
559 'ALTER VIEW,DROP VIEW,CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
562 * Whether a DROP VIEW IF EXISTS statement will be added
563 * as first line to the log when creating a view.
565 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
567 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
570 * Whether a DROP TABLE IF EXISTS statement will be added
571 * as first line to the log when creating a table.
573 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
575 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
578 * Whether a DROP DATABASE IF EXISTS statement will be added
579 * as first line to the log when creating a database.
581 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
583 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
586 * Default server (0 = no default server)
588 * If you have more than one server configured, you can set $cfg['ServerDefault']
589 * to any one of them to auto-connect to that server when phpMyAdmin is started,
590 * or set it to 0 to be given a list of servers without logging in
591 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
592 * set to that server.
594 * @global integer $cfg['ServerDefault']
596 $cfg['ServerDefault'] = 1;
599 * Other core phpMyAdmin settings
603 * whether version check is active
605 * @global boolean $cfg['VersionCheck']
607 if (defined('VERSION_CHECK_DEFAULT')) {
608 $cfg['VersionCheck'] = VERSION_CHECK_DEFAULT
;
610 $cfg['VersionCheck'] = true;
614 * The url of the proxy to be used when retrieving the information about
615 * the latest version of phpMyAdmin or error reporting. You need this if
616 * the server where phpMyAdmin is installed does not have direct access to
618 * The format is: "hostname:portnumber"
620 * @global string $cfg['ProxyUrl']
622 $cfg['ProxyUrl'] = "";
625 * The username for authenticating with the proxy. By default, no
626 * authentication is performed. If a username is supplied, Basic
627 * Authentication will be performed. No other types of authentication
628 * are currently supported.
630 * @global string $cfg['ProxyUser']
632 $cfg['ProxyUser'] = "";
635 * The password for authenticating with the proxy.
637 * @global string $cfg['ProxyPass']
639 $cfg['ProxyPass'] = "";
642 * maximum number of db's displayed in database list
644 * @global integer $cfg['MaxDbList']
646 $cfg['MaxDbList'] = 100;
649 * maximum number of tables displayed in table list
651 * @global integer $cfg['MaxTableList']
653 $cfg['MaxTableList'] = 250;
656 * whether to show hint or not
658 * @global boolean $cfg['ShowHint']
660 $cfg['ShowHint'] = true;
663 * maximum number of characters when a SQL query is displayed
665 * @global integer $cfg['MaxCharactersInDisplayedSQL']
667 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
670 * use GZIP output buffering if possible (true|false|'auto')
672 * @global string $cfg['OBGzip']
674 $cfg['OBGzip'] = 'auto';
677 * use persistent connections to MySQL database
679 * @global boolean $cfg['PersistentConnections']
681 $cfg['PersistentConnections'] = false;
684 * whether to force using HTTPS
686 * @global boolean $cfg['ForceSSL']
688 $cfg['ForceSSL'] = false;
691 * maximum execution time in seconds (0 for no limit)
693 * @global integer $cfg['ExecTimeLimit']
695 $cfg['ExecTimeLimit'] = 300;
698 * Path for storing session data (session_save_path PHP parameter).
700 * @global integer $cfg['SessionSavePath']
702 $cfg['SessionSavePath'] = '';
705 * maximum allocated bytes ('-1' for no limit)
706 * this is a string because '16M' is a valid value; we must put here
707 * a string as the default value so that /setup accepts strings
709 * @global string $cfg['MemoryLimit']
711 $cfg['MemoryLimit'] = '-1';
714 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
715 * Is ignored for Drizzle.
717 * @global boolean $cfg['SkipLockedTables']
719 $cfg['SkipLockedTables'] = false;
722 * show SQL queries as run
724 * @global boolean $cfg['ShowSQL']
726 $cfg['ShowSQL'] = true;
729 * retain SQL input on Ajax execute
731 * @global boolean $cfg['RetainQueryEditor']
733 $cfg['RetainQueryBox'] = false;
736 * use CodeMirror syntax highlighting for editing SQL
738 * @global boolean $cfg['CodemirrorEnable']
740 $cfg['CodemirrorEnable'] = true;
743 * show a 'Drop database' link to normal users
745 * @global boolean $cfg['AllowUserDropDatabase']
747 $cfg['AllowUserDropDatabase'] = false;
750 * confirm some commands that can result in loss of data
752 * @global boolean $cfg['Confirm']
754 $cfg['Confirm'] = true;
757 * recall previous login in cookie authentication mode or not
759 * @global boolean $cfg['LoginCookieRecall']
761 $cfg['LoginCookieRecall'] = true;
764 * validity of cookie login (in seconds; 1440 matches php.ini's
765 * session.gc_maxlifetime)
767 * @global integer $cfg['LoginCookieValidity']
769 $cfg['LoginCookieValidity'] = 1440;
772 * how long login cookie should be stored (in seconds)
774 * @global integer $cfg['LoginCookieStore']
776 $cfg['LoginCookieStore'] = 0;
779 * whether to delete all login cookies on logout
781 * @global boolean $cfg['LoginCookieDeleteAll']
783 $cfg['LoginCookieDeleteAll'] = true;
786 * whether to enable the "database search" feature or not
788 * @global boolean $cfg['UseDbSearch']
790 $cfg['UseDbSearch'] = true;
793 * if set to true, PMA continues computing multiple-statement queries
794 * even if one of the queries failed
796 * @global boolean $cfg['IgnoreMultiSubmitErrors']
798 $cfg['IgnoreMultiSubmitErrors'] = false;
801 * allow login to any user entered server in cookie based authentication
803 * @global boolean $cfg['AllowArbitraryServer']
805 $cfg['AllowArbitraryServer'] = false;
808 * restrict by IP (with regular expression) the MySQL servers the user can enter
809 * when $cfg['AllowArbitraryServer'] = true
811 * @global string $cfg['ArbitraryServerRegexp']
813 $cfg['ArbitraryServerRegexp'] = '';
816 * if reCaptcha is enabled it needs public key to connect with the service
818 * @global string $cfg['CaptchaLoginPublicKey']
820 $cfg['CaptchaLoginPublicKey'] = '';
823 * if reCaptcha is enabled it needs private key to connect with the service
825 * @global string $cfg['CaptchaLoginPrivateKey']
827 $cfg['CaptchaLoginPrivateKey'] = '';
829 /*******************************************************************************
830 * Navigation panel setup
834 * In the navigation panel, replaces the database tree with a selector
836 * @global boolean $cfg['ShowDatabasesNavigationAsTree']
838 $cfg['ShowDatabasesNavigationAsTree'] = true;
841 * maximum number of first level databases displayed in navigation panel
843 * @global integer $cfg['FirstLevelNavigationItems']
845 $cfg['FirstLevelNavigationItems'] = 100;
848 * maximum number of items displayed in navigation panel
850 * @global integer $cfg['MaxNavigationItems']
852 $cfg['MaxNavigationItems'] = 50;
855 * turn the select-based light menu into a tree
857 * @global boolean $cfg['NavigationTreeEnableGrouping']
859 $cfg['NavigationTreeEnableGrouping'] = true;
862 * the separator to sub-tree the select-based light menu tree
864 * @global string $cfg['NavigationTreeDbSeparator']
866 $cfg['NavigationTreeDbSeparator'] = '_';
869 * Which string will be used to generate table prefixes
870 * to split/nest tables into multiple categories
872 * @global string $cfg['NavigationTreeTableSeparator']
874 $cfg['NavigationTreeTableSeparator'] = '__';
877 * How many sublevels should be displayed when splitting up tables
878 * by the above Separator
880 * @global integer $cfg['NavigationTreeTableLevel']
882 $cfg['NavigationTreeTableLevel'] = 1;
885 * link with main panel by highlighting the current db/table
887 * @global boolean $cfg['NavigationLinkWithMainPanel']
889 $cfg['NavigationLinkWithMainPanel'] = true;
892 * display logo at top of navigation panel
894 * @global boolean $cfg['NavigationDisplayLogo']
896 $cfg['NavigationDisplayLogo'] = true;
899 * where should logo link point to (can also contain an external URL)
901 * @global string $cfg['NavigationLogoLink']
903 $cfg['NavigationLogoLink'] = 'index.php';
906 * whether to open the linked page in the main window ('main') or
907 * in a new window ('new')
909 * @global string $cfg['NavigationLogoLinkWindow']
911 $cfg['NavigationLogoLinkWindow'] = 'main';
914 * number of recently used tables displayed in the navigation panel
916 * @global integer $cfg['NumRecentTables']
918 $cfg['NumRecentTables'] = 10;
921 * number of favorite tables displayed in the navigation panel
923 * @global integer $cfg['NumFavoriteTables']
925 $cfg['NumFavoriteTables'] = 10;
928 * display a JavaScript table filter in the navigation panel
929 * when more then x tables are present
931 * @global boolean $cfg['NavigationTreeDisplayItemFilterMinimum']
933 $cfg['NavigationTreeDisplayItemFilterMinimum'] = 30;
936 * display server choice at top of navigation panel
938 * @global boolean $cfg['NavigationDisplayServers']
940 $cfg['NavigationDisplayServers'] = true;
943 * server choice as links
945 * @global boolean $cfg['DisplayServersList']
947 $cfg['DisplayServersList'] = false;
950 * display a JavaScript database filter in the navigation panel
951 * when more then x databases are present
953 * @global boolean $cfg['NavigationTreeDisplayDbFilterMinimum']
955 $cfg['NavigationTreeDisplayDbFilterMinimum'] = 30;
958 * target of the navigation panel quick access icon
961 * 'tbl_structure.php' = fields list
962 * 'tbl_sql.php' = SQL form
963 * 'tbl_select.php' = search page
964 * 'tbl_change.php' = insert row page
965 * 'sql.php' = browse page
967 * @global string $cfg['NavigationTreeDefaultTabTable']
969 $cfg['NavigationTreeDefaultTabTable'] = 'tbl_structure.php';
972 * target of the navigation panel quick second access icon
975 * 'tbl_structure.php' = fields list
976 * 'tbl_sql.php' = SQL form
977 * 'tbl_select.php' = search page
978 * 'tbl_change.php' = insert row page
979 * 'sql.php' = browse page
982 * @global string $cfg['NavigationTreeDefaultTabTable2']
984 $cfg['NavigationTreeDefaultTabTable2'] = '';
987 * Enables the possibility of navigation tree expansion
989 * @global boolean $cfg['NavigationTreeEnableExpansion']
991 $cfg['NavigationTreeEnableExpansion'] = true;
993 /*******************************************************************************
994 * In the main panel, at startup...
998 * allow to display statistics and space usage in the pages about database
999 * details and table properties
1001 * @global boolean $cfg['ShowStats']
1003 $cfg['ShowStats'] = true;
1006 * show PHP info link
1008 * @global boolean $cfg['ShowPhpInfo']
1010 $cfg['ShowPhpInfo'] = false;
1013 * show MySQL server and web server information
1015 * @global boolean $cfg['ShowServerInfo']
1017 $cfg['ShowServerInfo'] = true;
1020 * show change password link
1022 * @global boolean $cfg['ShowChgPassword']
1024 $cfg['ShowChgPassword'] = true;
1027 * show create database form
1029 * @global boolean $cfg['ShowCreateDb']
1031 $cfg['ShowCreateDb'] = true;
1034 /*******************************************************************************
1035 * Database structure
1039 * show comment column in database structure (true|false)?
1041 * @global boolean $cfg['ShowDbStructureComment']
1043 $cfg['ShowDbStructureComment'] = false;
1046 * show creation timestamp column in database structure (true|false)?
1048 * @global boolean $cfg['ShowDbStructureCreation']
1050 $cfg['ShowDbStructureCreation'] = false;
1053 * show last update timestamp column in database structure (true|false)?
1055 * @global boolean $cfg['ShowDbStructureLastUpdate']
1057 $cfg['ShowDbStructureLastUpdate'] = false;
1060 * show last check timestamp column in database structure (true|false)?
1062 * @global boolean $cfg['ShowDbStructureLastCheck']
1064 $cfg['ShowDbStructureLastCheck'] = false;
1067 * allow hide action columns to drop down menu in database structure (true|false)?
1069 * @global boolean $cfg['HideStructureActions']
1071 $cfg['HideStructureActions'] = true;
1074 /*******************************************************************************
1079 * Use icons instead of text for the navigation bar buttons (table browse)
1080 * ('text'|'icons'|'both')
1082 * @global string $cfg['TableNavigationLinksMode']
1084 $cfg['TableNavigationLinksMode'] = 'icons';
1087 * Defines whether a user should be displayed a "show all (records)"
1088 * button in browse mode or not.
1090 * @global boolean $cfg['ShowAll']
1092 $cfg['ShowAll'] = false;
1095 * Number of rows displayed when browsing a result set. If the result
1096 * set contains more rows, "Previous" and "Next".
1097 * Possible values: 25,50,100,250,500
1099 * @global integer $cfg['MaxRows']
1101 $cfg['MaxRows'] = 25;
1104 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
1105 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
1106 * ascending order else-)
1108 * @global string $cfg['Order']
1110 $cfg['Order'] = 'SMART';
1113 * grid editing: save edited cell(s) in browse-mode at once
1115 * @global boolean $cfg['SaveCellsAtOnce']
1117 $cfg['SaveCellsAtOnce'] = false;
1120 * grid editing: which action triggers it, or completely disable the feature
1127 * @global string $cfg['GridEditing']
1129 $cfg['GridEditing'] ='double-click';
1132 * Options > Relational display
1136 * 'D' for display column
1138 * @global string $cfg['RelationalDisplay']
1141 $cfg['RelationalDisplay'] = 'K';
1144 /*******************************************************************************
1149 * disallow editing of binary fields
1151 * false allow editing
1152 * 'blob' allow editing except for BLOB fields
1153 * 'noblob' disallow editing except for BLOB fields
1154 * 'all' disallow editing
1156 * @global string $cfg['ProtectBinary']
1158 $cfg['ProtectBinary'] = 'blob';
1161 * Display the function fields in edit/insert mode
1163 * @global boolean $cfg['ShowFunctionFields']
1165 $cfg['ShowFunctionFields'] = true;
1168 * Display the type fields in edit/insert mode
1170 * @global boolean $cfg['ShowFieldTypesInDataEditView']
1172 $cfg['ShowFieldTypesInDataEditView'] = true;
1175 * Which editor should be used for CHAR/VARCHAR fields:
1176 * input - allows limiting of input length
1177 * textarea - allows newlines in fields
1179 * @global string $cfg['CharEditing']
1181 $cfg['CharEditing'] = 'input';
1184 * The minimum size for character input fields
1186 * @global integer $cfg['MinSizeForInputField']
1188 $cfg['MinSizeForInputField'] = 4;
1191 * The maximum size for character input fields
1193 * @global integer $cfg['MinSizeForInputField']
1195 $cfg['MaxSizeForInputField'] = 60;
1198 * How many rows can be inserted at one time
1200 * @global integer $cfg['InsertRows']
1202 $cfg['InsertRows'] = 2;
1205 * Sort order for items in a foreign-key drop-down list.
1206 * 'content' is the referenced data, 'id' is the key value.
1208 * @global array $cfg['ForeignKeyDropdownOrder']
1210 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
1213 * A drop-down list will be used if fewer items are present
1215 * @global integer $cfg['ForeignKeyMaxLimit']
1217 $cfg['ForeignKeyMaxLimit'] = 100;
1220 /*******************************************************************************
1221 * For the export features...
1225 * Allow for the use of zip compression (requires zip support to be enabled)
1227 * @global boolean $cfg['ZipDump']
1229 $cfg['ZipDump'] = true;
1232 * Allow for the use of gzip compression (requires zlib)
1234 * @global boolean $cfg['GZipDump']
1236 $cfg['GZipDump'] = true;
1239 * Allow for the use of bzip2 decompression (requires bz2 extension)
1241 * @global boolean $cfg['BZipDump']
1243 $cfg['BZipDump'] = true;
1246 * Will compress gzip exports on the fly without the need for much memory.
1247 * If you encounter problems with created gzip files disable this feature.
1249 * @global boolean $cfg['CompressOnFly']
1251 $cfg['CompressOnFly'] = true;
1254 /*******************************************************************************
1255 * Tabs display settings
1259 * How to display the menu tabs ('icons'|'text'|'both')
1261 * @global boolean $cfg['TabsMode']
1263 $cfg['TabsMode'] = 'both';
1266 * How to display various action links ('icons'|'text'|'both')
1268 * @global boolean $cfg['ActionLinksMode']
1270 $cfg['ActionLinksMode'] = 'both';
1273 * How many columns should be used for table display of a database?
1274 * (a value larger than 1 results in some information being hidden)
1276 * @global integer $cfg['PropertiesNumColumns']
1278 $cfg['PropertiesNumColumns'] = 1;
1282 * 'index.php' = the welcome page
1283 * (recommended for multiuser setups)
1284 * 'server_databases.php' = list of databases
1285 * 'server_status.php' = runtime information
1286 * 'server_variables.php' = MySQL server variables
1287 * 'server_privileges.php' = user management
1289 * @global string $cfg['DefaultTabServer']
1291 $cfg['DefaultTabServer'] = 'index.php';
1295 * 'db_structure.php' = tables list
1296 * 'db_sql.php' = SQL form
1297 * 'db_search.php' = search query
1298 * 'db_operations.php' = operations on database
1300 * @global string $cfg['DefaultTabDatabase']
1302 $cfg['DefaultTabDatabase'] = 'db_structure.php';
1306 * 'tbl_structure.php' = fields list
1307 * 'tbl_sql.php' = SQL form
1308 * 'tbl_select.php' = search page
1309 * 'tbl_change.php' = insert row page
1310 * 'sql.php' = browse page
1312 * @global string $cfg['DefaultTabTable']
1314 $cfg['DefaultTabTable'] = 'sql.php';
1317 * Whether to display image or text or both image and text in table row
1318 * action segment. Value can be either of ``image``, ``text`` or ``both``.
1320 $cfg['RowActionType'] = 'both';
1322 /*******************************************************************************
1325 $cfg['Export'] = array();
1328 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
1330 * @global string $cfg['Export']['format']
1332 $cfg['Export']['format'] = 'sql';
1335 * quick/custom/custom-no-form
1337 * @global string $cfg['Export']['format']
1339 $cfg['Export']['method'] = 'quick';
1344 * @global string $cfg['Export']['compression']
1346 $cfg['Export']['compression'] = 'none';
1349 * Whether to LOCK TABLES before exporting
1351 * @global boolean $cfg['Export']['lock_tables']
1353 $cfg['Export']['lock_tables'] = false;
1358 * @global boolean $cfg['Export']['asfile']
1360 $cfg['Export']['asfile'] = true;
1365 * @global string $cfg['Export']['charset']
1367 $cfg['Export']['charset'] = '';
1372 * @global boolean $cfg['Export']['onserver']
1374 $cfg['Export']['onserver'] = false;
1379 * @global boolean $cfg['Export']['onserver_overwrite']
1381 $cfg['Export']['onserver_overwrite'] = false;
1386 * @global boolean $cfg['Export']['quick_export_onserver']
1388 $cfg['Export']['quick_export_onserver'] = false;
1393 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1395 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1400 * @global boolean $cfg['Export']['remember_file_template']
1402 $cfg['Export']['remember_file_template'] = true;
1407 * @global string $cfg['Export']['file_template_table']
1409 $cfg['Export']['file_template_table'] = '@TABLE@';
1414 * @global string $cfg['Export']['file_template_database']
1416 $cfg['Export']['file_template_database'] = '@DATABASE@';
1421 * @global string $cfg['Export']['file_template_server']
1423 $cfg['Export']['file_template_server'] = '@SERVER@';
1428 * @global string $cfg['Export']['codegen_structure_or_data']
1430 $cfg['Export']['codegen_structure_or_data'] = 'data';
1435 * @global $cfg['Export']['codegen_format']
1437 $cfg['Export']['codegen_format'] = 0;
1442 * @global boolean $cfg['Export']['ods_columns']
1444 $cfg['Export']['ods_columns'] = false;
1449 * @global string $cfg['Export']['ods_null']
1451 $cfg['Export']['ods_null'] = 'NULL';
1456 * @global string $cfg['Export']['odt_structure_or_data']
1458 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1463 * @global boolean $cfg['Export']['odt_columns']
1465 $cfg['Export']['odt_columns'] = true;
1470 * @global boolean $cfg['Export']['odt_relation']
1472 $cfg['Export']['odt_relation'] = true;
1477 * @global boolean $cfg['Export']['odt_comments']
1479 $cfg['Export']['odt_comments'] = true;
1484 * @global boolean $cfg['Export']['odt_mime']
1486 $cfg['Export']['odt_mime'] = true;
1491 * @global string $cfg['Export']['odt_null']
1493 $cfg['Export']['odt_null'] = 'NULL';
1498 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1500 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1505 * @global boolean $cfg['Export']['htmlword_columns']
1507 $cfg['Export']['htmlword_columns'] = false;
1512 * @global string $cfg['Export']['htmlword_null']
1514 $cfg['Export']['htmlword_null'] = 'NULL';
1519 * @global string $cfg['Export']['texytext_structure_or_data']
1521 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1526 * @global boolean $cfg['Export']['texytext_columns']
1528 $cfg['Export']['texytext_columns'] = false;
1533 * @global string $cfg['Export']['texytext_null']
1535 $cfg['Export']['texytext_null'] = 'NULL';
1540 * @global boolean $cfg['Export']['xls_columns']
1542 $cfg['Export']['xls_columns'] = false;
1547 * @global string $cfg['Export']['xls_structure_or_data']
1549 $cfg['Export']['xls_structure_or_data'] = 'data';
1554 * @global string $cfg['Export']['xls_null']
1556 $cfg['Export']['xls_null'] = 'NULL';
1561 * @global boolean $cfg['Export']['xlsx_columns']
1563 $cfg['Export']['xlsx_columns'] = false;
1568 * @global string $cfg['Export']['xlsx_structure_or_data']
1570 $cfg['Export']['xlsx_structure_or_data'] = 'data';
1575 * @global string $cfg['Export']['xlsx_null']
1577 $cfg['Export']['xlsx_null'] = 'NULL';
1582 * @global boolean $cfg['Export']['csv_columns']
1584 $cfg['Export']['csv_columns'] = false;
1589 * @global string $cfg['Export']['csv_structure_or_data']
1591 $cfg['Export']['csv_structure_or_data'] = 'data';
1596 * @global string $cfg['Export']['csv_null']
1598 $cfg['Export']['csv_null'] = 'NULL';
1603 * @global string $cfg['Export']['csv_separator']
1605 $cfg['Export']['csv_separator'] = ',';
1610 * @global string $cfg['Export']['csv_enclosed']
1612 $cfg['Export']['csv_enclosed'] = '"';
1617 * @global string $cfg['Export']['csv_escaped']
1619 $cfg['Export']['csv_escaped'] = '"';
1624 * @global string $cfg['Export']['csv_terminated']
1626 $cfg['Export']['csv_terminated'] = 'AUTO';
1631 * @global string $cfg['Export']['csv_removeCRLF']
1633 $cfg['Export']['csv_removeCRLF'] = false;
1638 * @global boolean $cfg['Export']['excel_columns']
1640 $cfg['Export']['excel_columns'] = false;
1645 * @global string $cfg['Export']['excel_null']
1647 $cfg['Export']['excel_null'] = 'NULL';
1652 * @global string $cfg['Export']['excel_edition']
1654 $cfg['Export']['excel_edition'] = 'win';
1659 * @global string $cfg['Export']['excel_removeCRLF']
1661 $cfg['Export']['excel_removeCRLF'] = false;
1666 * @global string $cfg['Export']['excel_structure_or_data']
1668 $cfg['Export']['excel_structure_or_data'] = 'data';
1673 * @global string $cfg['Export']['latex_structure_or_data']
1675 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1680 * @global boolean $cfg['Export']['latex_columns']
1682 $cfg['Export']['latex_columns'] = true;
1687 * @global boolean $cfg['Export']['latex_relation']
1689 $cfg['Export']['latex_relation'] = true;
1694 * @global boolean $cfg['Export']['latex_comments']
1696 $cfg['Export']['latex_comments'] = true;
1701 * @global boolean $cfg['Export']['latex_mime']
1703 $cfg['Export']['latex_mime'] = true;
1708 * @global string $cfg['Export']['latex_null']
1710 $cfg['Export']['latex_null'] = '\textit{NULL}';
1715 * @global boolean $cfg['Export']['latex_caption']
1717 $cfg['Export']['latex_caption'] = true;
1722 * @global string $cfg['Export']['latex_structure_caption']
1724 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1729 * @global string $cfg['Export']['latex_structure_continued_caption']
1731 $cfg['Export']['latex_structure_continued_caption']
1732 = 'strLatexStructure strLatexContinued';
1737 * @global string $cfg['Export']['latex_data_caption']
1739 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1744 * @global string $cfg['Export']['latex_data_continued_caption']
1746 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1751 * @global string $cfg['Export']['latex_data_label']
1753 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1758 * @global string $cfg['Export']['latex_structure_label']
1760 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1765 * @global string $cfg['Export']['mediawiki_structure_or_data']
1767 $cfg['Export']['mediawiki_structure_or_data'] = 'data';
1772 * @global boolean $cfg['Export']['mediawiki_caption']
1774 $cfg['Export']['mediawiki_caption'] = true;
1779 * @global boolean $cfg['Export']['mediawiki_headers']
1781 $cfg['Export']['mediawiki_headers'] = true;
1786 * @global string $cfg['Export']['ods_structure_or_data']
1788 $cfg['Export']['ods_structure_or_data'] = 'data';
1793 * @global string $cfg['Export']['pdf_structure_or_data']
1795 $cfg['Export']['pdf_structure_or_data'] = 'data';
1800 * @global string $cfg['Export']['phparray_structure_or_data']
1802 $cfg['Export']['phparray_structure_or_data'] = 'data';
1807 * @global string $cfg['Export']['json_structure_or_data']
1809 $cfg['Export']['json_structure_or_data'] = 'data';
1814 * @global string $cfg['Export']['json_pretty_print']
1816 $cfg['Export']['json_pretty_print'] = false;
1821 * @global string $cfg['Export']['sql_structure_or_data']
1823 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1828 * @global string $cfg['Export']['sql_compatibility']
1830 $cfg['Export']['sql_compatibility'] = 'NONE';
1833 * Whether to include comments in SQL export.
1835 * @global string $cfg['Export']['sql_include_comments']
1837 $cfg['Export']['sql_include_comments'] = true;
1842 * @global boolean $cfg['Export']['sql_disable_fk']
1844 $cfg['Export']['sql_disable_fk'] = false;
1849 * @global boolean $cfg['Export']['sql_views_as_tables']
1851 $cfg['Export']['sql_views_as_tables'] = false;
1856 * @global boolean $cfg['Export']['sql_metadata']
1858 $cfg['Export']['sql_metadata'] = false;
1863 * @global boolean $cfg['Export']['sql_use_transaction']
1865 $cfg['Export']['sql_use_transaction'] = false;
1870 * @global boolean $cfg['Export']['sql_create_database']
1872 $cfg['Export']['sql_create_database'] = false;
1877 * @global boolean $cfg['Export']['sql_drop_database']
1879 $cfg['Export']['sql_drop_database'] = false;
1884 * @global boolean $cfg['Export']['sql_drop_table']
1886 $cfg['Export']['sql_drop_table'] = false;
1891 * true by default for correct behavior when dealing with exporting
1892 * of VIEWs and the stand-in table
1893 * @global boolean $cfg['Export']['sql_if_not_exists']
1895 $cfg['Export']['sql_if_not_exists'] = true;
1900 * @global boolean $cfg['Export']['sql_procedure_function']
1902 $cfg['Export']['sql_procedure_function'] = true;
1907 * @global boolean $cfg['Export']['sql_create_table']
1909 $cfg['Export']['sql_create_table'] = true;
1914 * @global boolean $cfg['Export']['sql_create_view']
1916 $cfg['Export']['sql_create_view'] = true;
1921 * @global boolean $cfg['Export']['sql_create_trigger']
1923 $cfg['Export']['sql_create_trigger'] = true;
1928 * @global boolean $cfg['Export']['sql_auto_increment']
1930 $cfg['Export']['sql_auto_increment'] = true;
1935 * @global boolean $cfg['Export']['sql_backquotes']
1937 $cfg['Export']['sql_backquotes'] = true;
1942 * @global boolean $cfg['Export']['sql_dates']
1944 $cfg['Export']['sql_dates'] = false;
1949 * @global boolean $cfg['Export']['sql_relation']
1951 $cfg['Export']['sql_relation'] = false;
1956 * @global boolean $cfg['Export']['sql_truncate']
1958 $cfg['Export']['sql_truncate'] = false;
1963 * @global boolean $cfg['Export']['sql_delayed']
1965 $cfg['Export']['sql_delayed'] = false;
1970 * @global boolean $cfg['Export']['sql_ignore']
1972 $cfg['Export']['sql_ignore'] = false;
1975 * Export time in UTC.
1977 * @global boolean $cfg['Export']['sql_utc_time']
1979 $cfg['Export']['sql_utc_time'] = true;
1984 * @global boolean $cfg['Export']['sql_hex_for_binary']
1986 $cfg['Export']['sql_hex_for_binary'] = true;
1989 * insert/update/replace
1991 * @global string $cfg['Export']['sql_type']
1993 $cfg['Export']['sql_type'] = 'INSERT';
1998 * @global integer $cfg['Export']['sql_max_query_size']
2000 $cfg['Export']['sql_max_query_size'] = 50000;
2005 * @global boolean $cfg['Export']['sql_mime']
2007 $cfg['Export']['sql_mime'] = false;
2010 * \n is replaced by new line
2012 * @global string $cfg['Export']['sql_header_comment']
2014 $cfg['Export']['sql_header_comment'] = '';
2019 * @global boolean $cfg['Export']['sql_create_table_statements']
2021 $cfg['Export']['sql_create_table_statements'] = true;
2024 * Whether to use complete inserts, extended inserts, both, or neither
2026 * @global string $cfg['Export']['sql_insert_syntax']
2028 $cfg['Export']['sql_insert_syntax'] = 'both';
2033 * @global string $cfg['Export']['pdf_report_title']
2035 $cfg['Export']['pdf_report_title'] = '';
2040 *@global string $cfg['Export']['xml_structure_or_data']
2042 $cfg['Export']['xml_structure_or_data'] = 'data';
2045 * Export schema for each structure
2047 * @global string $cfg['Export']['xml_export_struc']
2049 $cfg['Export']['xml_export_struc'] = true;
2054 * @global string $cfg['Export']['xml_export_events']
2056 $cfg['Export']['xml_export_events'] = true;
2061 * @global string $cfg['Export']['xml_export_functions']
2063 $cfg['Export']['xml_export_functions'] = true;
2068 * @global string $cfg['Export']['xml_export_procedures']
2070 $cfg['Export']['xml_export_procedures'] = true;
2073 * Export schema for each table
2075 * @global string $cfg['Export']['xml_export_tables']
2077 $cfg['Export']['xml_export_tables'] = true;
2082 * @global string $cfg['Export']['xml_export_triggers']
2084 $cfg['Export']['xml_export_triggers'] = true;
2089 * @global string $cfg['Export']['xml_export_views']
2091 $cfg['Export']['xml_export_views'] = true;
2094 * Export contents data
2096 * @global string $cfg['Export']['xml_export_contents']
2098 $cfg['Export']['xml_export_contents'] = true;
2103 * @global string $cfg['Export']['yaml_structure_or_data']
2105 $cfg['Export']['yaml_structure_or_data'] = 'data';
2107 /*******************************************************************************
2110 $cfg['Import'] = array();
2115 * @global string $cfg['Import']['format']
2117 $cfg['Import']['format'] = 'sql';
2120 * Default charset for import.
2122 * @global string $cfg['Import']['charset']
2124 $cfg['Import']['charset'] = '';
2129 * @global boolean $cfg['Import']['allow_interrupt']
2131 $cfg['Import']['allow_interrupt'] = true;
2136 * @global integer $cfg['Import']['skip_queries']
2138 $cfg['Import']['skip_queries'] = 0;
2141 * Whether to disable foreign key checks while importing
2143 * @global boolean $cfg['Import']['disable_foreign_keys']
2145 $cfg['Import']['disable_foreign_keys'] = false;
2150 * @global string $cfg['Import']['sql_compatibility']
2152 $cfg['Import']['sql_compatibility'] = 'NONE';
2157 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
2159 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
2164 * @global string $cfg['Import']['sql_read_as_multibytes']
2166 $cfg['Import']['sql_read_as_multibytes'] = false;
2171 * @global boolean $cfg['Import']['csv_replace']
2173 $cfg['Import']['csv_replace'] = false;
2178 * @global boolean $cfg['Import']['csv_ignore']
2180 $cfg['Import']['csv_ignore'] = false;
2185 * @global string $cfg['Import']['csv_terminated']
2187 $cfg['Import']['csv_terminated'] = ',';
2192 * @global string $cfg['Import']['csv_enclosed']
2194 $cfg['Import']['csv_enclosed'] = '"';
2199 * @global string $cfg['Import']['csv_escaped']
2201 $cfg['Import']['csv_escaped'] = '"';
2206 * @global string $cfg['Import']['csv_new_line']
2208 $cfg['Import']['csv_new_line'] = 'auto';
2213 * @global string $cfg['Import']['csv_columns']
2215 $cfg['Import']['csv_columns'] = '';
2220 * @global string $cfg['Import']['csv_col_names']
2222 $cfg['Import']['csv_col_names'] = false;
2227 * @global boolean $cfg['Import']['ldi_replace']
2229 $cfg['Import']['ldi_replace'] = false;
2234 * @global boolean $cfg['Import']['ldi_ignore']
2236 $cfg['Import']['ldi_ignore'] = false;
2241 * @global string $cfg['Import']['ldi_terminated']
2243 $cfg['Import']['ldi_terminated'] = ';';
2248 * @global string $cfg['Import']['ldi_enclosed']
2250 $cfg['Import']['ldi_enclosed'] = '"';
2255 * @global string $cfg['Import']['ldi_escaped']
2257 $cfg['Import']['ldi_escaped'] = '\\';
2262 * @global string $cfg['Import']['ldi_new_line']
2264 $cfg['Import']['ldi_new_line'] = 'auto';
2269 * @global string $cfg['Import']['ldi_columns']
2271 $cfg['Import']['ldi_columns'] = '';
2274 * 'auto' for auto-detection, true or false for forcing
2276 * @global string $cfg['Import']['ldi_local_option']
2278 $cfg['Import']['ldi_local_option'] = 'auto';
2283 * @global string $cfg['Import']['ods_col_names']
2285 $cfg['Import']['ods_col_names'] = false;
2290 * @global string $cfg['Import']['ods_empty_rows']
2292 $cfg['Import']['ods_empty_rows'] = true;
2297 * @global string $cfg['Import']['ods_recognize_percentages']
2299 $cfg['Import']['ods_recognize_percentages'] = true;
2304 * @global string $cfg['Import']['ods_recognize_currency']
2306 $cfg['Import']['ods_recognize_currency'] = true;
2311 * @global string $cfg['Import']['xml_col_names']
2313 $cfg['Import']['xls_col_names'] = false;
2318 * @global string $cfg['Import']['xml_empty_rows']
2320 $cfg['Import']['xls_empty_rows'] = true;
2325 * @global string $cfg['Import']['xlsx_col_names']
2327 $cfg['Import']['xlsx_col_names'] = false;
2329 /*******************************************************************************
2330 * Schema export defaults
2332 $cfg['Schema'] = array();
2337 * @global string $cfg['Schema']['format']
2339 $cfg['Schema']['format'] = 'pdf';
2344 * @global string $cfg['Schema']['pdf_show_color']
2346 $cfg['Schema']['pdf_show_color'] = true;
2351 * @global string $cfg['Schema']['pdf_show_keys']
2353 $cfg['Schema']['pdf_show_keys'] = false;
2358 * @global string $cfg['Schema']['pdf_all_tables_same_width']
2360 $cfg['Schema']['pdf_all_tables_same_width'] = false;
2365 * @global string $cfg['Schema']['pdf_orientation']
2367 $cfg['Schema']['pdf_orientation'] = 'L';
2372 * @global string $cfg['Schema']['pdf_paper']
2374 $cfg['Schema']['pdf_paper'] = 'A4';
2379 * @global string $cfg['Schema']['pdf_show_grid']
2381 $cfg['Schema']['pdf_show_grid'] = false;
2386 * @global string $cfg['Schema']['pdf_with_doc']
2388 $cfg['Schema']['pdf_with_doc'] = true;
2393 * @global string $cfg['Schema']['pdf_table_order']
2395 $cfg['Schema']['pdf_table_order'] = '';
2400 * @global string $cfg['Schema']['dia_show_color']
2402 $cfg['Schema']['dia_show_color'] = true;
2407 * @global string $cfg['Schema']['dia_show_keys']
2409 $cfg['Schema']['dia_show_keys'] = false;
2414 * @global string $cfg['Schema']['dia_orientation']
2416 $cfg['Schema']['dia_orientation'] = 'L';
2421 * @global string $cfg['Schema']['dia_paper']
2423 $cfg['Schema']['dia_paper'] = 'A4';
2428 * @global string $cfg['Schema']['eps_show_color']
2430 $cfg['Schema']['eps_show_color'] = true;
2435 * @global string $cfg['Schema']['eps_show_keys']
2437 $cfg['Schema']['eps_show_keys'] = false;
2442 * @global string $cfg['Schema']['eps_all_tables_same_width']
2444 $cfg['Schema']['eps_all_tables_same_width'] = false;
2449 * @global string $cfg['Schema']['eps_orientation']
2451 $cfg['Schema']['eps_orientation'] = 'L';
2456 * @global string $cfg['Schema']['svg_show_color']
2458 $cfg['Schema']['svg_show_color'] = true;
2463 * @global string $cfg['Schema']['svg_show_keys']
2465 $cfg['Schema']['svg_show_keys'] = false;
2470 * @global string $cfg['Schema']['svg_all_tables_same_width']
2472 $cfg['Schema']['svg_all_tables_same_width'] = false;
2474 /*******************************************************************************
2481 * @global array $cfg['PDFPageSizes']
2483 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
2488 * @global string $cfg['PDFDefaultPageSize']
2490 $cfg['PDFDefaultPageSize'] = 'A4';
2493 /*******************************************************************************
2494 * Language and character set conversion settings
2498 * Default language to use, if not browser-defined or user-defined
2500 * @global string $cfg['DefaultLang']
2502 $cfg['DefaultLang'] = 'en';
2505 * Default connection collation
2507 * @global string $cfg['DefaultConnectionCollation']
2509 $cfg['DefaultConnectionCollation'] = 'utf8_unicode_ci';
2512 * Force: always use this language, e.g. 'en'
2514 * @global string $cfg['Lang']
2519 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2522 * @global string $cfg['FilterLanguages']
2524 $cfg['FilterLanguages'] = '';
2527 * You can select here which functions will be used for character set conversion.
2528 * Possible values are:
2529 * auto - automatically use available one (first is tested iconv, then
2531 * iconv - use iconv or libiconv functions
2532 * recode - use recode_string function
2533 * mb - use mbstring extension
2534 * none - disable encoding conversion
2536 * @global string $cfg['RecodingEngine']
2538 $cfg['RecodingEngine'] = 'auto';
2541 * Specify some parameters for iconv used in character set conversion. See iconv
2542 * documentation for details:
2543 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
2545 * @global string $cfg['IconvExtraParams']
2547 $cfg['IconvExtraParams'] = '//TRANSLIT';
2550 * Available character sets for MySQL conversion. currently contains all which could
2551 * be found in lang/* files and few more.
2552 * Character sets will be shown in same order as here listed, so if you frequently
2553 * use some of these move them to the top.
2555 * @global array $cfg['AvailableCharsets']
2557 $cfg['AvailableCharsets'] = array(
2592 /*******************************************************************************
2593 * Customization & design
2595 * The graphical settings are now located in themes/theme-name/layout.inc.php
2599 * enable the left panel pointer
2600 * see also LeftPointerColor
2603 * @global boolean $cfg['NavigationTreePointerEnable']
2605 $cfg['NavigationTreePointerEnable'] = true;
2608 * enable the browse pointer
2609 * see also BrowsePointerColor
2612 * @global boolean $cfg['BrowsePointerEnable']
2614 $cfg['BrowsePointerEnable'] = true;
2617 * enable the browse marker
2618 * see also BrowseMarkerColor
2621 * @global boolean $cfg['BrowseMarkerEnable']
2623 $cfg['BrowseMarkerEnable'] = true;
2626 * textarea size (columns) in edit mode
2627 * (this value will be emphasized (*2) for SQL
2628 * query textareas and (*1.25) for query window)
2630 * @global integer $cfg['TextareaCols']
2632 $cfg['TextareaCols'] = 40;
2635 * textarea size (rows) in edit mode
2637 * @global integer $cfg['TextareaRows']
2639 $cfg['TextareaRows'] = 15;
2642 * double size of textarea size for LONGTEXT columns
2644 * @global boolean $cfg['LongtextDoubleTextarea']
2646 $cfg['LongtextDoubleTextarea'] = true;
2649 * auto-select when clicking in the textarea of the query-box
2651 * @global boolean $cfg['TextareaAutoSelect']
2653 $cfg['TextareaAutoSelect'] = false;
2656 * textarea size (columns) for CHAR/VARCHAR
2658 * @global integer $cfg['CharTextareaCols']
2660 $cfg['CharTextareaCols'] = 40;
2663 * textarea size (rows) for CHAR/VARCHAR
2665 * @global integer $cfg['CharTextareaRows']
2667 $cfg['CharTextareaRows'] = 2;
2670 * Max field data length in browse mode for all non-numeric fields
2672 * @global integer $cfg['LimitChars']
2674 $cfg['LimitChars'] = 50;
2677 * Where to show the edit/copy/delete links in browse mode
2678 * Possible values are 'left', 'right', 'both' and 'none'.
2680 * @global string $cfg['RowActionLinks']
2682 $cfg['RowActionLinks'] = 'left';
2685 * Default sort order by primary key.
2686 * @global string $cfg['TablePrimaryKeyOrder']
2688 $cfg['TablePrimaryKeyOrder'] = 'NONE';
2691 * remember the last way a table sorted
2693 * @global string $cfg['RememberSorting']
2695 $cfg['RememberSorting'] = true;
2698 * shows stored relation-comments in 'browse' mode.
2700 * @global boolean $cfg['ShowBrowseComments']
2702 $cfg['ShowBrowseComments'] = true;
2705 * shows stored relation-comments in 'table property' mode.
2707 * @global boolean $cfg['ShowPropertyComments']
2709 $cfg['ShowPropertyComments']= true;
2712 * repeat header names every X cells? (0 = deactivate)
2714 * @global integer $cfg['RepeatCells']
2716 $cfg['RepeatCells'] = 100;
2719 * Set to true if you want DB-based query history.If false, this utilizes
2720 * JS-routines to display query history (lost by window close)
2722 * @global boolean $cfg['QueryHistoryDB']
2724 $cfg['QueryHistoryDB'] = false;
2727 * When using DB-based query history, how many entries should be kept?
2729 * @global integer $cfg['QueryHistoryMax']
2731 $cfg['QueryHistoryMax'] = 25;
2734 * Use MIME-Types (stored in column comments table) for
2736 * @global boolean $cfg['BrowseMIME']
2738 $cfg['BrowseMIME'] = true;
2741 * When approximate count < this, PMA will get exact count for table rows.
2743 * @global integer $cfg['MaxExactCount']
2745 $cfg['MaxExactCount'] = 500000;
2748 * Zero means that no row count is done for views; see the doc
2750 * @global integer $cfg['MaxExactCountViews']
2752 $cfg['MaxExactCountViews'] = 0;
2755 * Sort table and database in natural order
2757 * @global boolean $cfg['NaturalOrder']
2759 $cfg['NaturalOrder'] = true;
2762 * Initial state for sliders
2763 * (open | closed | disabled)
2765 * @global string $cfg['InitialSlidersState']
2767 $cfg['InitialSlidersState'] = 'closed';
2770 * User preferences: disallow these settings
2771 * For possible setting names look in libraries/config/user_preferences.forms.php
2773 * @global array $cfg['UserprefsDisallow']
2775 $cfg['UserprefsDisallow'] = array();
2778 * User preferences: enable the Developer tab
2780 $cfg['UserprefsDeveloperTab'] = false;
2782 /*******************************************************************************
2783 * Window title settings
2787 * title of browser window when a table is selected
2789 * @global string $cfg['TitleTable']
2791 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2794 * title of browser window when a database is selected
2796 * @global string $cfg['TitleDatabase']
2798 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2801 * title of browser window when a server is selected
2803 * @global string $cfg['TitleServer']
2805 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2808 * title of browser window when nothing is selected
2809 * @global string $cfg['TitleDefault']
2811 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2814 /*******************************************************************************
2819 * using themes manager please set up here the path to 'themes' else leave empty
2821 * @global string $cfg['ThemePath']
2823 $cfg['ThemePath'] = './themes';
2826 * if you want to use selectable themes and if ThemesPath not empty
2827 * set it to true, else set it to false (default is false);
2829 * @global boolean $cfg['ThemeManager']
2831 $cfg['ThemeManager'] = true;
2834 * set up default theme, if ThemePath not empty you can set up here an valid
2835 * path to themes or 'original' for the original pma-theme
2837 * @global string $cfg['ThemeDefault']
2839 $cfg['ThemeDefault'] = 'pmahomme';
2842 * allow different theme for each configured server
2844 * @global boolean $cfg['ThemePerServer']
2846 $cfg['ThemePerServer'] = false;
2849 /*******************************************************************************
2854 * Default query for table
2856 * @global string $cfg['DefaultQueryTable']
2858 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2861 * Default query for database
2863 * @global string $cfg['DefaultQueryDatabase']
2865 $cfg['DefaultQueryDatabase'] = '';
2868 /*******************************************************************************
2869 * SQL Query box settings
2870 * These are the links display in all of the SQL Query boxes
2872 * @global array $cfg['SQLQuery']
2874 $cfg['SQLQuery'] = array();
2877 * Edit link to change a query
2879 * @global boolean $cfg['SQLQuery']['Edit']
2881 $cfg['SQLQuery']['Edit'] = true;
2884 * EXPLAIN on SELECT queries
2886 * @global boolean $cfg['SQLQuery']['Explain']
2888 $cfg['SQLQuery']['Explain'] = true;
2891 * Wrap a query in PHP
2893 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2895 $cfg['SQLQuery']['ShowAsPHP'] = true;
2898 * Refresh the results page
2900 * @global boolean $cfg['SQLQuery']['Refresh']
2902 $cfg['SQLQuery']['Refresh'] = true;
2905 * Enables autoComplete for table & column names in SQL queries
2909 $cfg['EnableAutocompleteForTablesAndColumns'] = true;
2912 /*******************************************************************************
2913 * Web server upload/save/import directories
2917 * Directory for uploaded files that can be executed by phpMyAdmin.
2918 * For example './upload'. Leave empty for no upload directory support.
2919 * Use %u for username inclusion.
2921 * @global string $cfg['UploadDir']
2923 $cfg['UploadDir'] = '';
2926 * Directory where phpMyAdmin can save exported data on server.
2927 * For example './save'. Leave empty for no save directory support.
2928 * Use %u for username inclusion.
2930 * @global string $cfg['SaveDir']
2932 $cfg['SaveDir'] = '';
2935 * Directory where phpMyAdmin can save temporary files.
2937 * @global string $cfg['TempDir']
2939 $cfg['TempDir'] = '';
2947 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2948 * which is the only safe way to determine GD version.
2950 * @global string $cfg['GD2Available']
2952 $cfg['GD2Available'] = 'auto';
2955 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2957 * @global array $cfg['TrustedProxies']
2959 $cfg['TrustedProxies'] = array();
2962 * We normally check the permissions on the configuration file to ensure
2963 * it's not world writable. However, phpMyAdmin could be installed on
2964 * a NTFS filesystem mounted on a non-Windows server, in which case the
2965 * permissions seems wrong but in fact cannot be detected. In this case
2966 * a sysadmin would set the following to false.
2968 $cfg['CheckConfigurationPermissions'] = true;
2971 * Limit for length of URL in links. When length would be above this limit, it
2972 * is replaced by form with button.
2973 * This is required as some web servers (IIS) have problems with long URLs.
2974 * The recommended limit is 2000
2975 * (see http://www.boutell.com/newfaq/misc/urllength.html) but we put
2976 * 1000 to accommodate Suhosin, see bug #3358750.
2978 $cfg['LinkLengthLimit'] = 1000;
2981 * Additional string to allow in CSP headers.
2983 $cfg['CSPAllow'] = '';
2986 * Disable the table maintenance mass operations, like optimizing or
2987 * repairing the selected tables of a database. An accidental execution
2988 * of such a maintenance task can enormously slow down a bigger database.
2990 $cfg['DisableMultiTableMaintenance'] = false;
2993 * Whether or not to query the user before sending the error report to
2994 * the phpMyAdmin team when a JavaScript error occurs
2997 * (ask | always | never)
2999 * @global string $cfg['SendErrorReports']
3001 $cfg['SendErrorReports'] = 'ask';
3004 * Whether Enter or Ctrl+Enter executes queries in the console.
3006 * @global boolean $cfg['ConsoleEnterExecutes']
3008 $cfg['ConsoleEnterExecutes'] = false;
3011 * Zero Configuration mode.
3013 * @global boolean $cfg['ZeroConf']
3015 $cfg['ZeroConf'] = true;
3017 /*******************************************************************************
3020 * @global array $cfg['DBG']
3022 $cfg['DBG'] = array();
3025 * Output executed queries and their execution times
3027 * @global boolean $cfg['DBG']['sql']
3029 $cfg['DBG']['sql'] = false;
3032 * Enable to let server present itself as demo server.
3034 * @global boolean $cfg['DBG']['demo']
3036 $cfg['DBG']['demo'] = false;
3039 /*******************************************************************************
3044 * Default functions for above defined groups
3046 * @global array $cfg['DefaultFunctions']
3048 $cfg['DefaultFunctions'] = array(
3051 'FUNC_NUMBER' => '',
3052 'FUNC_SPATIAL' => 'GeomFromText',
3053 'FUNC_UUID' => 'UUID',
3054 'first_timestamp' => 'NOW',
3058 * Max rows retreived for zoom search
3060 $cfg['maxRowPlotLimit'] = 500;
3063 * Show Git revision if applicable
3065 * @global boolean $cfg['ShowGitRevision']
3067 $cfg['ShowGitRevision'] = true;