Translated using Weblate (Albanian)
[phpmyadmin.git] / libraries / config.default.php
blobb0d3701ffa8eeb16104c5bf40248d33f6d27b01e
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 the documentation
19 * @package PhpMyAdmin
22 /**
23 * Your phpMyAdmin URL.
25 * Complete the variable below with the full URL ie
26 * https://example.com/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 session.gc_maxlifetime
58 * is less than `LoginCookieValidity`
60 * @global boolean $cfg['LoginCookieValidityDisableWarning']
62 $cfg['LoginCookieValidityDisableWarning'] = false;
64 /**
65 * Disable the default warning about MySQL reserved words in column names
67 * @global boolean $cfg['ReservedWordDisableWarning']
69 $cfg['ReservedWordDisableWarning'] = false;
71 /**
72 * Show warning about incomplete translations on certain threshold.
74 * @global boolean $cfg['TranslationWarningThreshold']
76 $cfg['TranslationWarningThreshold'] = 80;
78 /**
79 * Allows phpMyAdmin to be included from a other document in a frame;
80 * setting this to true is a potential security hole
82 * @global boolean $cfg['AllowThirdPartyFraming']
84 $cfg['AllowThirdPartyFraming'] = false;
86 /**
87 * The 'cookie' auth_type uses AES algorithm to encrypt the password. If
88 * at least one server configuration uses 'cookie' auth_type, enter here a
89 * pass phrase that will be used by AES. The maximum length seems to be 46
90 * characters.
92 * @global string $cfg['blowfish_secret']
94 $cfg['blowfish_secret'] = '';
97 /*******************************************************************************
98 * Server(s) configuration
100 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
101 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
102 * to ''. If you want more than one server, just copy following section
103 * (including $i incrementation) several times. There is no need to define
104 * full server array, just define values you need to change.
106 * @global array $cfg['Servers']
108 $cfg['Servers'] = array();
110 $i = 1;
113 * MySQL hostname or IP address
115 * @global string $cfg['Servers'][$i]['host']
117 $cfg['Servers'][$i]['host'] = 'localhost';
120 * MySQL port - leave blank for default port
122 * @global string $cfg['Servers'][$i]['port']
124 $cfg['Servers'][$i]['port'] = '';
127 * Path to the socket - leave blank for default socket
129 * @global string $cfg['Servers'][$i]['socket']
131 $cfg['Servers'][$i]['socket'] = '';
134 * Use SSL for connecting to MySQL server?
136 * @global boolean $cfg['Servers'][$i]['ssl']
138 $cfg['Servers'][$i]['ssl'] = false;
141 * Path to the key file when using SSL for connecting to the MySQL server
143 * @global string $cfg['Servers'][$i]['ssl_key']
145 $cfg['Servers'][$i]['ssl_key'] = null;
148 * Path to the cert file when using SSL for connecting to the MySQL server
150 * @global string $cfg['Servers'][$i]['ssl_cert']
152 $cfg['Servers'][$i]['ssl_cert'] = null;
155 * Path to the CA file when using SSL for connecting to the MySQL server
157 * @global string $cfg['Servers'][$i]['ssl_ca']
159 $cfg['Servers'][$i]['ssl_ca'] = null;
162 * Directory containing trusted SSL CA certificates in PEM format
164 * @global string $cfg['Servers'][$i]['ssl_ca_path']
166 $cfg['Servers'][$i]['ssl_ca_path'] = null;
169 * List of allowable ciphers for SSL connections to the MySQL server
171 * @global string $cfg['Servers'][$i]['ssl_ciphers']
173 $cfg['Servers'][$i]['ssl_ciphers'] = null;
176 * MySQL 5.6 or later triggers the mysqlnd driver in PHP to validate the
177 * peer_name of the SSL certifcate
178 * For most self-signed certificates this is a problem. Setting this to false
179 * will disable the check and allow the connection (PHP 5.6.16 or later)
181 * @link https://bugs.php.net/68344
182 * @global string $cfg['Servers'][$i]['ssl_verify']
184 $cfg['Servers'][$i]['ssl_verify'] = true;
187 * Use compressed protocol for the MySQL connection
189 * @global boolean $cfg['Servers'][$i]['compress']
191 $cfg['Servers'][$i]['compress'] = false;
194 * MySQL control host. This permits to use a host different than the
195 * main host, for the phpMyAdmin configuration storage. If left empty,
196 * $cfg['Servers'][$i]['host'] is used instead.
198 * @global string $cfg['Servers'][$i]['controlhost']
200 $cfg['Servers'][$i]['controlhost'] = '';
203 * MySQL control port. This permits to use a port different than the
204 * main port, for the phpMyAdmin configuration storage. If left empty,
205 * $cfg['Servers'][$i]['port'] is used instead.
207 * @global string $cfg['Servers'][$i]['controlport']
209 $cfg['Servers'][$i]['controlport'] = '';
212 * MySQL control user settings (this user must have read-only
213 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
214 * used for all relational features (pmadb)
216 * @global string $cfg['Servers'][$i]['controluser']
218 $cfg['Servers'][$i]['controluser'] = '';
221 * MySQL control user settings (this user must have read-only
222 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
223 * used for all relational features (pmadb)
225 * @global string $cfg['Servers'][$i]['controlpass']
227 $cfg['Servers'][$i]['controlpass'] = '';
230 * Authentication method (valid choices: config, http, signon or cookie)
232 * @global string $cfg['Servers'][$i]['auth_type']
234 $cfg['Servers'][$i]['auth_type'] = 'cookie';
237 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
239 * @global string $cfg['Servers'][$i]['auth_http_realm']
241 $cfg['Servers'][$i]['auth_http_realm'] = '';
244 * MySQL user
246 * @global string $cfg['Servers'][$i]['user']
248 $cfg['Servers'][$i]['user'] = 'root';
251 * MySQL password (only needed with 'config' auth_type)
253 * @global string $cfg['Servers'][$i]['password']
255 $cfg['Servers'][$i]['password'] = '';
258 * Session to use for 'signon' authentication method
260 * @global string $cfg['Servers'][$i]['SignonSession']
262 $cfg['Servers'][$i]['SignonSession'] = '';
265 * Cookie params to match session to use for 'signon' authentication method
266 * It should be an associative array matching result of session_get_cookie_params() in other system
268 * @global array $cfg['Servers'][$i]['SignonCookieParams']
270 $cfg['Servers'][$i]['SignonCookieParams'] = array();
273 * PHP script to use for 'signon' authentication method
275 * @global string $cfg['Servers'][$i]['SignonScript']
277 $cfg['Servers'][$i]['SignonScript'] = '';
280 * URL where to redirect user to login for 'signon' authentication method
282 * @global string $cfg['Servers'][$i]['SignonURL']
284 $cfg['Servers'][$i]['SignonURL'] = '';
287 * URL where to redirect user after logout
289 * @global string $cfg['Servers'][$i]['LogoutURL']
291 $cfg['Servers'][$i]['LogoutURL'] = '';
294 * If set to a db-name, only this db is displayed in navigation panel
295 * It may also be an array of db-names
297 * @global string $cfg['Servers'][$i]['only_db']
299 $cfg['Servers'][$i]['only_db'] = '';
302 * Database name to be hidden from listings
304 * @global string $cfg['Servers'][$i]['hide_db']
306 $cfg['Servers'][$i]['hide_db'] = '';
309 * Verbose name for this host - leave blank to show the hostname
310 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
312 * @global string $cfg['Servers'][$i]['verbose']
314 $cfg['Servers'][$i]['verbose'] = '';
317 * Database used for Relation, Bookmark and PDF Features
318 * (see sql/create_tables.sql)
319 * - leave blank for no support
320 * SUGGESTED: 'phpmyadmin'
322 * @global string $cfg['Servers'][$i]['pmadb']
324 $cfg['Servers'][$i]['pmadb'] = '';
327 * Bookmark table
328 * - leave blank for no bookmark support
329 * SUGGESTED: 'pma__bookmark'
331 * @global string $cfg['Servers'][$i]['bookmarktable']
333 $cfg['Servers'][$i]['bookmarktable'] = '';
336 * table to describe the relation between links (see doc)
337 * - leave blank for no relation-links support
338 * SUGGESTED: 'pma__relation'
340 * @global string $cfg['Servers'][$i]['relation']
342 $cfg['Servers'][$i]['relation'] = '';
345 * table to describe the display fields
346 * - leave blank for no display fields support
347 * SUGGESTED: 'pma__table_info'
349 * @global string $cfg['Servers'][$i]['table_info']
351 $cfg['Servers'][$i]['table_info'] = '';
354 * table to describe the tables position for the designer and PDF schema
355 * - leave blank for no PDF schema support
356 * SUGGESTED: 'pma__table_coords'
358 * @global string $cfg['Servers'][$i]['table_coords']
360 $cfg['Servers'][$i]['table_coords'] = '';
363 * table to describe pages of relationpdf
364 * - leave blank if you don't want to use this
365 * SUGGESTED: 'pma__pdf_pages'
367 * @global string $cfg['Servers'][$i]['pdf_pages']
369 $cfg['Servers'][$i]['pdf_pages'] = '';
372 * table to store column information
373 * - leave blank for no column comments/mime types
374 * SUGGESTED: 'pma__column_info'
376 * @global string $cfg['Servers'][$i]['column_info']
378 $cfg['Servers'][$i]['column_info'] = '';
381 * table to store SQL history
382 * - leave blank for no SQL query history
383 * SUGGESTED: 'pma__history'
385 * @global string $cfg['Servers'][$i]['history']
387 $cfg['Servers'][$i]['history'] = '';
390 * table to store recently used tables
391 * - leave blank for no "persistent" recently used tables
392 * SUGGESTED: 'pma__recent'
394 $cfg['Servers'][$i]['recent'] = '';
397 * table to store favorite tables
398 * - leave blank for no favorite tables
399 * SUGGESTED: 'pma__favorite'
401 $cfg['Servers'][$i]['favorite'] = '';
404 * table to store UI preferences for tables
405 * - leave blank for no "persistent" UI preferences
406 * SUGGESTED: 'pma__table_uiprefs'
408 $cfg['Servers'][$i]['table_uiprefs'] = '';
411 * table to store SQL tracking
412 * - leave blank for no SQL tracking
413 * SUGGESTED: 'pma__tracking'
415 * @global string $cfg['Servers'][$i]['tracking']
417 $cfg['Servers'][$i]['tracking'] = '';
420 * table to store user preferences
421 * - leave blank to disable server storage
422 * SUGGESTED: 'pma__userconfig'
424 * @global string $cfg['Servers'][$i]['userconfig']
426 $cfg['Servers'][$i]['userconfig'] = '';
429 * table to store users and their assignment to user groups
430 * - leave blank to disable configurable menus feature
431 * SUGGESTED: 'pma__users'
433 * @global string $cfg['Servers'][$i]['users']
435 $cfg['Servers'][$i]['users'] = '';
438 * table to store allowed menu items for each user group
439 * - leave blank to disable configurable menus feature
440 * SUGGESTED: 'pma__usergroups'
442 * @global string $cfg['Servers'][$i]['usergroups']
444 $cfg['Servers'][$i]['usergroups'] = '';
447 * table to store information about item hidden from navigation tree
448 * - leave blank to disable hide/show navigation items feature
449 * SUGGESTED: 'pma__navigationhiding'
451 * @global string $cfg['Servers'][$i]['navigationhiding']
453 $cfg['Servers'][$i]['navigationhiding'] = '';
456 * table to store information about saved searches from query-by-example on a db
457 * - leave blank to disable saved searches feature
458 * SUGGESTED: 'pma__savedsearches'
460 * @global string $cfg['Servers'][$i]['savedsearches']
462 $cfg['Servers'][$i]['savedsearches'] = '';
465 * table to store central list of columns per database
466 * - leave blank to disable central list of columns feature
467 * SUGGESTED: 'pma__central_columns'
469 * @global string $cfg['Servers'][$i]['central_columns']
471 $cfg['Servers'][$i]['central_columns'] = '';
474 * table to store designer settings
475 * - leave blank to disable the storage of designer settings
476 * SUGGESTED: 'pma__designer_settings'
478 * @global string $cfg['Servers'][$i]['designer_settings']
480 $cfg['Servers'][$i]['designer_settings'] = '';
483 * table to store export templates
484 * - leave blank to disable saved searches feature
485 * SUGGESTED: 'pma__export_templates'
487 * @global string $cfg['Servers'][$i]['export_templates']
489 $cfg['Servers'][$i]['export_templates'] = '';
492 * Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
494 * In case where tables in databases is modified (e.g. dropped or renamed),
495 * table_uiprefs may contains invalid data (referring to tables which are not
496 * exist anymore).
497 * This configuration make sure that we only keep N (N = MaxTableUiprefs)
498 * newest record in table_uiprefs and automatically delete older records.
500 * @global integer $cfg['Servers'][$i]['userconfig'] = '';
502 $cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
505 * Sets the time zone used by phpMyAdmin. Possible values are explained at
506 * https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html
508 * @global string $cfg['Servers'][$i]['SessionTimeZone'] = ''
510 $cfg['Servers'][$i]['SessionTimeZone'] = '';
513 * whether to allow root login
515 * @global boolean $cfg['Servers'][$i]['AllowRoot']
517 $cfg['Servers'][$i]['AllowRoot'] = true;
520 * whether to allow login of any user without a password
522 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
524 $cfg['Servers'][$i]['AllowNoPassword'] = false;
527 * Host authentication order, leave blank to not use
529 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
531 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
534 * Host authentication rules, leave blank for defaults
536 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
538 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
541 * Disable use of INFORMATION_SCHEMA.
543 * @see https://sourceforge.net/p/phpmyadmin/bugs/2606/
544 * @see https://bugs.mysql.com/19588
545 * @global boolean $cfg['Servers'][$i]['DisableIS']
547 $cfg['Servers'][$i]['DisableIS'] = false;
550 * Whether the tracking mechanism creates
551 * versions for tables and views automatically.
553 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
555 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
558 * Defines the list of statements
559 * the auto-creation uses for new versions.
561 * @global string $cfg['Servers'][$i]['tracking_default_statements']
563 $cfg['Servers'][$i]['tracking_default_statements']
564 = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,CREATE INDEX,' .
565 'DROP INDEX,INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,CREATE VIEW,' .
566 'ALTER VIEW,DROP VIEW,CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
569 * Whether a DROP VIEW IF EXISTS statement will be added
570 * as first line to the log when creating a view.
572 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
574 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
577 * Whether a DROP TABLE IF EXISTS statement will be added
578 * as first line to the log when creating a table.
580 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
582 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
585 * Whether a DROP DATABASE IF EXISTS statement will be added
586 * as first line to the log when creating a database.
588 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
590 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
593 * Default server (0 = no default server)
595 * If you have more than one server configured, you can set $cfg['ServerDefault']
596 * to any one of them to auto-connect to that server when phpMyAdmin is started,
597 * or set it to 0 to be given a list of servers without logging in
598 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
599 * set to that server.
601 * @global integer $cfg['ServerDefault']
603 $cfg['ServerDefault'] = 1;
606 * Other core phpMyAdmin settings
610 * whether version check is active
612 * @global boolean $cfg['VersionCheck']
614 if (defined('VERSION_CHECK_DEFAULT')) {
615 $cfg['VersionCheck'] = VERSION_CHECK_DEFAULT;
616 } else {
617 $cfg['VersionCheck'] = true;
621 * The url of the proxy to be used when retrieving the information about
622 * the latest version of phpMyAdmin or error reporting. You need this if
623 * the server where phpMyAdmin is installed does not have direct access to
624 * the internet.
625 * The format is: "hostname:portnumber"
627 * @global string $cfg['ProxyUrl']
629 $cfg['ProxyUrl'] = "";
632 * The username for authenticating with the proxy. By default, no
633 * authentication is performed. If a username is supplied, Basic
634 * Authentication will be performed. No other types of authentication
635 * are currently supported.
637 * @global string $cfg['ProxyUser']
639 $cfg['ProxyUser'] = "";
642 * The password for authenticating with the proxy.
644 * @global string $cfg['ProxyPass']
646 $cfg['ProxyPass'] = "";
649 * maximum number of db's displayed in database list
651 * @global integer $cfg['MaxDbList']
653 $cfg['MaxDbList'] = 100;
656 * maximum number of tables displayed in table list
658 * @global integer $cfg['MaxTableList']
660 $cfg['MaxTableList'] = 250;
663 * whether to show hint or not
665 * @global boolean $cfg['ShowHint']
667 $cfg['ShowHint'] = true;
670 * maximum number of characters when a SQL query is displayed
672 * @global integer $cfg['MaxCharactersInDisplayedSQL']
674 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
677 * use GZIP output buffering if possible (true|false|'auto')
679 * @global string $cfg['OBGzip']
681 $cfg['OBGzip'] = 'auto';
684 * use persistent connections to MySQL database
686 * @global boolean $cfg['PersistentConnections']
688 $cfg['PersistentConnections'] = 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, '0' for no change)
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)
716 * @global boolean $cfg['SkipLockedTables']
718 $cfg['SkipLockedTables'] = false;
721 * show SQL queries as run
723 * @global boolean $cfg['ShowSQL']
725 $cfg['ShowSQL'] = true;
728 * retain SQL input on Ajax execute
730 * @global boolean $cfg['RetainQueryEditor']
732 $cfg['RetainQueryBox'] = false;
735 * use CodeMirror syntax highlighting for editing SQL
737 * @global boolean $cfg['CodemirrorEnable']
739 $cfg['CodemirrorEnable'] = true;
742 * use the parser to find any errors in the query before executing
744 * @global boolean $cfg['LintEnable']
746 $cfg['LintEnable'] = true;
749 * show a 'Drop database' link to normal users
751 * @global boolean $cfg['AllowUserDropDatabase']
753 $cfg['AllowUserDropDatabase'] = false;
756 * confirm some commands that can result in loss of data
758 * @global boolean $cfg['Confirm']
760 $cfg['Confirm'] = true;
763 * recall previous login in cookie authentication mode or not
765 * @global boolean $cfg['LoginCookieRecall']
767 $cfg['LoginCookieRecall'] = true;
770 * validity of cookie login (in seconds; 1440 matches php.ini's
771 * session.gc_maxlifetime)
773 * @global integer $cfg['LoginCookieValidity']
775 $cfg['LoginCookieValidity'] = 1440;
778 * how long login cookie should be stored (in seconds)
780 * @global integer $cfg['LoginCookieStore']
782 $cfg['LoginCookieStore'] = 0;
785 * whether to delete all login cookies on logout
787 * @global boolean $cfg['LoginCookieDeleteAll']
789 $cfg['LoginCookieDeleteAll'] = true;
792 * whether to enable the "database search" feature or not
794 * @global boolean $cfg['UseDbSearch']
796 $cfg['UseDbSearch'] = true;
799 * if set to true, PMA continues computing multiple-statement queries
800 * even if one of the queries failed
802 * @global boolean $cfg['IgnoreMultiSubmitErrors']
804 $cfg['IgnoreMultiSubmitErrors'] = false;
807 * allow login to any user entered server in cookie based authentication
809 * @global boolean $cfg['AllowArbitraryServer']
811 $cfg['AllowArbitraryServer'] = false;
814 * restrict by IP (with regular expression) the MySQL servers the user can enter
815 * when $cfg['AllowArbitraryServer'] = true
817 * @global string $cfg['ArbitraryServerRegexp']
819 $cfg['ArbitraryServerRegexp'] = '';
822 * if reCaptcha is enabled it needs public key to connect with the service
824 * @global string $cfg['CaptchaLoginPublicKey']
826 $cfg['CaptchaLoginPublicKey'] = '';
829 * if reCaptcha is enabled it needs private key to connect with the service
831 * @global string $cfg['CaptchaLoginPrivateKey']
833 $cfg['CaptchaLoginPrivateKey'] = '';
835 /*******************************************************************************
836 * Navigation panel setup
840 * In the navigation panel, replaces the database tree with a selector
842 * @global boolean $cfg['ShowDatabasesNavigationAsTree']
844 $cfg['ShowDatabasesNavigationAsTree'] = true;
847 * maximum number of first level databases displayed in navigation panel
849 * @global integer $cfg['FirstLevelNavigationItems']
851 $cfg['FirstLevelNavigationItems'] = 100;
854 * maximum number of items displayed in navigation panel
856 * @global integer $cfg['MaxNavigationItems']
858 $cfg['MaxNavigationItems'] = 50;
861 * turn the select-based light menu into a tree
863 * @global boolean $cfg['NavigationTreeEnableGrouping']
865 $cfg['NavigationTreeEnableGrouping'] = true;
868 * the separator to sub-tree the select-based light menu tree
870 * @global string $cfg['NavigationTreeDbSeparator']
872 $cfg['NavigationTreeDbSeparator'] = '_';
875 * Which string will be used to generate table prefixes
876 * to split/nest tables into multiple categories
878 * @global string $cfg['NavigationTreeTableSeparator']
880 $cfg['NavigationTreeTableSeparator'] = '__';
883 * How many sublevels should be displayed when splitting up tables
884 * by the above Separator
886 * @global integer $cfg['NavigationTreeTableLevel']
888 $cfg['NavigationTreeTableLevel'] = 1;
891 * link with main panel by highlighting the current db/table
893 * @global boolean $cfg['NavigationLinkWithMainPanel']
895 $cfg['NavigationLinkWithMainPanel'] = true;
898 * display logo at top of navigation panel
900 * @global boolean $cfg['NavigationDisplayLogo']
902 $cfg['NavigationDisplayLogo'] = true;
905 * where should logo link point to (can also contain an external URL)
907 * @global string $cfg['NavigationLogoLink']
909 $cfg['NavigationLogoLink'] = 'index.php';
912 * whether to open the linked page in the main window ('main') or
913 * in a new window ('new')
915 * @global string $cfg['NavigationLogoLinkWindow']
917 $cfg['NavigationLogoLinkWindow'] = 'main';
920 * number of recently used tables displayed in the navigation panel
922 * @global integer $cfg['NumRecentTables']
924 $cfg['NumRecentTables'] = 10;
927 * number of favorite tables displayed in the navigation panel
929 * @global integer $cfg['NumFavoriteTables']
931 $cfg['NumFavoriteTables'] = 10;
934 * display a JavaScript table filter in the navigation panel
935 * when more then x tables are present
937 * @global boolean $cfg['NavigationTreeDisplayItemFilterMinimum']
939 $cfg['NavigationTreeDisplayItemFilterMinimum'] = 30;
942 * display server choice at top of navigation panel
944 * @global boolean $cfg['NavigationDisplayServers']
946 $cfg['NavigationDisplayServers'] = true;
949 * server choice as links
951 * @global boolean $cfg['DisplayServersList']
953 $cfg['DisplayServersList'] = false;
956 * display a JavaScript database filter in the navigation panel
957 * when more then x databases are present
959 * @global boolean $cfg['NavigationTreeDisplayDbFilterMinimum']
961 $cfg['NavigationTreeDisplayDbFilterMinimum'] = 30;
964 * target of the navigation panel quick access icon
966 * Possible values:
967 * 'structure.php' = fields list
968 * 'sql' = SQL form
969 * 'search' = search page
970 * 'insert' = insert row page
971 * 'browse' = browse page
973 * @global string $cfg['NavigationTreeDefaultTabTable']
975 $cfg['NavigationTreeDefaultTabTable'] = 'structure';
978 * target of the navigation panel quick second access icon
980 * Possible values:
981 * 'structure' = fields list
982 * 'sql' = SQL form
983 * 'search' = search page
984 * 'insert' = insert row page
985 * 'browse' = browse page
986 * '' = no link
988 * @global string $cfg['NavigationTreeDefaultTabTable2']
990 $cfg['NavigationTreeDefaultTabTable2'] = '';
993 * Enables the possibility of navigation tree expansion
995 * @global boolean $cfg['NavigationTreeEnableExpansion']
997 $cfg['NavigationTreeEnableExpansion'] = true;
1000 * Show tables in navigation panel
1002 * @global boolean $cfg['NavigationTreeShowTables']
1004 $cfg['NavigationTreeShowTables'] = true;
1007 * Show views in navigation panel
1009 * @global boolean $cfg['NavigationTreeShowViews']
1011 $cfg['NavigationTreeShowViews'] = true;
1014 * Show functions in navigation panel
1016 * @global boolean $cfg['NavigationTreeShowFunctions']
1018 $cfg['NavigationTreeShowFunctions'] = true;
1021 * Show procedures in navigation panel
1023 * @global boolean $cfg['NavigationTreeShowProcedures']
1025 $cfg['NavigationTreeShowProcedures'] = true;
1028 * Show events in navigation panel
1030 * @global boolean $cfg['NavigationTreeShowEvents']
1032 $cfg['NavigationTreeShowEvents'] = true;
1034 /*******************************************************************************
1035 * In the main panel, at startup...
1039 * allow to display statistics and space usage in the pages about database
1040 * details and table properties
1042 * @global boolean $cfg['ShowStats']
1044 $cfg['ShowStats'] = true;
1047 * show PHP info link
1049 * @global boolean $cfg['ShowPhpInfo']
1051 $cfg['ShowPhpInfo'] = false;
1054 * show MySQL server and web server information
1056 * @global boolean $cfg['ShowServerInfo']
1058 $cfg['ShowServerInfo'] = true;
1061 * show change password link
1063 * @global boolean $cfg['ShowChgPassword']
1065 $cfg['ShowChgPassword'] = true;
1068 * show create database form
1070 * @global boolean $cfg['ShowCreateDb']
1072 $cfg['ShowCreateDb'] = true;
1075 /*******************************************************************************
1076 * Database structure
1079 /** show charset column in database structure (true|false)?
1081 * @global boolean $cfg['ShowDbStructureCharset']
1083 $cfg['ShowDbStructureCharset'] = false;
1086 * show comment column in database structure (true|false)?
1088 * @global boolean $cfg['ShowDbStructureComment']
1090 $cfg['ShowDbStructureComment'] = false;
1093 * show creation timestamp column in database structure (true|false)?
1095 * @global boolean $cfg['ShowDbStructureCreation']
1097 $cfg['ShowDbStructureCreation'] = false;
1100 * show last update timestamp column in database structure (true|false)?
1102 * @global boolean $cfg['ShowDbStructureLastUpdate']
1104 $cfg['ShowDbStructureLastUpdate'] = false;
1107 * show last check timestamp column in database structure (true|false)?
1109 * @global boolean $cfg['ShowDbStructureLastCheck']
1111 $cfg['ShowDbStructureLastCheck'] = false;
1114 * allow hide action columns to drop down menu in database structure (true|false)?
1116 * @global boolean $cfg['HideStructureActions']
1118 $cfg['HideStructureActions'] = true;
1121 * Show column comments in table structure view (true|false)?
1123 * @global boolean $cfg['ShowColumnComments']
1125 $cfg['ShowColumnComments'] = true;
1128 /*******************************************************************************
1129 * In browse mode...
1133 * Use icons instead of text for the navigation bar buttons (table browse)
1134 * ('text'|'icons'|'both')
1136 * @global string $cfg['TableNavigationLinksMode']
1138 $cfg['TableNavigationLinksMode'] = 'icons';
1141 * Defines whether a user should be displayed a "show all (records)"
1142 * button in browse mode or not.
1144 * @global boolean $cfg['ShowAll']
1146 $cfg['ShowAll'] = false;
1149 * Number of rows displayed when browsing a result set. If the result
1150 * set contains more rows, "Previous" and "Next".
1151 * Possible values: 25,50,100,250,500
1153 * @global integer $cfg['MaxRows']
1155 $cfg['MaxRows'] = 25;
1158 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
1159 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
1160 * ascending order else-)
1162 * @global string $cfg['Order']
1164 $cfg['Order'] = 'SMART';
1167 * grid editing: save edited cell(s) in browse-mode at once
1169 * @global boolean $cfg['SaveCellsAtOnce']
1171 $cfg['SaveCellsAtOnce'] = false;
1174 * grid editing: which action triggers it, or completely disable the feature
1176 * Possible values:
1177 * 'click'
1178 * 'double-click'
1179 * 'disabled'
1181 * @global string $cfg['GridEditing']
1183 $cfg['GridEditing'] ='double-click';
1186 * Options > Relational display
1188 * Possible values:
1189 * 'K' for key value
1190 * 'D' for display column
1192 * @global string $cfg['RelationalDisplay']
1195 $cfg['RelationalDisplay'] = 'K';
1198 /*******************************************************************************
1199 * In edit mode...
1203 * disallow editing of binary fields
1204 * valid values are:
1205 * false allow editing
1206 * 'blob' allow editing except for BLOB fields
1207 * 'noblob' disallow editing except for BLOB fields
1208 * 'all' disallow editing
1210 * @global string $cfg['ProtectBinary']
1212 $cfg['ProtectBinary'] = 'blob';
1215 * Display the function fields in edit/insert mode
1217 * @global boolean $cfg['ShowFunctionFields']
1219 $cfg['ShowFunctionFields'] = true;
1222 * Display the type fields in edit/insert mode
1224 * @global boolean $cfg['ShowFieldTypesInDataEditView']
1226 $cfg['ShowFieldTypesInDataEditView'] = true;
1229 * Which editor should be used for CHAR/VARCHAR fields:
1230 * input - allows limiting of input length
1231 * textarea - allows newlines in fields
1233 * @global string $cfg['CharEditing']
1235 $cfg['CharEditing'] = 'input';
1238 * The minimum size for character input fields
1240 * @global integer $cfg['MinSizeForInputField']
1242 $cfg['MinSizeForInputField'] = 4;
1245 * The maximum size for character input fields
1247 * @global integer $cfg['MinSizeForInputField']
1249 $cfg['MaxSizeForInputField'] = 60;
1252 * How many rows can be inserted at one time
1254 * @global integer $cfg['InsertRows']
1256 $cfg['InsertRows'] = 2;
1259 * Sort order for items in a foreign-key drop-down list.
1260 * 'content' is the referenced data, 'id' is the key value.
1262 * @global array $cfg['ForeignKeyDropdownOrder']
1264 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
1267 * A drop-down list will be used if fewer items are present
1269 * @global integer $cfg['ForeignKeyMaxLimit']
1271 $cfg['ForeignKeyMaxLimit'] = 100;
1274 * Whether to disable foreign key checks while importing
1276 * @global boolean $cfg['DefaultForeignKeyChecks']
1278 $cfg['DefaultForeignKeyChecks'] = 'default';
1280 /*******************************************************************************
1281 * For the export features...
1285 * Allow for the use of zip compression (requires zip support to be enabled)
1287 * @global boolean $cfg['ZipDump']
1289 $cfg['ZipDump'] = true;
1292 * Allow for the use of gzip compression (requires zlib)
1294 * @global boolean $cfg['GZipDump']
1296 $cfg['GZipDump'] = true;
1299 * Allow for the use of bzip2 decompression (requires bz2 extension)
1301 * @global boolean $cfg['BZipDump']
1303 $cfg['BZipDump'] = true;
1306 * Will compress gzip exports on the fly without the need for much memory.
1307 * If you encounter problems with created gzip files disable this feature.
1309 * @global boolean $cfg['CompressOnFly']
1311 $cfg['CompressOnFly'] = true;
1314 /*******************************************************************************
1315 * Tabs display settings
1319 * How to display the menu tabs ('icons'|'text'|'both')
1321 * @global boolean $cfg['TabsMode']
1323 $cfg['TabsMode'] = 'both';
1326 * How to display various action links ('icons'|'text'|'both')
1328 * @global boolean $cfg['ActionLinksMode']
1330 $cfg['ActionLinksMode'] = 'both';
1333 * How many columns should be used for table display of a database?
1334 * (a value larger than 1 results in some information being hidden)
1336 * @global integer $cfg['PropertiesNumColumns']
1338 $cfg['PropertiesNumColumns'] = 1;
1341 * Possible values:
1342 * 'welcome' = the welcome page
1343 * (recommended for multiuser setups)
1344 * 'databases' = list of databases
1345 * 'status' = runtime information
1346 * 'variables' = MySQL server variables
1347 * 'privileges' = user management
1349 * @global string $cfg['DefaultTabServer']
1351 $cfg['DefaultTabServer'] = 'welcome';
1354 * Possible values:
1355 * 'structure' = tables list
1356 * 'sql' = SQL form
1357 * 'search' = search query
1358 * 'operations' = operations on database
1360 * @global string $cfg['DefaultTabDatabase']
1362 $cfg['DefaultTabDatabase'] = 'structure';
1365 * Possible values:
1366 * 'structure' = fields list
1367 * 'sql' = SQL form
1368 * 'search' = search page
1369 * 'insert' = insert row page
1370 * 'browse' = browse page
1372 * @global string $cfg['DefaultTabTable']
1374 $cfg['DefaultTabTable'] = 'browse';
1377 * Whether to display image or text or both image and text in table row
1378 * action segment. Value can be either of ``image``, ``text`` or ``both``.
1380 $cfg['RowActionType'] = 'both';
1382 /*******************************************************************************
1383 * Export defaults
1385 $cfg['Export'] = array();
1388 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xml/yaml
1390 * @global string $cfg['Export']['format']
1392 $cfg['Export']['format'] = 'sql';
1395 * quick/custom/custom-no-form
1397 * @global string $cfg['Export']['format']
1399 $cfg['Export']['method'] = 'quick';
1402 * none/zip/gzip
1404 * @global string $cfg['Export']['compression']
1406 $cfg['Export']['compression'] = 'none';
1409 * Whether to LOCK TABLES before exporting
1411 * @global boolean $cfg['Export']['lock_tables']
1413 $cfg['Export']['lock_tables'] = false;
1416 * Whether to export databases/tables as separate files
1418 * @global boolean $cfg['Export']['as_separate_files']
1420 $cfg['Export']['as_separate_files'] = false;
1425 * @global boolean $cfg['Export']['asfile']
1427 $cfg['Export']['asfile'] = true;
1432 * @global string $cfg['Export']['charset']
1434 $cfg['Export']['charset'] = '';
1439 * @global boolean $cfg['Export']['onserver']
1441 $cfg['Export']['onserver'] = false;
1446 * @global boolean $cfg['Export']['onserver_overwrite']
1448 $cfg['Export']['onserver_overwrite'] = false;
1453 * @global boolean $cfg['Export']['quick_export_onserver']
1455 $cfg['Export']['quick_export_onserver'] = false;
1460 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1462 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1467 * @global boolean $cfg['Export']['remember_file_template']
1469 $cfg['Export']['remember_file_template'] = true;
1474 * @global string $cfg['Export']['file_template_table']
1476 $cfg['Export']['file_template_table'] = '@TABLE@';
1481 * @global string $cfg['Export']['file_template_database']
1483 $cfg['Export']['file_template_database'] = '@DATABASE@';
1488 * @global string $cfg['Export']['file_template_server']
1490 $cfg['Export']['file_template_server'] = '@SERVER@';
1495 * @global string $cfg['Export']['codegen_structure_or_data']
1497 $cfg['Export']['codegen_structure_or_data'] = 'data';
1502 * @global $cfg['Export']['codegen_format']
1504 $cfg['Export']['codegen_format'] = 0;
1509 * @global boolean $cfg['Export']['ods_columns']
1511 $cfg['Export']['ods_columns'] = false;
1516 * @global string $cfg['Export']['ods_null']
1518 $cfg['Export']['ods_null'] = 'NULL';
1523 * @global string $cfg['Export']['odt_structure_or_data']
1525 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1530 * @global boolean $cfg['Export']['odt_columns']
1532 $cfg['Export']['odt_columns'] = true;
1537 * @global boolean $cfg['Export']['odt_relation']
1539 $cfg['Export']['odt_relation'] = true;
1544 * @global boolean $cfg['Export']['odt_comments']
1546 $cfg['Export']['odt_comments'] = true;
1551 * @global boolean $cfg['Export']['odt_mime']
1553 $cfg['Export']['odt_mime'] = true;
1558 * @global string $cfg['Export']['odt_null']
1560 $cfg['Export']['odt_null'] = 'NULL';
1565 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1567 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1572 * @global boolean $cfg['Export']['htmlword_columns']
1574 $cfg['Export']['htmlword_columns'] = false;
1579 * @global string $cfg['Export']['htmlword_null']
1581 $cfg['Export']['htmlword_null'] = 'NULL';
1586 * @global string $cfg['Export']['texytext_structure_or_data']
1588 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1593 * @global boolean $cfg['Export']['texytext_columns']
1595 $cfg['Export']['texytext_columns'] = false;
1600 * @global string $cfg['Export']['texytext_null']
1602 $cfg['Export']['texytext_null'] = 'NULL';
1607 * @global boolean $cfg['Export']['csv_columns']
1609 $cfg['Export']['csv_columns'] = false;
1614 * @global string $cfg['Export']['csv_structure_or_data']
1616 $cfg['Export']['csv_structure_or_data'] = 'data';
1621 * @global string $cfg['Export']['csv_null']
1623 $cfg['Export']['csv_null'] = 'NULL';
1628 * @global string $cfg['Export']['csv_separator']
1630 $cfg['Export']['csv_separator'] = ',';
1635 * @global string $cfg['Export']['csv_enclosed']
1637 $cfg['Export']['csv_enclosed'] = '"';
1642 * @global string $cfg['Export']['csv_escaped']
1644 $cfg['Export']['csv_escaped'] = '"';
1649 * @global string $cfg['Export']['csv_terminated']
1651 $cfg['Export']['csv_terminated'] = 'AUTO';
1656 * @global string $cfg['Export']['csv_removeCRLF']
1658 $cfg['Export']['csv_removeCRLF'] = false;
1663 * @global boolean $cfg['Export']['excel_columns']
1665 $cfg['Export']['excel_columns'] = true;
1670 * @global string $cfg['Export']['excel_null']
1672 $cfg['Export']['excel_null'] = 'NULL';
1675 * win/mac
1677 * @global string $cfg['Export']['excel_edition']
1679 $cfg['Export']['excel_edition'] = 'win';
1684 * @global string $cfg['Export']['excel_removeCRLF']
1686 $cfg['Export']['excel_removeCRLF'] = false;
1691 * @global string $cfg['Export']['excel_structure_or_data']
1693 $cfg['Export']['excel_structure_or_data'] = 'data';
1698 * @global string $cfg['Export']['latex_structure_or_data']
1700 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1705 * @global boolean $cfg['Export']['latex_columns']
1707 $cfg['Export']['latex_columns'] = true;
1712 * @global boolean $cfg['Export']['latex_relation']
1714 $cfg['Export']['latex_relation'] = true;
1719 * @global boolean $cfg['Export']['latex_comments']
1721 $cfg['Export']['latex_comments'] = true;
1726 * @global boolean $cfg['Export']['latex_mime']
1728 $cfg['Export']['latex_mime'] = true;
1733 * @global string $cfg['Export']['latex_null']
1735 $cfg['Export']['latex_null'] = '\textit{NULL}';
1740 * @global boolean $cfg['Export']['latex_caption']
1742 $cfg['Export']['latex_caption'] = true;
1747 * @global string $cfg['Export']['latex_structure_caption']
1749 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1754 * @global string $cfg['Export']['latex_structure_continued_caption']
1756 $cfg['Export']['latex_structure_continued_caption']
1757 = 'strLatexStructure strLatexContinued';
1762 * @global string $cfg['Export']['latex_data_caption']
1764 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1769 * @global string $cfg['Export']['latex_data_continued_caption']
1771 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1776 * @global string $cfg['Export']['latex_data_label']
1778 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1783 * @global string $cfg['Export']['latex_structure_label']
1785 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1790 * @global string $cfg['Export']['mediawiki_structure_or_data']
1792 $cfg['Export']['mediawiki_structure_or_data'] = 'data';
1797 * @global boolean $cfg['Export']['mediawiki_caption']
1799 $cfg['Export']['mediawiki_caption'] = true;
1804 * @global boolean $cfg['Export']['mediawiki_headers']
1806 $cfg['Export']['mediawiki_headers'] = true;
1811 * @global string $cfg['Export']['ods_structure_or_data']
1813 $cfg['Export']['ods_structure_or_data'] = 'data';
1818 * @global string $cfg['Export']['pdf_structure_or_data']
1820 $cfg['Export']['pdf_structure_or_data'] = 'data';
1825 * @global string $cfg['Export']['phparray_structure_or_data']
1827 $cfg['Export']['phparray_structure_or_data'] = 'data';
1832 * @global string $cfg['Export']['json_structure_or_data']
1834 $cfg['Export']['json_structure_or_data'] = 'data';
1837 * Export functions
1839 * @global string $cfg['Export']['json_pretty_print']
1841 $cfg['Export']['json_pretty_print'] = false;
1846 * @global string $cfg['Export']['sql_structure_or_data']
1848 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1853 * @global string $cfg['Export']['sql_compatibility']
1855 $cfg['Export']['sql_compatibility'] = 'NONE';
1858 * Whether to include comments in SQL export.
1860 * @global string $cfg['Export']['sql_include_comments']
1862 $cfg['Export']['sql_include_comments'] = true;
1867 * @global boolean $cfg['Export']['sql_disable_fk']
1869 $cfg['Export']['sql_disable_fk'] = false;
1874 * @global boolean $cfg['Export']['sql_views_as_tables']
1876 $cfg['Export']['sql_views_as_tables'] = false;
1881 * @global boolean $cfg['Export']['sql_metadata']
1883 $cfg['Export']['sql_metadata'] = false;
1888 * @global boolean $cfg['Export']['sql_use_transaction']
1890 $cfg['Export']['sql_use_transaction'] = true;
1895 * @global boolean $cfg['Export']['sql_create_database']
1897 $cfg['Export']['sql_create_database'] = false;
1902 * @global boolean $cfg['Export']['sql_drop_database']
1904 $cfg['Export']['sql_drop_database'] = false;
1909 * @global boolean $cfg['Export']['sql_drop_table']
1911 $cfg['Export']['sql_drop_table'] = false;
1916 * true by default for correct behavior when dealing with exporting
1917 * of VIEWs and the stand-in table
1918 * @global boolean $cfg['Export']['sql_if_not_exists']
1920 $cfg['Export']['sql_if_not_exists'] = false;
1925 * @global boolean $cfg['Export']['sql_procedure_function']
1927 $cfg['Export']['sql_procedure_function'] = true;
1932 * @global boolean $cfg['Export']['sql_create_table']
1934 $cfg['Export']['sql_create_table'] = true;
1939 * @global boolean $cfg['Export']['sql_create_view']
1941 $cfg['Export']['sql_create_view'] = true;
1946 * @global boolean $cfg['Export']['sql_create_trigger']
1948 $cfg['Export']['sql_create_trigger'] = true;
1953 * @global boolean $cfg['Export']['sql_auto_increment']
1955 $cfg['Export']['sql_auto_increment'] = true;
1960 * @global boolean $cfg['Export']['sql_backquotes']
1962 $cfg['Export']['sql_backquotes'] = true;
1967 * @global boolean $cfg['Export']['sql_dates']
1969 $cfg['Export']['sql_dates'] = false;
1974 * @global boolean $cfg['Export']['sql_relation']
1976 $cfg['Export']['sql_relation'] = false;
1981 * @global boolean $cfg['Export']['sql_truncate']
1983 $cfg['Export']['sql_truncate'] = false;
1988 * @global boolean $cfg['Export']['sql_delayed']
1990 $cfg['Export']['sql_delayed'] = false;
1995 * @global boolean $cfg['Export']['sql_ignore']
1997 $cfg['Export']['sql_ignore'] = false;
2000 * Export time in UTC.
2002 * @global boolean $cfg['Export']['sql_utc_time']
2004 $cfg['Export']['sql_utc_time'] = true;
2009 * @global boolean $cfg['Export']['sql_hex_for_binary']
2011 $cfg['Export']['sql_hex_for_binary'] = true;
2014 * insert/update/replace
2016 * @global string $cfg['Export']['sql_type']
2018 $cfg['Export']['sql_type'] = 'INSERT';
2023 * @global integer $cfg['Export']['sql_max_query_size']
2025 $cfg['Export']['sql_max_query_size'] = 50000;
2030 * @global boolean $cfg['Export']['sql_mime']
2032 $cfg['Export']['sql_mime'] = false;
2035 * \n is replaced by new line
2037 * @global string $cfg['Export']['sql_header_comment']
2039 $cfg['Export']['sql_header_comment'] = '';
2042 * Whether to use complete inserts, extended inserts, both, or neither
2044 * @global string $cfg['Export']['sql_insert_syntax']
2046 $cfg['Export']['sql_insert_syntax'] = 'both';
2051 * @global string $cfg['Export']['pdf_report_title']
2053 $cfg['Export']['pdf_report_title'] = '';
2058 *@global string $cfg['Export']['xml_structure_or_data']
2060 $cfg['Export']['xml_structure_or_data'] = 'data';
2063 * Export schema for each structure
2065 * @global string $cfg['Export']['xml_export_struc']
2067 $cfg['Export']['xml_export_struc'] = true;
2070 * Export events
2072 * @global string $cfg['Export']['xml_export_events']
2074 $cfg['Export']['xml_export_events'] = true;
2077 * Export functions
2079 * @global string $cfg['Export']['xml_export_functions']
2081 $cfg['Export']['xml_export_functions'] = true;
2084 * Export procedures
2086 * @global string $cfg['Export']['xml_export_procedures']
2088 $cfg['Export']['xml_export_procedures'] = true;
2091 * Export schema for each table
2093 * @global string $cfg['Export']['xml_export_tables']
2095 $cfg['Export']['xml_export_tables'] = true;
2098 * Export triggers
2100 * @global string $cfg['Export']['xml_export_triggers']
2102 $cfg['Export']['xml_export_triggers'] = true;
2105 * Export views
2107 * @global string $cfg['Export']['xml_export_views']
2109 $cfg['Export']['xml_export_views'] = true;
2112 * Export contents data
2114 * @global string $cfg['Export']['xml_export_contents']
2116 $cfg['Export']['xml_export_contents'] = true;
2121 * @global string $cfg['Export']['yaml_structure_or_data']
2123 $cfg['Export']['yaml_structure_or_data'] = 'data';
2125 /*******************************************************************************
2126 * Import defaults
2128 $cfg['Import'] = array();
2133 * @global string $cfg['Import']['format']
2135 $cfg['Import']['format'] = 'sql';
2138 * Default charset for import.
2140 * @global string $cfg['Import']['charset']
2142 $cfg['Import']['charset'] = '';
2147 * @global boolean $cfg['Import']['allow_interrupt']
2149 $cfg['Import']['allow_interrupt'] = true;
2154 * @global integer $cfg['Import']['skip_queries']
2156 $cfg['Import']['skip_queries'] = 0;
2161 * @global string $cfg['Import']['sql_compatibility']
2163 $cfg['Import']['sql_compatibility'] = 'NONE';
2168 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
2170 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
2175 * @global string $cfg['Import']['sql_read_as_multibytes']
2177 $cfg['Import']['sql_read_as_multibytes'] = false;
2182 * @global boolean $cfg['Import']['csv_replace']
2184 $cfg['Import']['csv_replace'] = false;
2189 * @global boolean $cfg['Import']['csv_ignore']
2191 $cfg['Import']['csv_ignore'] = false;
2196 * @global string $cfg['Import']['csv_terminated']
2198 $cfg['Import']['csv_terminated'] = ',';
2203 * @global string $cfg['Import']['csv_enclosed']
2205 $cfg['Import']['csv_enclosed'] = '"';
2210 * @global string $cfg['Import']['csv_escaped']
2212 $cfg['Import']['csv_escaped'] = '"';
2217 * @global string $cfg['Import']['csv_new_line']
2219 $cfg['Import']['csv_new_line'] = 'auto';
2224 * @global string $cfg['Import']['csv_columns']
2226 $cfg['Import']['csv_columns'] = '';
2231 * @global string $cfg['Import']['csv_col_names']
2233 $cfg['Import']['csv_col_names'] = false;
2238 * @global boolean $cfg['Import']['ldi_replace']
2240 $cfg['Import']['ldi_replace'] = false;
2245 * @global boolean $cfg['Import']['ldi_ignore']
2247 $cfg['Import']['ldi_ignore'] = false;
2252 * @global string $cfg['Import']['ldi_terminated']
2254 $cfg['Import']['ldi_terminated'] = ';';
2259 * @global string $cfg['Import']['ldi_enclosed']
2261 $cfg['Import']['ldi_enclosed'] = '"';
2266 * @global string $cfg['Import']['ldi_escaped']
2268 $cfg['Import']['ldi_escaped'] = '\\';
2273 * @global string $cfg['Import']['ldi_new_line']
2275 $cfg['Import']['ldi_new_line'] = 'auto';
2280 * @global string $cfg['Import']['ldi_columns']
2282 $cfg['Import']['ldi_columns'] = '';
2285 * 'auto' for auto-detection, true or false for forcing
2287 * @global string $cfg['Import']['ldi_local_option']
2289 $cfg['Import']['ldi_local_option'] = 'auto';
2294 * @global string $cfg['Import']['ods_col_names']
2296 $cfg['Import']['ods_col_names'] = false;
2301 * @global string $cfg['Import']['ods_empty_rows']
2303 $cfg['Import']['ods_empty_rows'] = true;
2308 * @global string $cfg['Import']['ods_recognize_percentages']
2310 $cfg['Import']['ods_recognize_percentages'] = true;
2315 * @global string $cfg['Import']['ods_recognize_currency']
2317 $cfg['Import']['ods_recognize_currency'] = true;
2319 /*******************************************************************************
2320 * Schema export defaults
2322 $cfg['Schema'] = array();
2325 * pdf/eps/dia/svg
2327 * @global string $cfg['Schema']['format']
2329 $cfg['Schema']['format'] = 'pdf';
2334 * @global string $cfg['Schema']['pdf_show_color']
2336 $cfg['Schema']['pdf_show_color'] = true;
2341 * @global string $cfg['Schema']['pdf_show_keys']
2343 $cfg['Schema']['pdf_show_keys'] = false;
2348 * @global string $cfg['Schema']['pdf_all_tables_same_width']
2350 $cfg['Schema']['pdf_all_tables_same_width'] = false;
2353 * L/P
2355 * @global string $cfg['Schema']['pdf_orientation']
2357 $cfg['Schema']['pdf_orientation'] = 'L';
2362 * @global string $cfg['Schema']['pdf_paper']
2364 $cfg['Schema']['pdf_paper'] = 'A4';
2369 * @global string $cfg['Schema']['pdf_show_grid']
2371 $cfg['Schema']['pdf_show_grid'] = false;
2376 * @global string $cfg['Schema']['pdf_with_doc']
2378 $cfg['Schema']['pdf_with_doc'] = true;
2383 * @global string $cfg['Schema']['pdf_table_order']
2385 $cfg['Schema']['pdf_table_order'] = '';
2390 * @global string $cfg['Schema']['dia_show_color']
2392 $cfg['Schema']['dia_show_color'] = true;
2397 * @global string $cfg['Schema']['dia_show_keys']
2399 $cfg['Schema']['dia_show_keys'] = false;
2402 * L/P
2404 * @global string $cfg['Schema']['dia_orientation']
2406 $cfg['Schema']['dia_orientation'] = 'L';
2411 * @global string $cfg['Schema']['dia_paper']
2413 $cfg['Schema']['dia_paper'] = 'A4';
2418 * @global string $cfg['Schema']['eps_show_color']
2420 $cfg['Schema']['eps_show_color'] = true;
2425 * @global string $cfg['Schema']['eps_show_keys']
2427 $cfg['Schema']['eps_show_keys'] = false;
2432 * @global string $cfg['Schema']['eps_all_tables_same_width']
2434 $cfg['Schema']['eps_all_tables_same_width'] = false;
2437 * L/P
2439 * @global string $cfg['Schema']['eps_orientation']
2441 $cfg['Schema']['eps_orientation'] = 'L';
2446 * @global string $cfg['Schema']['svg_show_color']
2448 $cfg['Schema']['svg_show_color'] = true;
2453 * @global string $cfg['Schema']['svg_show_keys']
2455 $cfg['Schema']['svg_show_keys'] = false;
2460 * @global string $cfg['Schema']['svg_all_tables_same_width']
2462 $cfg['Schema']['svg_all_tables_same_width'] = false;
2464 /*******************************************************************************
2465 * PDF options
2471 * @global array $cfg['PDFPageSizes']
2473 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
2478 * @global string $cfg['PDFDefaultPageSize']
2480 $cfg['PDFDefaultPageSize'] = 'A4';
2483 /*******************************************************************************
2484 * Language and character set conversion settings
2488 * Default language to use, if not browser-defined or user-defined
2490 * @global string $cfg['DefaultLang']
2492 $cfg['DefaultLang'] = 'en';
2495 * Default connection collation
2497 * @global string $cfg['DefaultConnectionCollation']
2499 $cfg['DefaultConnectionCollation'] = 'utf8mb4_unicode_ci';
2502 * Force: always use this language, e.g. 'en'
2504 * @global string $cfg['Lang']
2506 $cfg['Lang'] = '';
2509 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2510 * English only
2512 * @global string $cfg['FilterLanguages']
2514 $cfg['FilterLanguages'] = '';
2517 * You can select here which functions will be used for character set conversion.
2518 * Possible values are:
2519 * auto - automatically use available one (first is tested iconv, then
2520 * recode)
2521 * iconv - use iconv or libiconv functions
2522 * recode - use recode_string function
2523 * mb - use mbstring extension
2524 * none - disable encoding conversion
2526 * @global string $cfg['RecodingEngine']
2528 $cfg['RecodingEngine'] = 'auto';
2531 * Specify some parameters for iconv used in character set conversion. See iconv
2532 * documentation for details:
2533 * https://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
2535 * @global string $cfg['IconvExtraParams']
2537 $cfg['IconvExtraParams'] = '//TRANSLIT';
2540 * Available character sets for MySQL conversion. currently contains all which could
2541 * be found in lang/* files and few more.
2542 * Character sets will be shown in same order as here listed, so if you frequently
2543 * use some of these move them to the top.
2545 * @global array $cfg['AvailableCharsets']
2547 $cfg['AvailableCharsets'] = array(
2548 'iso-8859-1',
2549 'iso-8859-2',
2550 'iso-8859-3',
2551 'iso-8859-4',
2552 'iso-8859-5',
2553 'iso-8859-6',
2554 'iso-8859-7',
2555 'iso-8859-8',
2556 'iso-8859-9',
2557 'iso-8859-10',
2558 'iso-8859-11',
2559 'iso-8859-12',
2560 'iso-8859-13',
2561 'iso-8859-14',
2562 'iso-8859-15',
2563 'windows-1250',
2564 'windows-1251',
2565 'windows-1252',
2566 'windows-1256',
2567 'windows-1257',
2568 'koi8-r',
2569 'big5',
2570 'gb2312',
2571 'utf-16',
2572 'utf-8',
2573 'utf-7',
2574 'x-user-defined',
2575 'euc-jp',
2576 'ks_c_5601-1987',
2577 'tis-620',
2578 'SHIFT_JIS',
2579 'SJIS',
2580 'SJIS-win',
2584 /*******************************************************************************
2585 * Customization & design
2587 * The graphical settings are now located in themes/theme-name/layout.inc.php
2591 * enable the left panel pointer
2592 * see also LeftPointerColor
2593 * in layout.inc.php
2595 * @global boolean $cfg['NavigationTreePointerEnable']
2597 $cfg['NavigationTreePointerEnable'] = true;
2600 * enable the browse pointer
2601 * see also BrowsePointerColor
2602 * in layout.inc.php
2604 * @global boolean $cfg['BrowsePointerEnable']
2606 $cfg['BrowsePointerEnable'] = true;
2609 * enable the browse marker
2610 * see also BrowseMarkerColor
2611 * in layout.inc.php
2613 * @global boolean $cfg['BrowseMarkerEnable']
2615 $cfg['BrowseMarkerEnable'] = true;
2618 * textarea size (columns) in edit mode
2619 * (this value will be emphasized (*2) for SQL
2620 * query textareas and (*1.25) for query window)
2622 * @global integer $cfg['TextareaCols']
2624 $cfg['TextareaCols'] = 40;
2627 * textarea size (rows) in edit mode
2629 * @global integer $cfg['TextareaRows']
2631 $cfg['TextareaRows'] = 15;
2634 * double size of textarea size for LONGTEXT columns
2636 * @global boolean $cfg['LongtextDoubleTextarea']
2638 $cfg['LongtextDoubleTextarea'] = true;
2641 * auto-select when clicking in the textarea of the query-box
2643 * @global boolean $cfg['TextareaAutoSelect']
2645 $cfg['TextareaAutoSelect'] = false;
2648 * textarea size (columns) for CHAR/VARCHAR
2650 * @global integer $cfg['CharTextareaCols']
2652 $cfg['CharTextareaCols'] = 40;
2655 * textarea size (rows) for CHAR/VARCHAR
2657 * @global integer $cfg['CharTextareaRows']
2659 $cfg['CharTextareaRows'] = 2;
2662 * Max field data length in browse mode for all non-numeric fields
2664 * @global integer $cfg['LimitChars']
2666 $cfg['LimitChars'] = 50;
2669 * Where to show the edit/copy/delete links in browse mode
2670 * Possible values are 'left', 'right', 'both' and 'none'.
2672 * @global string $cfg['RowActionLinks']
2674 $cfg['RowActionLinks'] = 'left';
2677 * Whether to show row links (Edit, Copy, Delete) and checkboxes for
2678 * multiple row operations even when the selection does not have a unique key.
2680 * @global boolean $cfg['RowActionLinksWithoutUnique']
2682 $cfg['RowActionLinksWithoutUnique'] = false;
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 column comments in 'browse' mode.
2700 * @global boolean $cfg['ShowBrowseComments']
2702 $cfg['ShowBrowseComments'] = true;
2705 * shows column 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 /*******************************************************************************
2815 * theme manager
2819 * if you want to use selectable themes and if ThemesPath not empty
2820 * set it to true, else set it to false (default is false);
2822 * @global boolean $cfg['ThemeManager']
2824 $cfg['ThemeManager'] = true;
2827 * set up default theme, you can set up here an valid
2828 * path to themes or 'original' for the original pma-theme
2830 * @global string $cfg['ThemeDefault']
2832 $cfg['ThemeDefault'] = 'pmahomme';
2835 * allow different theme for each configured server
2837 * @global boolean $cfg['ThemePerServer']
2839 $cfg['ThemePerServer'] = false;
2842 /*******************************************************************************
2847 * Default query for table
2849 * @global string $cfg['DefaultQueryTable']
2851 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2854 * Default query for database
2856 * @global string $cfg['DefaultQueryDatabase']
2858 $cfg['DefaultQueryDatabase'] = '';
2861 /*******************************************************************************
2862 * SQL Query box settings
2863 * These are the links display in all of the SQL Query boxes
2865 * @global array $cfg['SQLQuery']
2867 $cfg['SQLQuery'] = array();
2870 * Display an "Edit" link on the results page to change a query
2872 * @global boolean $cfg['SQLQuery']['Edit']
2874 $cfg['SQLQuery']['Edit'] = true;
2877 * Display an "Explain SQL" link on the results page
2879 * @global boolean $cfg['SQLQuery']['Explain']
2881 $cfg['SQLQuery']['Explain'] = true;
2884 * Display a "Create PHP code" link on the results page to wrap a query in PHP
2886 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2888 $cfg['SQLQuery']['ShowAsPHP'] = true;
2891 * Display a "Refresh" link on the results page
2893 * @global boolean $cfg['SQLQuery']['Refresh']
2895 $cfg['SQLQuery']['Refresh'] = true;
2898 * Enables autoComplete for table & column names in SQL queries
2900 * default = 'true'
2902 $cfg['EnableAutocompleteForTablesAndColumns'] = true;
2905 /*******************************************************************************
2906 * Web server upload/save/import directories
2910 * Directory for uploaded files that can be executed by phpMyAdmin.
2911 * For example './upload'. Leave empty for no upload directory support.
2912 * Use %u for username inclusion.
2914 * @global string $cfg['UploadDir']
2916 $cfg['UploadDir'] = '';
2919 * Directory where phpMyAdmin can save exported data on server.
2920 * For example './save'. Leave empty for no save directory support.
2921 * Use %u for username inclusion.
2923 * @global string $cfg['SaveDir']
2925 $cfg['SaveDir'] = '';
2928 * Directory where phpMyAdmin can save temporary files.
2930 * @global string $cfg['TempDir']
2932 $cfg['TempDir'] = '';
2936 * Misc. settings
2940 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2941 * which is the only safe way to determine GD version.
2943 * @global string $cfg['GD2Available']
2945 $cfg['GD2Available'] = 'auto';
2948 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2950 * @global array $cfg['TrustedProxies']
2952 $cfg['TrustedProxies'] = array();
2955 * We normally check the permissions on the configuration file to ensure
2956 * it's not world writable. However, phpMyAdmin could be installed on
2957 * a NTFS filesystem mounted on a non-Windows server, in which case the
2958 * permissions seems wrong but in fact cannot be detected. In this case
2959 * a sysadmin would set the following to false.
2961 $cfg['CheckConfigurationPermissions'] = true;
2964 * Limit for length of URL in links. When length would be above this limit, it
2965 * is replaced by form with button.
2966 * This is required as some web servers (IIS) have problems with long URLs.
2967 * The recommended limit is 2000
2968 * (see https://www.boutell.com/newfaq/misc/urllength.html) but we put
2969 * 1000 to accommodate Suhosin, see bug #3358750.
2971 $cfg['LinkLengthLimit'] = 1000;
2974 * Additional string to allow in CSP headers.
2976 $cfg['CSPAllow'] = '';
2979 * Disable the table maintenance mass operations, like optimizing or
2980 * repairing the selected tables of a database. An accidental execution
2981 * of such a maintenance task can enormously slow down a bigger database.
2983 $cfg['DisableMultiTableMaintenance'] = false;
2986 * Whether or not to query the user before sending the error report to
2987 * the phpMyAdmin team when a JavaScript error occurs
2989 * Available options
2990 * (ask | always | never)
2992 * @global string $cfg['SendErrorReports']
2994 $cfg['SendErrorReports'] = 'ask';
2997 * Whether Enter or Ctrl+Enter executes queries in the console.
2999 * @global boolean $cfg['ConsoleEnterExecutes']
3001 $cfg['ConsoleEnterExecutes'] = false;
3004 * Zero Configuration mode.
3006 * @global boolean $cfg['ZeroConf']
3008 $cfg['ZeroConf'] = true;
3010 /*******************************************************************************
3011 * Developers ONLY!
3013 * @global array $cfg['DBG']
3015 $cfg['DBG'] = array();
3018 * Output executed queries and their execution times
3020 * @global boolean $cfg['DBG']['sql']
3022 $cfg['DBG']['sql'] = false;
3025 * Log executed queries and their execution times to syslog
3027 * @global boolean $cfg['DBG']['sql']
3029 $cfg['DBG']['sqllog'] = false;
3032 * Enable to let server present itself as demo server.
3034 * @global boolean $cfg['DBG']['demo']
3036 $cfg['DBG']['demo'] = false;
3039 /*******************************************************************************
3040 * MySQL settings
3044 * Default functions for above defined groups
3046 * @global array $cfg['DefaultFunctions']
3048 $cfg['DefaultFunctions'] = array(
3049 'FUNC_CHAR' => '',
3050 'FUNC_DATE' => '',
3051 'FUNC_NUMBER' => '',
3052 'FUNC_SPATIAL' => 'GeomFromText',
3053 'FUNC_UUID' => 'UUID',
3054 'first_timestamp' => 'NOW',
3058 * Max rows retrieved for zoom search
3060 $cfg['maxRowPlotLimit'] = 500;
3063 * Show Git revision if applicable
3065 * @global boolean $cfg['ShowGitRevision']
3067 $cfg['ShowGitRevision'] = true;
3070 * MySQL minimal version required
3072 * @global array $cfg['MysqlMinVersion']
3074 $cfg['MysqlMinVersion'] = array(
3075 'internal' => 50500,
3076 'human' => '5.5.0'
3080 * Disable shortcuts
3082 * @global array $cfg['DisableShortcutKeys']
3084 $cfg['DisableShortcutKeys'] = false;