Translated using Weblate (Portuguese)
[phpmyadmin.git] / libraries / config.default.php
blob5fca8f1e6339e634675ebe9dd052c1561d0a8fcb
1 <?php
2 /**
3 * <code>
4 * N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !!
5 * NN N O O !! D D O O NN N O O T E D D I T !!
6 * N N N O O !! D D O O N N N O O T EEEE D D I T !!
7 * N NN O O D D O O N NN O O T E D D I T
8 * N N OOO !! DDDD OOO N N OOO T EEEE DDDD I T !!
9 * </code>
11 * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
13 * phpMyAdmin default configuration, you can copy values from here to your
14 * config.inc.php
16 * All directives are explained in the documentation
19 declare(strict_types=1);
21 /**
22 * Your phpMyAdmin URL.
24 * Complete the variable below with the full URL ie
25 * https://example.com/path_to_your_phpMyAdmin_directory/
27 * It must contain characters that are valid for a URL, and the path is
28 * case sensitive on some Web servers, for example Unix-based servers.
30 * In most cases you can leave this variable empty, as the correct value
31 * will be detected automatically. However, we recommend that you do
32 * test to see that the auto-detection code works in your system. A good
33 * test is to browse a table, then edit a row and save it. There will be
34 * an error message if phpMyAdmin cannot auto-detect the correct value.
36 * @global string $cfg['PmaAbsoluteUri']
38 $cfg['PmaAbsoluteUri'] = '';
40 /**
41 * Configure authentication logging destination
43 * @global string $cfg['AuthLog']
45 $cfg['AuthLog'] = 'auto';
47 /**
48 * Whether to log successful authentication attempts
50 * @global boolean $cfg['AuthLogSuccess']
52 $cfg['AuthLogSuccess'] = false;
54 /**
55 * Disable the default warning that is displayed on the DB Details Structure page if
56 * any of the required Tables for the configuration storage could not be found
58 * @global boolean $cfg['PmaNoRelation_DisableWarning']
60 $cfg['PmaNoRelation_DisableWarning'] = false;
62 /**
63 * Disable the default warning that is displayed if Suhosin is detected
65 * @global boolean $cfg['SuhosinDisableWarning']
67 $cfg['SuhosinDisableWarning'] = false;
69 /**
70 * Disable the default warning that is displayed if session.gc_maxlifetime
71 * is less than `LoginCookieValidity`
73 * @global boolean $cfg['LoginCookieValidityDisableWarning']
75 $cfg['LoginCookieValidityDisableWarning'] = false;
77 /**
78 * Disable the default warning about MySQL reserved words in column names
80 * @global boolean $cfg['ReservedWordDisableWarning']
82 $cfg['ReservedWordDisableWarning'] = false;
84 /**
85 * Show warning about incomplete translations on certain threshold.
87 * @global boolean $cfg['TranslationWarningThreshold']
89 $cfg['TranslationWarningThreshold'] = 80;
91 /**
92 * Allows phpMyAdmin to be included from a other document in a frame;
93 * setting this to true is a potential security hole. Setting this to
94 * 'sameorigin' prevents phpMyAdmin to be included from another document
95 * in a frame, unless that document belongs to the same domain.
97 * @global boolean|string $cfg['AllowThirdPartyFraming']
99 $cfg['AllowThirdPartyFraming'] = false;
102 * The 'cookie' auth_type uses AES algorithm to encrypt the password. If
103 * at least one server configuration uses 'cookie' auth_type, enter here a
104 * pass phrase that will be used by AES. The maximum length seems to be 46
105 * characters.
107 * @global string $cfg['blowfish_secret']
109 $cfg['blowfish_secret'] = '';
112 /*******************************************************************************
113 * Server(s) configuration
115 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
116 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
117 * to ''. If you want more than one server, just copy following section
118 * (including $i incrementation) several times. There is no need to define
119 * full server array, just define values you need to change.
121 * @global array $cfg['Servers']
123 $cfg['Servers'] = [];
125 $i = 1;
128 * MySQL hostname or IP address
130 * @global string $cfg['Servers'][$i]['host']
132 $cfg['Servers'][$i]['host'] = 'localhost';
135 * MySQL port - leave blank for default port
137 * @global string $cfg['Servers'][$i]['port']
139 $cfg['Servers'][$i]['port'] = '';
142 * Path to the socket - leave blank for default socket
144 * @global string $cfg['Servers'][$i]['socket']
146 $cfg['Servers'][$i]['socket'] = '';
149 * Use SSL for connecting to MySQL server?
151 * @global boolean $cfg['Servers'][$i]['ssl']
153 $cfg['Servers'][$i]['ssl'] = false;
156 * Path to the key file when using SSL for connecting to the MySQL server
158 * @global string $cfg['Servers'][$i]['ssl_key']
160 $cfg['Servers'][$i]['ssl_key'] = null;
163 * Path to the cert file when using SSL for connecting to the MySQL server
165 * @global string $cfg['Servers'][$i]['ssl_cert']
167 $cfg['Servers'][$i]['ssl_cert'] = null;
170 * Path to the CA file when using SSL for connecting to the MySQL server
172 * @global string $cfg['Servers'][$i]['ssl_ca']
174 $cfg['Servers'][$i]['ssl_ca'] = null;
177 * Directory containing trusted SSL CA certificates in PEM format
179 * @global string $cfg['Servers'][$i]['ssl_ca_path']
181 $cfg['Servers'][$i]['ssl_ca_path'] = null;
184 * List of allowable ciphers for SSL connections to the MySQL server
186 * @global string $cfg['Servers'][$i]['ssl_ciphers']
188 $cfg['Servers'][$i]['ssl_ciphers'] = null;
191 * MySQL 5.6 or later triggers the mysqlnd driver in PHP to validate the
192 * peer_name of the SSL certifcate
193 * For most self-signed certificates this is a problem. Setting this to false
194 * will disable the check and allow the connection (PHP 5.6.16 or later)
196 * @link https://bugs.php.net/68344
198 * @global string $cfg['Servers'][$i]['ssl_verify']
200 $cfg['Servers'][$i]['ssl_verify'] = true;
203 * Use compressed protocol for the MySQL connection
205 * @global boolean $cfg['Servers'][$i]['compress']
207 $cfg['Servers'][$i]['compress'] = false;
210 * MySQL control host. This permits to use a host different than the
211 * main host, for the phpMyAdmin configuration storage. If left empty,
212 * $cfg['Servers'][$i]['host'] is used instead.
214 * @global string $cfg['Servers'][$i]['controlhost']
216 $cfg['Servers'][$i]['controlhost'] = '';
219 * MySQL control port. This permits to use a port different than the
220 * main port, for the phpMyAdmin configuration storage. If left empty,
221 * $cfg['Servers'][$i]['port'] is used instead.
223 * @global string $cfg['Servers'][$i]['controlport']
225 $cfg['Servers'][$i]['controlport'] = '';
228 * MySQL control user settings (this user must have read-only
229 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
230 * used for all relational features (pmadb)
232 * @global string $cfg['Servers'][$i]['controluser']
234 $cfg['Servers'][$i]['controluser'] = '';
237 * MySQL control user settings (this user must have read-only
238 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
239 * used for all relational features (pmadb)
241 * @global string $cfg['Servers'][$i]['controlpass']
243 $cfg['Servers'][$i]['controlpass'] = '';
246 * Authentication method (valid choices: config, http, signon or cookie)
248 * @global string $cfg['Servers'][$i]['auth_type']
250 $cfg['Servers'][$i]['auth_type'] = 'cookie';
253 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
255 * @global string $cfg['Servers'][$i]['auth_http_realm']
257 $cfg['Servers'][$i]['auth_http_realm'] = '';
260 * MySQL user
262 * @global string $cfg['Servers'][$i]['user']
264 $cfg['Servers'][$i]['user'] = 'root';
267 * MySQL password (only needed with 'config' auth_type)
269 * @global string $cfg['Servers'][$i]['password']
271 $cfg['Servers'][$i]['password'] = '';
274 * Session to use for 'signon' authentication method
276 * @global string $cfg['Servers'][$i]['SignonSession']
278 $cfg['Servers'][$i]['SignonSession'] = '';
281 * Cookie params to match session to use for 'signon' authentication method
282 * It should be an associative array matching result of session_get_cookie_params() in other system
284 * @global array $cfg['Servers'][$i]['SignonCookieParams']
286 $cfg['Servers'][$i]['SignonCookieParams'] = [];
289 * PHP script to use for 'signon' authentication method
291 * @global string $cfg['Servers'][$i]['SignonScript']
293 $cfg['Servers'][$i]['SignonScript'] = '';
296 * URL where to redirect user to login for 'signon' authentication method
298 * @global string $cfg['Servers'][$i]['SignonURL']
300 $cfg['Servers'][$i]['SignonURL'] = '';
303 * URL where to redirect user after logout
305 * @global string $cfg['Servers'][$i]['LogoutURL']
307 $cfg['Servers'][$i]['LogoutURL'] = '';
310 * If set to a db-name, only this db is displayed in navigation panel
311 * It may also be an array of db-names
313 * @global string $cfg['Servers'][$i]['only_db']
315 $cfg['Servers'][$i]['only_db'] = '';
318 * Database name to be hidden from listings
320 * @global string $cfg['Servers'][$i]['hide_db']
322 $cfg['Servers'][$i]['hide_db'] = '';
325 * Verbose name for this host - leave blank to show the hostname
326 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
328 * @global string $cfg['Servers'][$i]['verbose']
330 $cfg['Servers'][$i]['verbose'] = '';
333 * Database used for Relation, Bookmark and PDF Features
334 * (see sql/create_tables.sql)
335 * - leave blank for no support
336 * SUGGESTED: 'phpmyadmin'
338 * @global string $cfg['Servers'][$i]['pmadb']
340 $cfg['Servers'][$i]['pmadb'] = '';
343 * Bookmark table
344 * - leave blank for no bookmark support
345 * SUGGESTED: 'pma__bookmark'
347 * @global string $cfg['Servers'][$i]['bookmarktable']
349 $cfg['Servers'][$i]['bookmarktable'] = '';
352 * table to describe the relation between links (see doc)
353 * - leave blank for no relation-links support
354 * SUGGESTED: 'pma__relation'
356 * @global string $cfg['Servers'][$i]['relation']
358 $cfg['Servers'][$i]['relation'] = '';
361 * table to describe the display fields
362 * - leave blank for no display fields support
363 * SUGGESTED: 'pma__table_info'
365 * @global string $cfg['Servers'][$i]['table_info']
367 $cfg['Servers'][$i]['table_info'] = '';
370 * table to describe the tables position for the designer and PDF schema
371 * - leave blank for no PDF schema support
372 * SUGGESTED: 'pma__table_coords'
374 * @global string $cfg['Servers'][$i]['table_coords']
376 $cfg['Servers'][$i]['table_coords'] = '';
379 * table to describe pages of relationpdf
380 * - leave blank if you don't want to use this
381 * SUGGESTED: 'pma__pdf_pages'
383 * @global string $cfg['Servers'][$i]['pdf_pages']
385 $cfg['Servers'][$i]['pdf_pages'] = '';
388 * table to store column information
389 * - leave blank for no column comments/mime types
390 * SUGGESTED: 'pma__column_info'
392 * @global string $cfg['Servers'][$i]['column_info']
394 $cfg['Servers'][$i]['column_info'] = '';
397 * table to store SQL history
398 * - leave blank for no SQL query history
399 * SUGGESTED: 'pma__history'
401 * @global string $cfg['Servers'][$i]['history']
403 $cfg['Servers'][$i]['history'] = '';
406 * table to store recently used tables
407 * - leave blank for no "persistent" recently used tables
408 * SUGGESTED: 'pma__recent'
410 $cfg['Servers'][$i]['recent'] = '';
413 * table to store favorite tables
414 * - leave blank for no favorite tables
415 * SUGGESTED: 'pma__favorite'
417 $cfg['Servers'][$i]['favorite'] = '';
420 * table to store UI preferences for tables
421 * - leave blank for no "persistent" UI preferences
422 * SUGGESTED: 'pma__table_uiprefs'
424 $cfg['Servers'][$i]['table_uiprefs'] = '';
427 * table to store SQL tracking
428 * - leave blank for no SQL tracking
429 * SUGGESTED: 'pma__tracking'
431 * @global string $cfg['Servers'][$i]['tracking']
433 $cfg['Servers'][$i]['tracking'] = '';
436 * table to store user preferences
437 * - leave blank to disable server storage
438 * SUGGESTED: 'pma__userconfig'
440 * @global string $cfg['Servers'][$i]['userconfig']
442 $cfg['Servers'][$i]['userconfig'] = '';
445 * table to store users and their assignment to user groups
446 * - leave blank to disable configurable menus feature
447 * SUGGESTED: 'pma__users'
449 * @global string $cfg['Servers'][$i]['users']
451 $cfg['Servers'][$i]['users'] = '';
454 * table to store allowed menu items for each user group
455 * - leave blank to disable configurable menus feature
456 * SUGGESTED: 'pma__usergroups'
458 * @global string $cfg['Servers'][$i]['usergroups']
460 $cfg['Servers'][$i]['usergroups'] = '';
463 * table to store information about item hidden from navigation tree
464 * - leave blank to disable hide/show navigation items feature
465 * SUGGESTED: 'pma__navigationhiding'
467 * @global string $cfg['Servers'][$i]['navigationhiding']
469 $cfg['Servers'][$i]['navigationhiding'] = '';
472 * table to store information about saved searches from query-by-example on a db
473 * - leave blank to disable saved searches feature
474 * SUGGESTED: 'pma__savedsearches'
476 * @global string $cfg['Servers'][$i]['savedsearches']
478 $cfg['Servers'][$i]['savedsearches'] = '';
481 * table to store central list of columns per database
482 * - leave blank to disable central list of columns feature
483 * SUGGESTED: 'pma__central_columns'
485 * @global string $cfg['Servers'][$i]['central_columns']
487 $cfg['Servers'][$i]['central_columns'] = '';
490 * table to store designer settings
491 * - leave blank to disable the storage of designer settings
492 * SUGGESTED: 'pma__designer_settings'
494 * @global string $cfg['Servers'][$i]['designer_settings']
496 $cfg['Servers'][$i]['designer_settings'] = '';
499 * table to store export templates
500 * - leave blank to disable saved searches feature
501 * SUGGESTED: 'pma__export_templates'
503 * @global string $cfg['Servers'][$i]['export_templates']
505 $cfg['Servers'][$i]['export_templates'] = '';
508 * Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
510 * In case where tables in databases is modified (e.g. dropped or renamed),
511 * table_uiprefs may contains invalid data (referring to tables which are not
512 * exist anymore).
513 * This configuration make sure that we only keep N (N = MaxTableUiprefs)
514 * newest record in table_uiprefs and automatically delete older records.
516 * @global integer $cfg['Servers'][$i]['userconfig'] = '';
518 $cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
521 * Sets the time zone used by phpMyAdmin. Possible values are explained at
522 * https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html
524 * @global string $cfg['Servers'][$i]['SessionTimeZone'] = ''
526 $cfg['Servers'][$i]['SessionTimeZone'] = '';
529 * whether to allow root login
531 * @global boolean $cfg['Servers'][$i]['AllowRoot']
533 $cfg['Servers'][$i]['AllowRoot'] = true;
536 * whether to allow login of any user without a password
538 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
540 $cfg['Servers'][$i]['AllowNoPassword'] = false;
543 * Host authentication order, leave blank to not use
545 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
547 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
550 * Host authentication rules, leave blank for defaults
552 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
554 $cfg['Servers'][$i]['AllowDeny']['rules'] = [];
557 * Disable use of INFORMATION_SCHEMA.
559 * @see https://github.com/phpmyadmin/phpmyadmin/issues/8970
560 * @see https://bugs.mysql.com/19588
562 * @global boolean $cfg['Servers'][$i]['DisableIS']
564 $cfg['Servers'][$i]['DisableIS'] = false;
567 * Whether the tracking mechanism creates
568 * versions for tables and views automatically.
570 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
572 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
575 * Defines the list of statements
576 * the auto-creation uses for new versions.
578 * @global string $cfg['Servers'][$i]['tracking_default_statements']
580 $cfg['Servers'][$i]['tracking_default_statements']
581 = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,CREATE INDEX,' .
582 'DROP INDEX,INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,CREATE VIEW,' .
583 'ALTER VIEW,DROP VIEW,CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
586 * Whether a DROP VIEW IF EXISTS statement will be added
587 * as first line to the log when creating a view.
589 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
591 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
594 * Whether a DROP TABLE IF EXISTS statement will be added
595 * as first line to the log when creating a table.
597 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
599 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
602 * Whether a DROP DATABASE IF EXISTS statement will be added
603 * as first line to the log when creating a database.
605 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
607 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
610 * Whether to show or hide detailed MySQL/MariaDB connection errors on the login page.
612 * @global bool $cfg['Servers'][$i]['hide_connection_errors']
614 $cfg['Servers'][$i]['hide_connection_errors'] = false;
617 * Default server (0 = no default server)
619 * If you have more than one server configured, you can set $cfg['ServerDefault']
620 * to any one of them to auto-connect to that server when phpMyAdmin is started,
621 * or set it to 0 to be given a list of servers without logging in
622 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
623 * set to that server.
625 * @global integer $cfg['ServerDefault']
627 $cfg['ServerDefault'] = 1;
630 * Other core phpMyAdmin settings
634 * whether version check is active
636 * @global boolean $cfg['VersionCheck']
638 if (defined('VERSION_CHECK_DEFAULT')) {
639 $cfg['VersionCheck'] = VERSION_CHECK_DEFAULT;
640 } else {
641 $cfg['VersionCheck'] = true;
645 * The url of the proxy to be used when retrieving the information about
646 * the latest version of phpMyAdmin or error reporting. You need this if
647 * the server where phpMyAdmin is installed does not have direct access to
648 * the internet.
649 * The format is: "hostname:portnumber"
651 * @global string $cfg['ProxyUrl']
653 $cfg['ProxyUrl'] = '';
656 * The username for authenticating with the proxy. By default, no
657 * authentication is performed. If a username is supplied, Basic
658 * Authentication will be performed. No other types of authentication
659 * are currently supported.
661 * @global string $cfg['ProxyUser']
663 $cfg['ProxyUser'] = '';
666 * The password for authenticating with the proxy.
668 * @global string $cfg['ProxyPass']
670 $cfg['ProxyPass'] = '';
673 * maximum number of db's displayed in database list
675 * @global integer $cfg['MaxDbList']
677 $cfg['MaxDbList'] = 100;
680 * maximum number of tables displayed in table list
682 * @global integer $cfg['MaxTableList']
684 $cfg['MaxTableList'] = 250;
687 * whether to show hint or not
689 * @global boolean $cfg['ShowHint']
691 $cfg['ShowHint'] = true;
694 * maximum number of characters when a SQL query is displayed
696 * @global integer $cfg['MaxCharactersInDisplayedSQL']
698 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
701 * use GZIP output buffering if possible (true|false|'auto')
703 * @global string $cfg['OBGzip']
705 $cfg['OBGzip'] = 'auto';
708 * use persistent connections to MySQL database
710 * @global boolean $cfg['PersistentConnections']
712 $cfg['PersistentConnections'] = false;
715 * maximum execution time in seconds (0 for no limit)
717 * @global integer $cfg['ExecTimeLimit']
719 $cfg['ExecTimeLimit'] = 300;
722 * Path for storing session data (session_save_path PHP parameter).
724 * @global integer $cfg['SessionSavePath']
726 $cfg['SessionSavePath'] = '';
729 * Hosts or IPs to consider safe when checking if SSL is used or not
731 * @global array $cfg['MysqlSslWarningSafeHosts']
733 $cfg['MysqlSslWarningSafeHosts'] = ['127.0.0.1', 'localhost'];
736 * maximum allocated bytes ('-1' for no limit, '0' for no change)
737 * this is a string because '16M' is a valid value; we must put here
738 * a string as the default value so that /setup accepts strings
740 * @global string $cfg['MemoryLimit']
742 $cfg['MemoryLimit'] = '-1';
745 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
747 * @global boolean $cfg['SkipLockedTables']
749 $cfg['SkipLockedTables'] = false;
752 * show SQL queries as run
754 * @global boolean $cfg['ShowSQL']
756 $cfg['ShowSQL'] = true;
759 * retain SQL input on Ajax execute
761 * @global boolean $cfg['RetainQueryEditor']
763 $cfg['RetainQueryBox'] = false;
766 * use CodeMirror syntax highlighting for editing SQL
768 * @global boolean $cfg['CodemirrorEnable']
770 $cfg['CodemirrorEnable'] = true;
773 * use the parser to find any errors in the query before executing
775 * @global boolean $cfg['LintEnable']
777 $cfg['LintEnable'] = true;
780 * show a 'Drop database' link to normal users
782 * @global boolean $cfg['AllowUserDropDatabase']
784 $cfg['AllowUserDropDatabase'] = false;
787 * confirm some commands that can result in loss of data
789 * @global boolean $cfg['Confirm']
791 $cfg['Confirm'] = true;
794 * sets SameSite attribute of the Set-Cookie HTTP response header
796 * Valid values are:
797 * - Lax
798 * - Strict
799 * - None
801 * @global string $cfg['CookieSameSite']
803 $cfg['CookieSameSite'] = 'Strict';
806 * recall previous login in cookie authentication mode or not
808 * @global boolean $cfg['LoginCookieRecall']
810 $cfg['LoginCookieRecall'] = true;
813 * validity of cookie login (in seconds; 1440 matches php.ini's
814 * session.gc_maxlifetime)
816 * @global integer $cfg['LoginCookieValidity']
818 $cfg['LoginCookieValidity'] = 1440;
821 * how long login cookie should be stored (in seconds)
823 * @global integer $cfg['LoginCookieStore']
825 $cfg['LoginCookieStore'] = 0;
828 * whether to delete all login cookies on logout
830 * @global boolean $cfg['LoginCookieDeleteAll']
832 $cfg['LoginCookieDeleteAll'] = true;
835 * whether to enable the "database search" feature or not
837 * @global boolean $cfg['UseDbSearch']
839 $cfg['UseDbSearch'] = true;
842 * if set to true, PMA continues computing multiple-statement queries
843 * even if one of the queries failed
845 * @global boolean $cfg['IgnoreMultiSubmitErrors']
847 $cfg['IgnoreMultiSubmitErrors'] = false;
850 * Define whether phpMyAdmin will encrypt sensitive data from the URL query string.
852 * @global bool $cfg['URLQueryEncryption']
854 $cfg['URLQueryEncryption'] = false;
857 * A secret key used to encrypt/decrypt the URL query string. Should be 32 bytes long.
859 * @global string $cfg['URLQueryEncryptionSecretKey']
861 $cfg['URLQueryEncryptionSecretKey'] = '';
864 * allow login to any user entered server in cookie based authentication
866 * @global boolean $cfg['AllowArbitraryServer']
868 $cfg['AllowArbitraryServer'] = false;
871 * restrict by IP (with regular expression) the MySQL servers the user can enter
872 * when $cfg['AllowArbitraryServer'] = true
874 * @global string $cfg['ArbitraryServerRegexp']
876 $cfg['ArbitraryServerRegexp'] = '';
879 * To enable reCaptcha v2 checkbox mode if necessary
881 * @global string $cfg['CaptchaMethod']
883 $cfg['CaptchaMethod'] = 'invisible';
886 * URL for the reCaptcha v2 compatible API to use
888 * @global string $cfg['CaptchaApi']
890 $cfg['CaptchaApi'] = 'https://www.google.com/recaptcha/api.js';
893 * Content-Security-Policy snippet for the reCaptcha v2 compatible API
895 * @global string $cfg['CaptchaCsp']
897 $cfg['CaptchaCsp'] = 'https://apis.google.com https://www.google.com/recaptcha/'
898 . ' https://www.gstatic.com/recaptcha/ https://ssl.gstatic.com/';
901 * reCaptcha API's request parameter name
903 * @global string $cfg['CaptchaRequestParam']
905 $cfg['CaptchaRequestParam'] = 'g-recaptcha';
908 * reCaptcha API's response parameter name
910 * @global string $cfg['CaptchaResponseParam']
912 $cfg['CaptchaResponseParam'] = 'g-recaptcha-response';
915 * if reCaptcha is enabled it needs public key to connect with the service
917 * @global string $cfg['CaptchaLoginPublicKey']
919 $cfg['CaptchaLoginPublicKey'] = '';
922 * if reCaptcha is enabled it needs private key to connect with the service
924 * @global string $cfg['CaptchaLoginPrivateKey']
926 $cfg['CaptchaLoginPrivateKey'] = '';
929 * if reCaptcha is enabled may need an URL for site verify
931 * @global string $cfg['CaptchaSiteVerifyURL']
933 $cfg['CaptchaSiteVerifyURL'] = '';
936 * Enable drag and drop import
938 * @see feature request : https://github.com/phpmyadmin/phpmyadmin/issues/13155
940 * @global bool $cfg['enable_drag_drop_import']
942 $cfg['enable_drag_drop_import'] = true;
944 /*******************************************************************************
945 * Navigation panel setup
949 * In the navigation panel, replaces the database tree with a selector
951 * @global boolean $cfg['ShowDatabasesNavigationAsTree']
953 $cfg['ShowDatabasesNavigationAsTree'] = true;
956 * maximum number of first level databases displayed in navigation panel
958 * @global integer $cfg['FirstLevelNavigationItems']
960 $cfg['FirstLevelNavigationItems'] = 100;
963 * maximum number of items displayed in navigation panel
965 * @global integer $cfg['MaxNavigationItems']
967 $cfg['MaxNavigationItems'] = 50;
970 * turn the select-based light menu into a tree
972 * @global boolean $cfg['NavigationTreeEnableGrouping']
974 $cfg['NavigationTreeEnableGrouping'] = true;
977 * the separator to sub-tree the select-based light menu tree
979 * @global string $cfg['NavigationTreeDbSeparator']
981 $cfg['NavigationTreeDbSeparator'] = '_';
984 * Which string will be used to generate table prefixes
985 * to split/nest tables into multiple categories
987 * @global string $cfg['NavigationTreeTableSeparator']
989 $cfg['NavigationTreeTableSeparator'] = '__';
992 * How many sublevels should be displayed when splitting up tables
993 * by the above Separator
995 * @global integer $cfg['NavigationTreeTableLevel']
997 $cfg['NavigationTreeTableLevel'] = 1;
1000 * link with main panel by highlighting the current db/table
1002 * @global boolean $cfg['NavigationLinkWithMainPanel']
1004 $cfg['NavigationLinkWithMainPanel'] = true;
1007 * display logo at top of navigation panel
1009 * @global boolean $cfg['NavigationDisplayLogo']
1011 $cfg['NavigationDisplayLogo'] = true;
1014 * where should logo link point to (can also contain an external URL)
1016 * @global string $cfg['NavigationLogoLink']
1018 $cfg['NavigationLogoLink'] = 'index.php';
1021 * whether to open the linked page in the main window ('main') or
1022 * in a new window ('new')
1024 * @global string $cfg['NavigationLogoLinkWindow']
1026 $cfg['NavigationLogoLinkWindow'] = 'main';
1029 * number of recently used tables displayed in the navigation panel
1031 * @global integer $cfg['NumRecentTables']
1033 $cfg['NumRecentTables'] = 10;
1036 * number of favorite tables displayed in the navigation panel
1038 * @global integer $cfg['NumFavoriteTables']
1040 $cfg['NumFavoriteTables'] = 10;
1043 * display a JavaScript table filter in the navigation panel
1044 * when more then x tables are present
1046 * @global boolean $cfg['NavigationTreeDisplayItemFilterMinimum']
1048 $cfg['NavigationTreeDisplayItemFilterMinimum'] = 30;
1051 * display server choice at top of navigation panel
1053 * @global boolean $cfg['NavigationDisplayServers']
1055 $cfg['NavigationDisplayServers'] = true;
1058 * server choice as links
1060 * @global boolean $cfg['DisplayServersList']
1062 $cfg['DisplayServersList'] = false;
1065 * display a JavaScript database filter in the navigation panel
1066 * when more then x databases are present
1068 * @global boolean $cfg['NavigationTreeDisplayDbFilterMinimum']
1070 $cfg['NavigationTreeDisplayDbFilterMinimum'] = 30;
1073 * target of the navigation panel quick access icon
1075 * Possible values:
1076 * 'structure' = fields list
1077 * 'sql' = SQL form
1078 * 'search' = search page
1079 * 'insert' = insert row page
1080 * 'browse' = browse page
1082 * @global string $cfg['NavigationTreeDefaultTabTable']
1084 $cfg['NavigationTreeDefaultTabTable'] = 'structure';
1087 * target of the navigation panel quick second access icon
1089 * Possible values:
1090 * 'structure' = fields list
1091 * 'sql' = SQL form
1092 * 'search' = search page
1093 * 'insert' = insert row page
1094 * 'browse' = browse page
1095 * '' = no link
1097 * @global string $cfg['NavigationTreeDefaultTabTable2']
1099 $cfg['NavigationTreeDefaultTabTable2'] = '';
1102 * Enables the possibility of navigation tree expansion
1104 * @global boolean $cfg['NavigationTreeEnableExpansion']
1106 $cfg['NavigationTreeEnableExpansion'] = true;
1109 * Show tables in navigation panel
1111 * @global boolean $cfg['NavigationTreeShowTables']
1113 $cfg['NavigationTreeShowTables'] = true;
1116 * Show views in navigation panel
1118 * @global boolean $cfg['NavigationTreeShowViews']
1120 $cfg['NavigationTreeShowViews'] = true;
1123 * Show functions in navigation panel
1125 * @global boolean $cfg['NavigationTreeShowFunctions']
1127 $cfg['NavigationTreeShowFunctions'] = true;
1130 * Show procedures in navigation panel
1132 * @global boolean $cfg['NavigationTreeShowProcedures']
1134 $cfg['NavigationTreeShowProcedures'] = true;
1137 * Show events in navigation panel
1139 * @global boolean $cfg['NavigationTreeShowEvents']
1141 $cfg['NavigationTreeShowEvents'] = true;
1144 * Width of navigation panel
1146 * @global integer $cfg['NavigationWidth']
1148 $cfg['NavigationWidth'] = 240;
1151 * Automatically expands single database in navigation panel
1153 * @global boolean $cfg['NavigationAutoexpandSingleDb']
1155 $cfg['NavigationTreeAutoexpandSingleDb'] = true;
1157 /*******************************************************************************
1158 * In the main panel, at startup...
1162 * allow to display statistics and space usage in the pages about database
1163 * details and table properties
1165 * @global boolean $cfg['ShowStats']
1167 $cfg['ShowStats'] = true;
1170 * show PHP info link
1172 * @global boolean $cfg['ShowPhpInfo']
1174 $cfg['ShowPhpInfo'] = false;
1177 * show MySQL server and web server information
1179 * @global boolean $cfg['ShowServerInfo']
1181 $cfg['ShowServerInfo'] = true;
1184 * show change password link
1186 * @global boolean $cfg['ShowChgPassword']
1188 $cfg['ShowChgPassword'] = true;
1191 * show create database form
1193 * @global boolean $cfg['ShowCreateDb']
1195 $cfg['ShowCreateDb'] = true;
1198 /*******************************************************************************
1199 * Database structure
1202 /** show charset column in database structure (true|false)?
1204 * @global boolean $cfg['ShowDbStructureCharset']
1206 $cfg['ShowDbStructureCharset'] = false;
1209 * show comment column in database structure (true|false)?
1211 * @global boolean $cfg['ShowDbStructureComment']
1213 $cfg['ShowDbStructureComment'] = false;
1216 * show creation timestamp column in database structure (true|false)?
1218 * @global boolean $cfg['ShowDbStructureCreation']
1220 $cfg['ShowDbStructureCreation'] = false;
1223 * show last update timestamp column in database structure (true|false)?
1225 * @global boolean $cfg['ShowDbStructureLastUpdate']
1227 $cfg['ShowDbStructureLastUpdate'] = false;
1230 * show last check timestamp column in database structure (true|false)?
1232 * @global boolean $cfg['ShowDbStructureLastCheck']
1234 $cfg['ShowDbStructureLastCheck'] = false;
1237 * allow hide action columns to drop down menu in database structure (true|false)?
1239 * @global boolean $cfg['HideStructureActions']
1241 $cfg['HideStructureActions'] = true;
1244 * Show column comments in table structure view (true|false)?
1246 * @global boolean $cfg['ShowColumnComments']
1248 $cfg['ShowColumnComments'] = true;
1251 /*******************************************************************************
1252 * In browse mode...
1256 * Use icons instead of text for the navigation bar buttons (table browse)
1257 * ('text'|'icons'|'both')
1259 * @global string $cfg['TableNavigationLinksMode']
1261 $cfg['TableNavigationLinksMode'] = 'icons';
1264 * Defines whether a user should be displayed a "show all (records)"
1265 * button in browse mode or not.
1267 * @global boolean $cfg['ShowAll']
1269 $cfg['ShowAll'] = false;
1272 * Number of rows displayed when browsing a result set. If the result
1273 * set contains more rows, "Previous" and "Next".
1274 * Possible values: 25,50,100,250,500
1276 * @global integer $cfg['MaxRows']
1278 $cfg['MaxRows'] = 25;
1281 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
1282 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
1283 * ascending order else-)
1285 * @global string $cfg['Order']
1287 $cfg['Order'] = 'SMART';
1290 * grid editing: save edited cell(s) in browse-mode at once
1292 * @global boolean $cfg['SaveCellsAtOnce']
1294 $cfg['SaveCellsAtOnce'] = false;
1297 * grid editing: which action triggers it, or completely disable the feature
1299 * Possible values:
1300 * 'click'
1301 * 'double-click'
1302 * 'disabled'
1304 * @global string $cfg['GridEditing']
1306 $cfg['GridEditing'] = 'double-click';
1309 * Options > Relational display
1311 * Possible values:
1312 * 'K' for key value
1313 * 'D' for display column
1315 * @global string $cfg['RelationalDisplay']
1317 $cfg['RelationalDisplay'] = 'K';
1320 /*******************************************************************************
1321 * In edit mode...
1325 * disallow editing of binary fields
1326 * valid values are:
1327 * false allow editing
1328 * 'blob' allow editing except for BLOB fields
1329 * 'noblob' disallow editing except for BLOB fields
1330 * 'all' disallow editing
1332 * @global string $cfg['ProtectBinary']
1334 $cfg['ProtectBinary'] = 'blob';
1337 * Display the function fields in edit/insert mode
1339 * @global boolean $cfg['ShowFunctionFields']
1341 $cfg['ShowFunctionFields'] = true;
1344 * Display the type fields in edit/insert mode
1346 * @global boolean $cfg['ShowFieldTypesInDataEditView']
1348 $cfg['ShowFieldTypesInDataEditView'] = true;
1351 * Which editor should be used for CHAR/VARCHAR fields:
1352 * input - allows limiting of input length
1353 * textarea - allows newlines in fields
1355 * @global string $cfg['CharEditing']
1357 $cfg['CharEditing'] = 'input';
1360 * The minimum size for character input fields
1362 * @global integer $cfg['MinSizeForInputField']
1364 $cfg['MinSizeForInputField'] = 4;
1367 * The maximum size for character input fields
1369 * @global integer $cfg['MinSizeForInputField']
1371 $cfg['MaxSizeForInputField'] = 60;
1374 * How many rows can be inserted at one time
1376 * @global integer $cfg['InsertRows']
1378 $cfg['InsertRows'] = 2;
1381 * Sort order for items in a foreign-key drop-down list.
1382 * 'content' is the referenced data, 'id' is the key value.
1384 * @global array $cfg['ForeignKeyDropdownOrder']
1386 $cfg['ForeignKeyDropdownOrder'] = [
1387 'content-id',
1388 'id-content',
1392 * A drop-down list will be used if fewer items are present
1394 * @global integer $cfg['ForeignKeyMaxLimit']
1396 $cfg['ForeignKeyMaxLimit'] = 100;
1399 * Whether to disable foreign key checks while importing
1401 * @global boolean $cfg['DefaultForeignKeyChecks']
1403 $cfg['DefaultForeignKeyChecks'] = 'default';
1405 /*******************************************************************************
1406 * For the export features...
1410 * Allow for the use of zip compression (requires zip support to be enabled)
1412 * @global boolean $cfg['ZipDump']
1414 $cfg['ZipDump'] = true;
1417 * Allow for the use of gzip compression (requires zlib)
1419 * @global boolean $cfg['GZipDump']
1421 $cfg['GZipDump'] = true;
1424 * Allow for the use of bzip2 decompression (requires bz2 extension)
1426 * @global boolean $cfg['BZipDump']
1428 $cfg['BZipDump'] = true;
1431 * Will compress gzip exports on the fly without the need for much memory.
1432 * If you encounter problems with created gzip files disable this feature.
1434 * @global boolean $cfg['CompressOnFly']
1436 $cfg['CompressOnFly'] = true;
1439 /*******************************************************************************
1440 * Tabs display settings
1444 * How to display the menu tabs ('icons'|'text'|'both')
1446 * @global boolean $cfg['TabsMode']
1448 $cfg['TabsMode'] = 'both';
1451 * How to display various action links ('icons'|'text'|'both')
1453 * @global boolean $cfg['ActionLinksMode']
1455 $cfg['ActionLinksMode'] = 'both';
1458 * How many columns should be used for table display of a database?
1459 * (a value larger than 1 results in some information being hidden)
1461 * @global integer $cfg['PropertiesNumColumns']
1463 $cfg['PropertiesNumColumns'] = 1;
1466 * Possible values:
1467 * 'welcome' = the welcome page
1468 * (recommended for multiuser setups)
1469 * 'databases' = list of databases
1470 * 'status' = runtime information
1471 * 'variables' = MySQL server variables
1472 * 'privileges' = user management
1474 * @global string $cfg['DefaultTabServer']
1476 $cfg['DefaultTabServer'] = 'welcome';
1479 * Possible values:
1480 * 'structure' = tables list
1481 * 'sql' = SQL form
1482 * 'search' = search query
1483 * 'operations' = operations on database
1485 * @global string $cfg['DefaultTabDatabase']
1487 $cfg['DefaultTabDatabase'] = 'structure';
1490 * Possible values:
1491 * 'structure' = fields list
1492 * 'sql' = SQL form
1493 * 'search' = search page
1494 * 'insert' = insert row page
1495 * 'browse' = browse page
1497 * @global string $cfg['DefaultTabTable']
1499 $cfg['DefaultTabTable'] = 'browse';
1502 * Whether to display image or text or both image and text in table row
1503 * action segment. Value can be either of ``image``, ``text`` or ``both``.
1505 $cfg['RowActionType'] = 'both';
1507 /*******************************************************************************
1508 * Export defaults
1510 $cfg['Export'] = [];
1513 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xml/yaml
1515 * @global string $cfg['Export']['format']
1517 $cfg['Export']['format'] = 'sql';
1520 * quick/custom/custom-no-form
1522 * @global string $cfg['Export']['format']
1524 $cfg['Export']['method'] = 'quick';
1527 * none/zip/gzip
1529 * @global string $cfg['Export']['compression']
1531 $cfg['Export']['compression'] = 'none';
1534 * Whether to LOCK TABLES before exporting
1536 * @global boolean $cfg['Export']['lock_tables']
1538 $cfg['Export']['lock_tables'] = false;
1541 * Whether to export databases/tables as separate files
1543 * @global boolean $cfg['Export']['as_separate_files']
1545 $cfg['Export']['as_separate_files'] = false;
1548 * @global boolean $cfg['Export']['asfile']
1550 $cfg['Export']['asfile'] = true;
1553 * @global string $cfg['Export']['charset']
1555 $cfg['Export']['charset'] = '';
1558 * @global boolean $cfg['Export']['onserver']
1560 $cfg['Export']['onserver'] = false;
1563 * @global boolean $cfg['Export']['onserver_overwrite']
1565 $cfg['Export']['onserver_overwrite'] = false;
1568 * @global boolean $cfg['Export']['quick_export_onserver']
1570 $cfg['Export']['quick_export_onserver'] = false;
1573 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1575 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1578 * @global boolean $cfg['Export']['remember_file_template']
1580 $cfg['Export']['remember_file_template'] = true;
1583 * @global string $cfg['Export']['file_template_table']
1585 $cfg['Export']['file_template_table'] = '@TABLE@';
1588 * @global string $cfg['Export']['file_template_database']
1590 $cfg['Export']['file_template_database'] = '@DATABASE@';
1593 * @global string $cfg['Export']['file_template_server']
1595 $cfg['Export']['file_template_server'] = '@SERVER@';
1598 * @global string $cfg['Export']['codegen_structure_or_data']
1600 $cfg['Export']['codegen_structure_or_data'] = 'data';
1603 * @global $cfg['Export']['codegen_format']
1605 $cfg['Export']['codegen_format'] = 0;
1608 * @global boolean $cfg['Export']['ods_columns']
1610 $cfg['Export']['ods_columns'] = false;
1613 * @global string $cfg['Export']['ods_null']
1615 $cfg['Export']['ods_null'] = 'NULL';
1618 * @global string $cfg['Export']['odt_structure_or_data']
1620 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1623 * @global boolean $cfg['Export']['odt_columns']
1625 $cfg['Export']['odt_columns'] = true;
1628 * @global boolean $cfg['Export']['odt_relation']
1630 $cfg['Export']['odt_relation'] = true;
1633 * @global boolean $cfg['Export']['odt_comments']
1635 $cfg['Export']['odt_comments'] = true;
1638 * @global boolean $cfg['Export']['odt_mime']
1640 $cfg['Export']['odt_mime'] = true;
1643 * @global string $cfg['Export']['odt_null']
1645 $cfg['Export']['odt_null'] = 'NULL';
1648 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1650 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1653 * @global boolean $cfg['Export']['htmlword_columns']
1655 $cfg['Export']['htmlword_columns'] = false;
1658 * @global string $cfg['Export']['htmlword_null']
1660 $cfg['Export']['htmlword_null'] = 'NULL';
1663 * @global string $cfg['Export']['texytext_structure_or_data']
1665 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1668 * @global boolean $cfg['Export']['texytext_columns']
1670 $cfg['Export']['texytext_columns'] = false;
1673 * @global string $cfg['Export']['texytext_null']
1675 $cfg['Export']['texytext_null'] = 'NULL';
1678 * @global boolean $cfg['Export']['csv_columns']
1680 $cfg['Export']['csv_columns'] = false;
1683 * @global string $cfg['Export']['csv_structure_or_data']
1685 $cfg['Export']['csv_structure_or_data'] = 'data';
1688 * @global string $cfg['Export']['csv_null']
1690 $cfg['Export']['csv_null'] = 'NULL';
1693 * @global string $cfg['Export']['csv_separator']
1695 $cfg['Export']['csv_separator'] = ',';
1698 * @global string $cfg['Export']['csv_enclosed']
1700 $cfg['Export']['csv_enclosed'] = '"';
1703 * @global string $cfg['Export']['csv_escaped']
1705 $cfg['Export']['csv_escaped'] = '"';
1708 * @global string $cfg['Export']['csv_terminated']
1710 $cfg['Export']['csv_terminated'] = 'AUTO';
1713 * @global string $cfg['Export']['csv_removeCRLF']
1715 $cfg['Export']['csv_removeCRLF'] = false;
1718 * @global boolean $cfg['Export']['excel_columns']
1720 $cfg['Export']['excel_columns'] = true;
1723 * @global string $cfg['Export']['excel_null']
1725 $cfg['Export']['excel_null'] = 'NULL';
1728 * win/mac
1730 * @global string $cfg['Export']['excel_edition']
1732 $cfg['Export']['excel_edition'] = 'win';
1735 * @global string $cfg['Export']['excel_removeCRLF']
1737 $cfg['Export']['excel_removeCRLF'] = false;
1740 * @global string $cfg['Export']['excel_structure_or_data']
1742 $cfg['Export']['excel_structure_or_data'] = 'data';
1745 * @global string $cfg['Export']['latex_structure_or_data']
1747 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1750 * @global boolean $cfg['Export']['latex_columns']
1752 $cfg['Export']['latex_columns'] = true;
1755 * @global boolean $cfg['Export']['latex_relation']
1757 $cfg['Export']['latex_relation'] = true;
1760 * @global boolean $cfg['Export']['latex_comments']
1762 $cfg['Export']['latex_comments'] = true;
1765 * @global boolean $cfg['Export']['latex_mime']
1767 $cfg['Export']['latex_mime'] = true;
1770 * @global string $cfg['Export']['latex_null']
1772 $cfg['Export']['latex_null'] = '\textit{NULL}';
1775 * @global boolean $cfg['Export']['latex_caption']
1777 $cfg['Export']['latex_caption'] = true;
1780 * @global string $cfg['Export']['latex_structure_caption']
1782 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1785 * @global string $cfg['Export']['latex_structure_continued_caption']
1787 $cfg['Export']['latex_structure_continued_caption']
1788 = 'strLatexStructure strLatexContinued';
1791 * @global string $cfg['Export']['latex_data_caption']
1793 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1796 * @global string $cfg['Export']['latex_data_continued_caption']
1798 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1801 * @global string $cfg['Export']['latex_data_label']
1803 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1806 * @global string $cfg['Export']['latex_structure_label']
1808 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1811 * @global string $cfg['Export']['mediawiki_structure_or_data']
1813 $cfg['Export']['mediawiki_structure_or_data'] = 'data';
1816 * @global boolean $cfg['Export']['mediawiki_caption']
1818 $cfg['Export']['mediawiki_caption'] = true;
1821 * @global boolean $cfg['Export']['mediawiki_headers']
1823 $cfg['Export']['mediawiki_headers'] = true;
1826 * @global string $cfg['Export']['ods_structure_or_data']
1828 $cfg['Export']['ods_structure_or_data'] = 'data';
1831 * @global string $cfg['Export']['pdf_structure_or_data']
1833 $cfg['Export']['pdf_structure_or_data'] = 'data';
1836 * @global string $cfg['Export']['phparray_structure_or_data']
1838 $cfg['Export']['phparray_structure_or_data'] = 'data';
1841 * @global string $cfg['Export']['json_structure_or_data']
1843 $cfg['Export']['json_structure_or_data'] = 'data';
1846 * Export functions
1848 * @global string $cfg['Export']['json_pretty_print']
1850 $cfg['Export']['json_pretty_print'] = false;
1853 * Export functions
1855 * @global string $cfg['Export']['json_unicode']
1857 $cfg['Export']['json_unicode'] = true;
1860 * @global string $cfg['Export']['sql_structure_or_data']
1862 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1865 * @global string $cfg['Export']['sql_compatibility']
1867 $cfg['Export']['sql_compatibility'] = 'NONE';
1870 * Whether to include comments in SQL export.
1872 * @global string $cfg['Export']['sql_include_comments']
1874 $cfg['Export']['sql_include_comments'] = true;
1877 * @global boolean $cfg['Export']['sql_disable_fk']
1879 $cfg['Export']['sql_disable_fk'] = false;
1882 * @global boolean $cfg['Export']['sql_views_as_tables']
1884 $cfg['Export']['sql_views_as_tables'] = false;
1887 * @global boolean $cfg['Export']['sql_metadata']
1889 $cfg['Export']['sql_metadata'] = false;
1892 * @global boolean $cfg['Export']['sql_use_transaction']
1894 $cfg['Export']['sql_use_transaction'] = true;
1897 * @global boolean $cfg['Export']['sql_create_database']
1899 $cfg['Export']['sql_create_database'] = false;
1902 * @global boolean $cfg['Export']['sql_drop_database']
1904 $cfg['Export']['sql_drop_database'] = false;
1907 * @global boolean $cfg['Export']['sql_drop_table']
1909 $cfg['Export']['sql_drop_table'] = false;
1912 * true by default for correct behavior when dealing with exporting
1913 * of VIEWs and the stand-in table
1915 * @global boolean $cfg['Export']['sql_if_not_exists']
1917 $cfg['Export']['sql_if_not_exists'] = false;
1920 * @global boolean $cfg['Export']['sql_view_current_user']
1922 $cfg['Export']['sql_view_current_user'] = false;
1925 * @global boolean $cfg['Export']['sql_or_replace']
1927 $cfg['Export']['sql_or_replace_view'] = false;
1930 * @global boolean $cfg['Export']['sql_procedure_function']
1932 $cfg['Export']['sql_procedure_function'] = true;
1935 * @global boolean $cfg['Export']['sql_create_table']
1937 $cfg['Export']['sql_create_table'] = true;
1940 * @global boolean $cfg['Export']['sql_create_view']
1942 $cfg['Export']['sql_create_view'] = true;
1945 * @global boolean $cfg['Export']['sql_create_trigger']
1947 $cfg['Export']['sql_create_trigger'] = true;
1950 * @global boolean $cfg['Export']['sql_auto_increment']
1952 $cfg['Export']['sql_auto_increment'] = true;
1955 * @global boolean $cfg['Export']['sql_backquotes']
1957 $cfg['Export']['sql_backquotes'] = true;
1960 * @global boolean $cfg['Export']['sql_dates']
1962 $cfg['Export']['sql_dates'] = false;
1965 * @global boolean $cfg['Export']['sql_relation']
1967 $cfg['Export']['sql_relation'] = false;
1970 * @global boolean $cfg['Export']['sql_truncate']
1972 $cfg['Export']['sql_truncate'] = false;
1975 * @global boolean $cfg['Export']['sql_delayed']
1977 $cfg['Export']['sql_delayed'] = false;
1980 * @global boolean $cfg['Export']['sql_ignore']
1982 $cfg['Export']['sql_ignore'] = false;
1985 * Export time in UTC.
1987 * @global boolean $cfg['Export']['sql_utc_time']
1989 $cfg['Export']['sql_utc_time'] = true;
1992 * @global boolean $cfg['Export']['sql_hex_for_binary']
1994 $cfg['Export']['sql_hex_for_binary'] = true;
1997 * insert/update/replace
1999 * @global string $cfg['Export']['sql_type']
2001 $cfg['Export']['sql_type'] = 'INSERT';
2004 * @global integer $cfg['Export']['sql_max_query_size']
2006 $cfg['Export']['sql_max_query_size'] = 50000;
2009 * @global boolean $cfg['Export']['sql_mime']
2011 $cfg['Export']['sql_mime'] = false;
2014 * \n is replaced by new line
2016 * @global string $cfg['Export']['sql_header_comment']
2018 $cfg['Export']['sql_header_comment'] = '';
2021 * Whether to use complete inserts, extended inserts, both, or neither
2023 * @global string $cfg['Export']['sql_insert_syntax']
2025 $cfg['Export']['sql_insert_syntax'] = 'both';
2028 * @global string $cfg['Export']['pdf_report_title']
2030 $cfg['Export']['pdf_report_title'] = '';
2033 * @global string $cfg['Export']['xml_structure_or_data']
2035 $cfg['Export']['xml_structure_or_data'] = 'data';
2038 * Export schema for each structure
2040 * @global string $cfg['Export']['xml_export_struc']
2042 $cfg['Export']['xml_export_struc'] = true;
2045 * Export events
2047 * @global string $cfg['Export']['xml_export_events']
2049 $cfg['Export']['xml_export_events'] = true;
2052 * Export functions
2054 * @global string $cfg['Export']['xml_export_functions']
2056 $cfg['Export']['xml_export_functions'] = true;
2059 * Export procedures
2061 * @global string $cfg['Export']['xml_export_procedures']
2063 $cfg['Export']['xml_export_procedures'] = true;
2066 * Export schema for each table
2068 * @global string $cfg['Export']['xml_export_tables']
2070 $cfg['Export']['xml_export_tables'] = true;
2073 * Export triggers
2075 * @global string $cfg['Export']['xml_export_triggers']
2077 $cfg['Export']['xml_export_triggers'] = true;
2080 * Export views
2082 * @global string $cfg['Export']['xml_export_views']
2084 $cfg['Export']['xml_export_views'] = true;
2087 * Export contents data
2089 * @global string $cfg['Export']['xml_export_contents']
2091 $cfg['Export']['xml_export_contents'] = true;
2094 * @global string $cfg['Export']['yaml_structure_or_data']
2096 $cfg['Export']['yaml_structure_or_data'] = 'data';
2098 /*******************************************************************************
2099 * Import defaults
2101 $cfg['Import'] = [];
2104 * @global string $cfg['Import']['format']
2106 $cfg['Import']['format'] = 'sql';
2109 * Default charset for import.
2111 * @global string $cfg['Import']['charset']
2113 $cfg['Import']['charset'] = '';
2116 * @global boolean $cfg['Import']['allow_interrupt']
2118 $cfg['Import']['allow_interrupt'] = true;
2121 * @global integer $cfg['Import']['skip_queries']
2123 $cfg['Import']['skip_queries'] = 0;
2126 * @global string $cfg['Import']['sql_compatibility']
2128 $cfg['Import']['sql_compatibility'] = 'NONE';
2131 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
2133 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
2136 * @global string $cfg['Import']['sql_read_as_multibytes']
2138 $cfg['Import']['sql_read_as_multibytes'] = false;
2141 * @global boolean $cfg['Import']['csv_replace']
2143 $cfg['Import']['csv_replace'] = false;
2146 * @global boolean $cfg['Import']['csv_ignore']
2148 $cfg['Import']['csv_ignore'] = false;
2151 * @global string $cfg['Import']['csv_terminated']
2153 $cfg['Import']['csv_terminated'] = ',';
2156 * @global string $cfg['Import']['csv_enclosed']
2158 $cfg['Import']['csv_enclosed'] = '"';
2161 * @global string $cfg['Import']['csv_escaped']
2163 $cfg['Import']['csv_escaped'] = '"';
2166 * @global string $cfg['Import']['csv_new_line']
2168 $cfg['Import']['csv_new_line'] = 'auto';
2171 * @global string $cfg['Import']['csv_columns']
2173 $cfg['Import']['csv_columns'] = '';
2176 * @global string $cfg['Import']['csv_col_names']
2178 $cfg['Import']['csv_col_names'] = false;
2181 * @global boolean $cfg['Import']['ldi_replace']
2183 $cfg['Import']['ldi_replace'] = false;
2186 * @global boolean $cfg['Import']['ldi_ignore']
2188 $cfg['Import']['ldi_ignore'] = false;
2191 * @global string $cfg['Import']['ldi_terminated']
2193 $cfg['Import']['ldi_terminated'] = ';';
2196 * @global string $cfg['Import']['ldi_enclosed']
2198 $cfg['Import']['ldi_enclosed'] = '"';
2201 * @global string $cfg['Import']['ldi_escaped']
2203 $cfg['Import']['ldi_escaped'] = '\\';
2206 * @global string $cfg['Import']['ldi_new_line']
2208 $cfg['Import']['ldi_new_line'] = 'auto';
2211 * @global string $cfg['Import']['ldi_columns']
2213 $cfg['Import']['ldi_columns'] = '';
2216 * 'auto' for auto-detection, true or false for forcing
2218 * @global string $cfg['Import']['ldi_local_option']
2220 $cfg['Import']['ldi_local_option'] = 'auto';
2223 * @global string $cfg['Import']['ods_col_names']
2225 $cfg['Import']['ods_col_names'] = false;
2228 * @global string $cfg['Import']['ods_empty_rows']
2230 $cfg['Import']['ods_empty_rows'] = true;
2233 * @global string $cfg['Import']['ods_recognize_percentages']
2235 $cfg['Import']['ods_recognize_percentages'] = true;
2238 * @global string $cfg['Import']['ods_recognize_currency']
2240 $cfg['Import']['ods_recognize_currency'] = true;
2242 /*******************************************************************************
2243 * Schema export defaults
2245 $cfg['Schema'] = [];
2248 * pdf/eps/dia/svg
2250 * @global string $cfg['Schema']['format']
2252 $cfg['Schema']['format'] = 'pdf';
2255 * @global string $cfg['Schema']['pdf_show_color']
2257 $cfg['Schema']['pdf_show_color'] = true;
2260 * @global string $cfg['Schema']['pdf_show_keys']
2262 $cfg['Schema']['pdf_show_keys'] = false;
2265 * @global string $cfg['Schema']['pdf_all_tables_same_width']
2267 $cfg['Schema']['pdf_all_tables_same_width'] = false;
2270 * L/P
2272 * @global string $cfg['Schema']['pdf_orientation']
2274 $cfg['Schema']['pdf_orientation'] = 'L';
2277 * @global string $cfg['Schema']['pdf_paper']
2279 $cfg['Schema']['pdf_paper'] = 'A4';
2282 * @global string $cfg['Schema']['pdf_show_grid']
2284 $cfg['Schema']['pdf_show_grid'] = false;
2287 * @global string $cfg['Schema']['pdf_with_doc']
2289 $cfg['Schema']['pdf_with_doc'] = true;
2292 * @global string $cfg['Schema']['pdf_table_order']
2294 $cfg['Schema']['pdf_table_order'] = '';
2297 * @global string $cfg['Schema']['dia_show_color']
2299 $cfg['Schema']['dia_show_color'] = true;
2302 * @global string $cfg['Schema']['dia_show_keys']
2304 $cfg['Schema']['dia_show_keys'] = false;
2307 * L/P
2309 * @global string $cfg['Schema']['dia_orientation']
2311 $cfg['Schema']['dia_orientation'] = 'L';
2314 * @global string $cfg['Schema']['dia_paper']
2316 $cfg['Schema']['dia_paper'] = 'A4';
2319 * @global string $cfg['Schema']['eps_show_color']
2321 $cfg['Schema']['eps_show_color'] = true;
2324 * @global string $cfg['Schema']['eps_show_keys']
2326 $cfg['Schema']['eps_show_keys'] = false;
2329 * @global string $cfg['Schema']['eps_all_tables_same_width']
2331 $cfg['Schema']['eps_all_tables_same_width'] = false;
2334 * L/P
2336 * @global string $cfg['Schema']['eps_orientation']
2338 $cfg['Schema']['eps_orientation'] = 'L';
2341 * @global string $cfg['Schema']['svg_show_color']
2343 $cfg['Schema']['svg_show_color'] = true;
2346 * @global string $cfg['Schema']['svg_show_keys']
2348 $cfg['Schema']['svg_show_keys'] = false;
2351 * @global string $cfg['Schema']['svg_all_tables_same_width']
2353 $cfg['Schema']['svg_all_tables_same_width'] = false;
2355 /*******************************************************************************
2356 * PDF options
2360 * @global array $cfg['PDFPageSizes']
2362 $cfg['PDFPageSizes'] = [
2363 'A3',
2364 'A4',
2365 'A5',
2366 'letter',
2367 'legal',
2371 * @global string $cfg['PDFDefaultPageSize']
2373 $cfg['PDFDefaultPageSize'] = 'A4';
2376 /*******************************************************************************
2377 * Language and character set conversion settings
2381 * Default language to use, if not browser-defined or user-defined
2383 * @global string $cfg['DefaultLang']
2385 $cfg['DefaultLang'] = 'en';
2388 * Default connection collation
2390 * @global string $cfg['DefaultConnectionCollation']
2392 $cfg['DefaultConnectionCollation'] = 'utf8mb4_unicode_ci';
2395 * Force: always use this language, e.g. 'en'
2397 * @global string $cfg['Lang']
2399 $cfg['Lang'] = '';
2402 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2403 * English only
2405 * @global string $cfg['FilterLanguages']
2407 $cfg['FilterLanguages'] = '';
2410 * You can select here which functions will be used for character set conversion.
2411 * Possible values are:
2412 * auto - automatically use available one (first is tested iconv, then
2413 * recode)
2414 * iconv - use iconv or libiconv functions
2415 * recode - use recode_string function
2416 * mb - use mbstring extension
2417 * none - disable encoding conversion
2419 * @global string $cfg['RecodingEngine']
2421 $cfg['RecodingEngine'] = 'auto';
2424 * Specify some parameters for iconv used in character set conversion. See iconv
2425 * documentation for details:
2426 * https://www.gnu.org/savannah-checkouts/gnu/libiconv/documentation/libiconv-1.15/iconv_open.3.html
2428 * @global string $cfg['IconvExtraParams']
2430 $cfg['IconvExtraParams'] = '//TRANSLIT';
2433 * Available character sets for MySQL conversion. currently contains all which could
2434 * be found in lang/* files and few more.
2435 * Character sets will be shown in same order as here listed, so if you frequently
2436 * use some of these move them to the top.
2438 * @global array $cfg['AvailableCharsets']
2440 $cfg['AvailableCharsets'] = [
2441 'iso-8859-1',
2442 'iso-8859-2',
2443 'iso-8859-3',
2444 'iso-8859-4',
2445 'iso-8859-5',
2446 'iso-8859-6',
2447 'iso-8859-7',
2448 'iso-8859-8',
2449 'iso-8859-9',
2450 'iso-8859-10',
2451 'iso-8859-11',
2452 'iso-8859-12',
2453 'iso-8859-13',
2454 'iso-8859-14',
2455 'iso-8859-15',
2456 'windows-1250',
2457 'windows-1251',
2458 'windows-1252',
2459 'windows-1256',
2460 'windows-1257',
2461 'koi8-r',
2462 'big5',
2463 'gb2312',
2464 'utf-16',
2465 'utf-8',
2466 'utf-7',
2467 'x-user-defined',
2468 'euc-jp',
2469 'ks_c_5601-1987',
2470 'tis-620',
2471 'SHIFT_JIS',
2472 'SJIS',
2473 'SJIS-win',
2477 /*******************************************************************************
2478 * Customization & design
2480 * The graphical settings are now located in themes/theme-name/scss/_variables.scss
2484 * enable the left panel pointer
2486 * @global boolean $cfg['NavigationTreePointerEnable']
2488 $cfg['NavigationTreePointerEnable'] = true;
2491 * enable the browse pointer
2493 * @global boolean $cfg['BrowsePointerEnable']
2495 $cfg['BrowsePointerEnable'] = true;
2498 * enable the browse marker
2500 * @global boolean $cfg['BrowseMarkerEnable']
2502 $cfg['BrowseMarkerEnable'] = true;
2505 * textarea size (columns) in edit mode
2506 * (this value will be emphasized (*2) for SQL
2507 * query textareas and (*1.25) for query window)
2509 * @global integer $cfg['TextareaCols']
2511 $cfg['TextareaCols'] = 40;
2514 * textarea size (rows) in edit mode
2516 * @global integer $cfg['TextareaRows']
2518 $cfg['TextareaRows'] = 15;
2521 * double size of textarea size for LONGTEXT columns
2523 * @global boolean $cfg['LongtextDoubleTextarea']
2525 $cfg['LongtextDoubleTextarea'] = true;
2528 * auto-select when clicking in the textarea of the query-box
2530 * @global boolean $cfg['TextareaAutoSelect']
2532 $cfg['TextareaAutoSelect'] = false;
2535 * textarea size (columns) for CHAR/VARCHAR
2537 * @global integer $cfg['CharTextareaCols']
2539 $cfg['CharTextareaCols'] = 40;
2542 * textarea size (rows) for CHAR/VARCHAR
2544 * @global integer $cfg['CharTextareaRows']
2546 $cfg['CharTextareaRows'] = 7;
2549 * Max field data length in browse mode for all non-numeric fields
2551 * @global integer $cfg['LimitChars']
2553 $cfg['LimitChars'] = 50;
2556 * Where to show the edit/copy/delete links in browse mode
2557 * Possible values are 'left', 'right', 'both' and 'none'.
2559 * @global string $cfg['RowActionLinks']
2561 $cfg['RowActionLinks'] = 'left';
2564 * Whether to show row links (Edit, Copy, Delete) and checkboxes for
2565 * multiple row operations even when the selection does not have a unique key.
2567 * @global boolean $cfg['RowActionLinksWithoutUnique']
2569 $cfg['RowActionLinksWithoutUnique'] = false;
2572 * Default sort order by primary key.
2574 * @global string $cfg['TablePrimaryKeyOrder']
2576 $cfg['TablePrimaryKeyOrder'] = 'NONE';
2579 * remember the last way a table sorted
2581 * @global string $cfg['RememberSorting']
2583 $cfg['RememberSorting'] = true;
2586 * shows column comments in 'browse' mode.
2588 * @global boolean $cfg['ShowBrowseComments']
2590 $cfg['ShowBrowseComments'] = true;
2593 * shows column comments in 'table property' mode.
2595 * @global boolean $cfg['ShowPropertyComments']
2597 $cfg['ShowPropertyComments'] = true;
2600 * repeat header names every X cells? (0 = deactivate)
2602 * @global integer $cfg['RepeatCells']
2604 $cfg['RepeatCells'] = 100;
2607 * Set to true if you want DB-based query history.If false, this utilizes
2608 * JS-routines to display query history (lost by window close)
2610 * @global boolean $cfg['QueryHistoryDB']
2612 $cfg['QueryHistoryDB'] = false;
2615 * When using DB-based query history, how many entries should be kept?
2617 * @global integer $cfg['QueryHistoryMax']
2619 $cfg['QueryHistoryMax'] = 25;
2622 * Use MIME-Types (stored in column comments table) for
2624 * @global boolean $cfg['BrowseMIME']
2626 $cfg['BrowseMIME'] = true;
2629 * When approximate count < this, PMA will get exact count for table rows.
2631 * @global integer $cfg['MaxExactCount']
2633 $cfg['MaxExactCount'] = 50000;
2636 * Zero means that no row count is done for views; see the doc
2638 * @global integer $cfg['MaxExactCountViews']
2640 $cfg['MaxExactCountViews'] = 0;
2643 * Sort table and database in natural order
2645 * @global boolean $cfg['NaturalOrder']
2647 $cfg['NaturalOrder'] = true;
2650 * Initial state for sliders
2651 * (open | closed | disabled)
2653 * @global string $cfg['InitialSlidersState']
2655 $cfg['InitialSlidersState'] = 'closed';
2658 * User preferences: disallow these settings
2659 * For possible setting names look in libraries/config/user_preferences.forms.php
2661 * @global array $cfg['UserprefsDisallow']
2663 $cfg['UserprefsDisallow'] = [];
2666 * User preferences: enable the Developer tab
2668 $cfg['UserprefsDeveloperTab'] = false;
2670 /*******************************************************************************
2671 * Window title settings
2675 * title of browser window when a table is selected
2677 * @global string $cfg['TitleTable']
2679 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2682 * title of browser window when a database is selected
2684 * @global string $cfg['TitleDatabase']
2686 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2689 * title of browser window when a server is selected
2691 * @global string $cfg['TitleServer']
2693 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2696 * title of browser window when nothing is selected
2698 * @global string $cfg['TitleDefault']
2700 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2703 /*******************************************************************************
2704 * theme manager
2708 * if you want to use selectable themes and if ThemesPath not empty
2709 * set it to true, else set it to false (default is false);
2711 * @global boolean $cfg['ThemeManager']
2713 $cfg['ThemeManager'] = true;
2716 * set up default theme, you can set up here an valid
2717 * path to themes or 'original' for the original pma-theme
2719 * @global string $cfg['ThemeDefault']
2721 $cfg['ThemeDefault'] = 'pmahomme';
2724 * allow different theme for each configured server
2726 * @global boolean $cfg['ThemePerServer']
2728 $cfg['ThemePerServer'] = false;
2732 * Default query for table
2734 * @global string $cfg['DefaultQueryTable']
2736 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2739 * Default query for database
2741 * @global string $cfg['DefaultQueryDatabase']
2743 $cfg['DefaultQueryDatabase'] = '';
2746 /*******************************************************************************
2747 * SQL Query box settings
2748 * These are the links display in all of the SQL Query boxes
2750 * @global array $cfg['SQLQuery']
2752 $cfg['SQLQuery'] = [];
2755 * Display an "Edit" link on the results page to change a query
2757 * @global boolean $cfg['SQLQuery']['Edit']
2759 $cfg['SQLQuery']['Edit'] = true;
2762 * Display an "Explain SQL" link on the results page
2764 * @global boolean $cfg['SQLQuery']['Explain']
2766 $cfg['SQLQuery']['Explain'] = true;
2769 * Display a "Create PHP code" link on the results page to wrap a query in PHP
2771 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2773 $cfg['SQLQuery']['ShowAsPHP'] = true;
2776 * Display a "Refresh" link on the results page
2778 * @global boolean $cfg['SQLQuery']['Refresh']
2780 $cfg['SQLQuery']['Refresh'] = true;
2783 * Enables autoComplete for table & column names in SQL queries
2785 * default = 'true'
2787 $cfg['EnableAutocompleteForTablesAndColumns'] = true;
2790 /*******************************************************************************
2791 * Web server upload/save/import directories
2795 * Directory for uploaded files that can be executed by phpMyAdmin.
2796 * For example './upload'. Leave empty for no upload directory support.
2797 * Use %u for username inclusion.
2799 * @global string $cfg['UploadDir']
2801 $cfg['UploadDir'] = '';
2804 * Directory where phpMyAdmin can save exported data on server.
2805 * For example './save'. Leave empty for no save directory support.
2806 * Use %u for username inclusion.
2808 * @global string $cfg['SaveDir']
2810 $cfg['SaveDir'] = '';
2813 * Directory where phpMyAdmin can save temporary files.
2815 * @global string $cfg['TempDir']
2817 if (defined('TEMP_DIR')) {
2818 $cfg['TempDir'] = TEMP_DIR;
2819 } else {
2820 $cfg['TempDir'] = ROOT_PATH . 'tmp' . DIRECTORY_SEPARATOR;
2825 * Misc. settings
2829 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2830 * which is the only safe way to determine GD version.
2832 * @global string $cfg['GD2Available']
2834 $cfg['GD2Available'] = 'auto';
2837 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2839 * @global array $cfg['TrustedProxies']
2841 $cfg['TrustedProxies'] = [];
2844 * We normally check the permissions on the configuration file to ensure
2845 * it's not world writable. However, phpMyAdmin could be installed on
2846 * a NTFS filesystem mounted on a non-Windows server, in which case the
2847 * permissions seems wrong but in fact cannot be detected. In this case
2848 * a sysadmin would set the following to false.
2850 $cfg['CheckConfigurationPermissions'] = true;
2853 * Limit for length of URL in links. When length would be above this limit, it
2854 * is replaced by form with button.
2855 * This is required as some web servers (IIS) have problems with long URLs.
2856 * The recommended limit is 2000
2857 * (see https://www.boutell.com/newfaq/misc/urllength.html) but we put
2858 * 1000 to accommodate Suhosin, see bug #3358750.
2860 $cfg['LinkLengthLimit'] = 1000;
2863 * Additional string to allow in CSP headers.
2865 $cfg['CSPAllow'] = '';
2868 * Disable the table maintenance mass operations, like optimizing or
2869 * repairing the selected tables of a database. An accidental execution
2870 * of such a maintenance task can enormously slow down a bigger database.
2872 $cfg['DisableMultiTableMaintenance'] = false;
2875 * Whether or not to query the user before sending the error report to
2876 * the phpMyAdmin team when a JavaScript error occurs
2878 * Available options
2879 * (ask | always | never)
2881 * @global string $cfg['SendErrorReports']
2883 $cfg['SendErrorReports'] = 'ask';
2886 * Whether Enter or Ctrl+Enter executes queries in the console.
2888 * @global boolean $cfg['ConsoleEnterExecutes']
2890 $cfg['ConsoleEnterExecutes'] = false;
2893 * Zero Configuration mode.
2895 * @global boolean $cfg['ZeroConf']
2897 $cfg['ZeroConf'] = true;
2899 /*******************************************************************************
2900 * Developers ONLY!
2902 * @global array $cfg['DBG']
2904 $cfg['DBG'] = [];
2907 * Output executed queries and their execution times
2909 * @global boolean $cfg['DBG']['sql']
2911 $cfg['DBG']['sql'] = false;
2914 * Log executed queries and their execution times to syslog
2916 * @global boolean $cfg['DBG']['sqllog']
2918 $cfg['DBG']['sqllog'] = false;
2921 * Enable to let server present itself as demo server.
2923 * @global boolean $cfg['DBG']['demo']
2925 $cfg['DBG']['demo'] = false;
2928 * Enable Simple two-factor authentication
2930 * @global boolean $cfg['DBG']['simple2fa']
2932 $cfg['DBG']['simple2fa'] = false;
2935 * Sets the working environment
2937 * This only needs to be changed when you are developing phpMyAdmin itself.
2938 * The development mode may display debug information in some places.
2940 * Possible values are 'production' or 'development'
2942 $cfg['environment'] = 'production';
2944 /*******************************************************************************
2945 * MySQL settings
2949 * Default functions for above defined groups
2951 * @global array $cfg['DefaultFunctions']
2953 $cfg['DefaultFunctions'] = [
2954 'FUNC_CHAR' => '',
2955 'FUNC_DATE' => '',
2956 'FUNC_NUMBER' => '',
2957 'FUNC_SPATIAL' => 'GeomFromText',
2958 'FUNC_UUID' => 'UUID',
2959 'first_timestamp' => 'NOW',
2963 * Max rows retrieved for zoom search
2965 $cfg['maxRowPlotLimit'] = 500;
2968 * Show Git revision if applicable
2970 * @global boolean $cfg['ShowGitRevision']
2972 $cfg['ShowGitRevision'] = true;
2975 * MySQL minimal version required
2977 * @global array $cfg['MysqlMinVersion']
2979 $cfg['MysqlMinVersion'] = [
2980 'internal' => 50500,
2981 'human' => '5.5.0',
2985 * Disable shortcuts
2987 * @global array $cfg['DisableShortcutKeys']
2989 $cfg['DisableShortcutKeys'] = false;
2992 * Console configuration
2994 * This is mostly meant for user preferences.
2996 $cfg['Console'] = [
2997 'StartHistory' => false,
2998 'AlwaysExpand' => false,
2999 'CurrentQuery' => true,
3000 'EnterExecutes' => false,
3001 'DarkTheme' => false,
3002 'Mode' => 'info',
3003 'Height' => 92,
3004 'GroupQueries' => false,
3005 'OrderBy' => 'exec',
3006 'Order' => 'asc',
3010 /*******************************************************************************
3011 * Default options for transformations
3015 * Initialize default transformations array
3017 * @global array $cfg['DefaultTransformations']
3019 $cfg['DefaultTransformations'] = [];
3022 * Default transformations for Substring
3024 * @global array $cfg['DefaultTransformations']['Substring']
3026 $cfg['DefaultTransformations']['Substring'] = [
3028 'all',
3029 '…',
3033 * Default transformations for Bool2Text
3035 * @global array $cfg['DefaultTransformations']['Bool2Text']
3037 $cfg['DefaultTransformations']['Bool2Text'] = [
3038 'T',
3039 'F',
3043 * Default transformations for External
3045 * @global array $cfg['DefaultTransformations']['External']
3047 $cfg['DefaultTransformations']['External'] = [
3049 '-f /dev/null -i -wrap -q',
3055 * Default transformations for PreApPend
3057 * @global array $cfg['DefaultTransformations']['PreApPend']
3059 $cfg['DefaultTransformations']['PreApPend'] = [
3065 * Default transformations for Hex
3067 * @global array $cfg['DefaultTransformations']['Hex']
3069 $cfg['DefaultTransformations']['Hex'] = ['2'];
3072 * Default transformations for DateFormat
3074 * @global array $cfg['DefaultTransformations']['DateFormat']
3076 $cfg['DefaultTransformations']['DateFormat'] = [
3079 'local',
3083 * Set default for FirstDayOfCalendar
3085 * @global integer $cfg['FirstDayOfCalendar']
3087 $cfg['FirstDayOfCalendar'] = 0;
3090 * Default transformations for Inline
3092 * @global array $cfg['DefaultTransformations']['Inline']
3094 $cfg['DefaultTransformations']['Inline'] = [
3095 '100',
3096 100,
3098 $cfg['DefaultTransformations']['Inline']['wrapper_link'] = null;
3099 $cfg['DefaultTransformations']['Inline']['wrapper_params'] = [];
3102 * Default transformations for TextImageLink
3104 * @global array $cfg['DefaultTransformations']['TextImageLink']
3106 $cfg['DefaultTransformations']['TextImageLink'] = [
3107 null,
3108 100,
3113 * Default transformations for TextLink
3115 * @global array $cfg['DefaultTransformations']['TextLink']
3117 $cfg['DefaultTransformations']['TextLink'] = [
3118 null,
3119 null,
3120 null,