Translated using Weblate (Dutch)
[phpmyadmin.git] / libraries / config.default.php
blobd1bb8f86a3e374f13c24aa26c8313ad6deb8e5cc
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']
37 * @psalm-suppress PossiblyUndefinedGlobalVariable
39 $cfg['PmaAbsoluteUri'] = '';
41 /**
42 * Configure authentication logging destination
44 * @global string $cfg['AuthLog']
46 $cfg['AuthLog'] = 'auto';
48 /**
49 * Whether to log successful authentication attempts
51 * @global boolean $cfg['AuthLogSuccess']
53 $cfg['AuthLogSuccess'] = false;
55 /**
56 * Disable the default warning that is displayed on the DB Details Structure page if
57 * any of the required Tables for the configuration storage could not be found
59 * @global boolean $cfg['PmaNoRelation_DisableWarning']
61 $cfg['PmaNoRelation_DisableWarning'] = false;
63 /**
64 * Disable the default warning that is displayed if Suhosin is detected
66 * @global boolean $cfg['SuhosinDisableWarning']
68 $cfg['SuhosinDisableWarning'] = false;
70 /**
71 * Disable the default warning that is displayed if session.gc_maxlifetime
72 * is less than `LoginCookieValidity`
74 * @global boolean $cfg['LoginCookieValidityDisableWarning']
76 $cfg['LoginCookieValidityDisableWarning'] = false;
78 /**
79 * Disable the default warning about MySQL reserved words in column names
81 * @global boolean $cfg['ReservedWordDisableWarning']
83 $cfg['ReservedWordDisableWarning'] = false;
85 /**
86 * Show warning about incomplete translations on certain threshold.
88 * @global boolean $cfg['TranslationWarningThreshold']
90 $cfg['TranslationWarningThreshold'] = 80;
92 /**
93 * Allows phpMyAdmin to be included from a other document in a frame;
94 * setting this to true is a potential security hole. Setting this to
95 * 'sameorigin' prevents phpMyAdmin to be included from another document
96 * in a frame, unless that document belongs to the same domain.
98 * @global boolean|string $cfg['AllowThirdPartyFraming']
100 $cfg['AllowThirdPartyFraming'] = false;
103 * The 'cookie' auth_type uses AES algorithm to encrypt the password. If
104 * at least one server configuration uses 'cookie' auth_type, enter here a
105 * pass phrase that will be used by AES. The maximum length seems to be 46
106 * characters.
108 * @global string $cfg['blowfish_secret']
110 $cfg['blowfish_secret'] = '';
113 /*******************************************************************************
114 * Server(s) configuration
116 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
117 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
118 * to ''. If you want more than one server, just copy following section
119 * (including $i incrementation) several times. There is no need to define
120 * full server array, just define values you need to change.
122 * @global array $cfg['Servers']
124 $cfg['Servers'] = [];
126 $i = 1;
129 * MySQL hostname or IP address
131 * @global string $cfg['Servers'][$i]['host']
133 $cfg['Servers'][$i]['host'] = 'localhost';
136 * MySQL port - leave blank for default port
138 * @global string $cfg['Servers'][$i]['port']
140 $cfg['Servers'][$i]['port'] = '';
143 * Path to the socket - leave blank for default socket
145 * @global string $cfg['Servers'][$i]['socket']
147 $cfg['Servers'][$i]['socket'] = '';
150 * Use SSL for connecting to MySQL server?
152 * @global boolean $cfg['Servers'][$i]['ssl']
154 $cfg['Servers'][$i]['ssl'] = false;
157 * Path to the key file when using SSL for connecting to the MySQL server
159 * @global string $cfg['Servers'][$i]['ssl_key']
161 $cfg['Servers'][$i]['ssl_key'] = null;
164 * Path to the cert file when using SSL for connecting to the MySQL server
166 * @global string $cfg['Servers'][$i]['ssl_cert']
168 $cfg['Servers'][$i]['ssl_cert'] = null;
171 * Path to the CA file when using SSL for connecting to the MySQL server
173 * @global string $cfg['Servers'][$i]['ssl_ca']
175 $cfg['Servers'][$i]['ssl_ca'] = null;
178 * Directory containing trusted SSL CA certificates in PEM format
180 * @global string $cfg['Servers'][$i]['ssl_ca_path']
182 $cfg['Servers'][$i]['ssl_ca_path'] = null;
185 * List of allowable ciphers for SSL connections to the MySQL server
187 * @global string $cfg['Servers'][$i]['ssl_ciphers']
189 $cfg['Servers'][$i]['ssl_ciphers'] = null;
192 * MySQL 5.6 or later triggers the mysqlnd driver in PHP to validate the
193 * peer_name of the SSL certifcate
194 * For most self-signed certificates this is a problem. Setting this to false
195 * will disable the check and allow the connection (PHP 5.6.16 or later)
197 * @link https://bugs.php.net/68344
199 * @global string $cfg['Servers'][$i]['ssl_verify']
201 $cfg['Servers'][$i]['ssl_verify'] = true;
204 * Use compressed protocol for the MySQL connection
206 * @global boolean $cfg['Servers'][$i]['compress']
208 $cfg['Servers'][$i]['compress'] = false;
211 * MySQL control host. This permits to use a host different than the
212 * main host, for the phpMyAdmin configuration storage. If left empty,
213 * $cfg['Servers'][$i]['host'] is used instead.
215 * @global string $cfg['Servers'][$i]['controlhost']
217 $cfg['Servers'][$i]['controlhost'] = '';
220 * MySQL control port. This permits to use a port different than the
221 * main port, for the phpMyAdmin configuration storage. If left empty,
222 * $cfg['Servers'][$i]['port'] is used instead.
224 * @global string $cfg['Servers'][$i]['controlport']
226 $cfg['Servers'][$i]['controlport'] = '';
229 * MySQL control user settings (this user must have read-only
230 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
231 * used for all relational features (pmadb)
233 * @global string $cfg['Servers'][$i]['controluser']
235 $cfg['Servers'][$i]['controluser'] = '';
238 * MySQL control user settings (this user must have read-only
239 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
240 * used for all relational features (pmadb)
242 * @global string $cfg['Servers'][$i]['controlpass']
244 $cfg['Servers'][$i]['controlpass'] = '';
247 * Authentication method (valid choices: config, http, signon or cookie)
249 * @global string $cfg['Servers'][$i]['auth_type']
251 $cfg['Servers'][$i]['auth_type'] = 'cookie';
254 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
256 * @global string $cfg['Servers'][$i]['auth_http_realm']
258 $cfg['Servers'][$i]['auth_http_realm'] = '';
261 * MySQL user
263 * @global string $cfg['Servers'][$i]['user']
265 $cfg['Servers'][$i]['user'] = 'root';
268 * MySQL password (only needed with 'config' auth_type)
270 * @global string $cfg['Servers'][$i]['password']
272 $cfg['Servers'][$i]['password'] = '';
275 * Session to use for 'signon' authentication method
277 * @global string $cfg['Servers'][$i]['SignonSession']
279 $cfg['Servers'][$i]['SignonSession'] = '';
282 * Cookie params to match session to use for 'signon' authentication method
283 * It should be an associative array matching result of session_get_cookie_params() in other system
285 * @global array $cfg['Servers'][$i]['SignonCookieParams']
287 $cfg['Servers'][$i]['SignonCookieParams'] = [];
290 * PHP script to use for 'signon' authentication method
292 * @global string $cfg['Servers'][$i]['SignonScript']
294 $cfg['Servers'][$i]['SignonScript'] = '';
297 * URL where to redirect user to login for 'signon' authentication method
299 * @global string $cfg['Servers'][$i]['SignonURL']
301 $cfg['Servers'][$i]['SignonURL'] = '';
304 * URL where to redirect user after logout
306 * @global string $cfg['Servers'][$i]['LogoutURL']
308 $cfg['Servers'][$i]['LogoutURL'] = '';
311 * If set to a db-name, only this db is displayed in navigation panel
312 * It may also be an array of db-names
314 * @global string $cfg['Servers'][$i]['only_db']
316 $cfg['Servers'][$i]['only_db'] = '';
319 * Database name to be hidden from listings
321 * @global string $cfg['Servers'][$i]['hide_db']
323 $cfg['Servers'][$i]['hide_db'] = '';
326 * Verbose name for this host - leave blank to show the hostname
327 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
329 * @global string $cfg['Servers'][$i]['verbose']
331 $cfg['Servers'][$i]['verbose'] = '';
334 * Database used for Relation, Bookmark and PDF Features
335 * (see sql/create_tables.sql)
336 * - leave blank for no support
337 * SUGGESTED: 'phpmyadmin'
339 * @global string $cfg['Servers'][$i]['pmadb']
341 $cfg['Servers'][$i]['pmadb'] = '';
344 * Bookmark table
345 * - leave blank for no bookmark support
346 * SUGGESTED: 'pma__bookmark'
348 * @global string $cfg['Servers'][$i]['bookmarktable']
350 $cfg['Servers'][$i]['bookmarktable'] = '';
353 * table to describe the relation between links (see doc)
354 * - leave blank for no relation-links support
355 * SUGGESTED: 'pma__relation'
357 * @global string $cfg['Servers'][$i]['relation']
359 $cfg['Servers'][$i]['relation'] = '';
362 * table to describe the display fields
363 * - leave blank for no display fields support
364 * SUGGESTED: 'pma__table_info'
366 * @global string $cfg['Servers'][$i]['table_info']
368 $cfg['Servers'][$i]['table_info'] = '';
371 * table to describe the tables position for the designer and PDF schema
372 * - leave blank for no PDF schema support
373 * SUGGESTED: 'pma__table_coords'
375 * @global string $cfg['Servers'][$i]['table_coords']
377 $cfg['Servers'][$i]['table_coords'] = '';
380 * table to describe pages of relationpdf
381 * - leave blank if you don't want to use this
382 * SUGGESTED: 'pma__pdf_pages'
384 * @global string $cfg['Servers'][$i]['pdf_pages']
386 $cfg['Servers'][$i]['pdf_pages'] = '';
389 * table to store column information
390 * - leave blank for no column comments/mime types
391 * SUGGESTED: 'pma__column_info'
393 * @global string $cfg['Servers'][$i]['column_info']
395 $cfg['Servers'][$i]['column_info'] = '';
398 * table to store SQL history
399 * - leave blank for no SQL query history
400 * SUGGESTED: 'pma__history'
402 * @global string $cfg['Servers'][$i]['history']
404 $cfg['Servers'][$i]['history'] = '';
407 * table to store recently used tables
408 * - leave blank for no "persistent" recently used tables
409 * SUGGESTED: 'pma__recent'
411 $cfg['Servers'][$i]['recent'] = '';
414 * table to store favorite tables
415 * - leave blank for no favorite tables
416 * SUGGESTED: 'pma__favorite'
418 $cfg['Servers'][$i]['favorite'] = '';
421 * table to store UI preferences for tables
422 * - leave blank for no "persistent" UI preferences
423 * SUGGESTED: 'pma__table_uiprefs'
425 $cfg['Servers'][$i]['table_uiprefs'] = '';
428 * table to store SQL tracking
429 * - leave blank for no SQL tracking
430 * SUGGESTED: 'pma__tracking'
432 * @global string $cfg['Servers'][$i]['tracking']
434 $cfg['Servers'][$i]['tracking'] = '';
437 * table to store user preferences
438 * - leave blank to disable server storage
439 * SUGGESTED: 'pma__userconfig'
441 * @global string $cfg['Servers'][$i]['userconfig']
443 $cfg['Servers'][$i]['userconfig'] = '';
446 * table to store users and their assignment to user groups
447 * - leave blank to disable configurable menus feature
448 * SUGGESTED: 'pma__users'
450 * @global string $cfg['Servers'][$i]['users']
452 $cfg['Servers'][$i]['users'] = '';
455 * table to store allowed menu items for each user group
456 * - leave blank to disable configurable menus feature
457 * SUGGESTED: 'pma__usergroups'
459 * @global string $cfg['Servers'][$i]['usergroups']
461 $cfg['Servers'][$i]['usergroups'] = '';
464 * table to store information about item hidden from navigation tree
465 * - leave blank to disable hide/show navigation items feature
466 * SUGGESTED: 'pma__navigationhiding'
468 * @global string $cfg['Servers'][$i]['navigationhiding']
470 $cfg['Servers'][$i]['navigationhiding'] = '';
473 * table to store information about saved searches from query-by-example on a db
474 * - leave blank to disable saved searches feature
475 * SUGGESTED: 'pma__savedsearches'
477 * @global string $cfg['Servers'][$i]['savedsearches']
479 $cfg['Servers'][$i]['savedsearches'] = '';
482 * table to store central list of columns per database
483 * - leave blank to disable central list of columns feature
484 * SUGGESTED: 'pma__central_columns'
486 * @global string $cfg['Servers'][$i]['central_columns']
488 $cfg['Servers'][$i]['central_columns'] = '';
491 * table to store designer settings
492 * - leave blank to disable the storage of designer settings
493 * SUGGESTED: 'pma__designer_settings'
495 * @global string $cfg['Servers'][$i]['designer_settings']
497 $cfg['Servers'][$i]['designer_settings'] = '';
500 * table to store export templates
501 * - leave blank to disable saved searches feature
502 * SUGGESTED: 'pma__export_templates'
504 * @global string $cfg['Servers'][$i]['export_templates']
506 $cfg['Servers'][$i]['export_templates'] = '';
509 * Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
511 * In case where tables in databases is modified (e.g. dropped or renamed),
512 * table_uiprefs may contains invalid data (referring to tables which are not
513 * exist anymore).
514 * This configuration make sure that we only keep N (N = MaxTableUiprefs)
515 * newest record in table_uiprefs and automatically delete older records.
517 * @global integer $cfg['Servers'][$i]['userconfig'] = '';
519 $cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
522 * Sets the time zone used by phpMyAdmin. Possible values are explained at
523 * https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html
525 * @global string $cfg['Servers'][$i]['SessionTimeZone'] = ''
527 $cfg['Servers'][$i]['SessionTimeZone'] = '';
530 * whether to allow root login
532 * @global boolean $cfg['Servers'][$i]['AllowRoot']
534 $cfg['Servers'][$i]['AllowRoot'] = true;
537 * whether to allow login of any user without a password
539 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
541 $cfg['Servers'][$i]['AllowNoPassword'] = false;
544 * Host authentication order, leave blank to not use
546 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
548 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
551 * Host authentication rules, leave blank for defaults
553 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
555 $cfg['Servers'][$i]['AllowDeny']['rules'] = [];
558 * Disable use of INFORMATION_SCHEMA.
560 * @see https://github.com/phpmyadmin/phpmyadmin/issues/8970
561 * @see https://bugs.mysql.com/19588
563 * @global boolean $cfg['Servers'][$i]['DisableIS']
565 $cfg['Servers'][$i]['DisableIS'] = false;
568 * Whether the tracking mechanism creates
569 * versions for tables and views automatically.
571 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
573 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
576 * Defines the list of statements
577 * the auto-creation uses for new versions.
579 * @global string $cfg['Servers'][$i]['tracking_default_statements']
581 $cfg['Servers'][$i]['tracking_default_statements'] = '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 * Default server (0 = no default server)
612 * If you have more than one server configured, you can set $cfg['ServerDefault']
613 * to any one of them to auto-connect to that server when phpMyAdmin is started,
614 * or set it to 0 to be given a list of servers without logging in
615 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
616 * set to that server.
618 * @global integer $cfg['ServerDefault']
620 $cfg['ServerDefault'] = 1;
623 * Other core phpMyAdmin settings
627 * whether version check is active
629 * @global boolean $cfg['VersionCheck']
631 if (defined('VERSION_CHECK_DEFAULT')) {
632 $cfg['VersionCheck'] = VERSION_CHECK_DEFAULT;
633 } else {
634 $cfg['VersionCheck'] = true;
638 * The url of the proxy to be used when retrieving the information about
639 * the latest version of phpMyAdmin or error reporting. You need this if
640 * the server where phpMyAdmin is installed does not have direct access to
641 * the internet.
642 * The format is: "hostname:portnumber"
644 * @global string $cfg['ProxyUrl']
646 $cfg['ProxyUrl'] = '';
649 * The username for authenticating with the proxy. By default, no
650 * authentication is performed. If a username is supplied, Basic
651 * Authentication will be performed. No other types of authentication
652 * are currently supported.
654 * @global string $cfg['ProxyUser']
656 $cfg['ProxyUser'] = '';
659 * The password for authenticating with the proxy.
661 * @global string $cfg['ProxyPass']
663 $cfg['ProxyPass'] = '';
666 * maximum number of db's displayed in database list
668 * @global integer $cfg['MaxDbList']
670 $cfg['MaxDbList'] = 100;
673 * maximum number of tables displayed in table list
675 * @global integer $cfg['MaxTableList']
677 $cfg['MaxTableList'] = 250;
680 * whether to show hint or not
682 * @global boolean $cfg['ShowHint']
684 $cfg['ShowHint'] = true;
687 * maximum number of characters when a SQL query is displayed
689 * @global integer $cfg['MaxCharactersInDisplayedSQL']
691 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
694 * use GZIP output buffering if possible (true|false|'auto')
696 * @global string $cfg['OBGzip']
698 $cfg['OBGzip'] = 'auto';
701 * use persistent connections to MySQL database
703 * @global boolean $cfg['PersistentConnections']
705 $cfg['PersistentConnections'] = false;
708 * maximum execution time in seconds (0 for no limit)
710 * @global integer $cfg['ExecTimeLimit']
712 $cfg['ExecTimeLimit'] = 300;
715 * Path for storing session data (session_save_path PHP parameter).
717 * @global integer $cfg['SessionSavePath']
719 $cfg['SessionSavePath'] = '';
722 * Hosts or IPs to consider safe when checking if SSL is used or not
724 * @global array $cfg['MysqlSslWarningSafeHosts']
726 $cfg['MysqlSslWarningSafeHosts'] = ['127.0.0.1', 'localhost'];
729 * maximum allocated bytes ('-1' for no limit, '0' for no change)
730 * this is a string because '16M' is a valid value; we must put here
731 * a string as the default value so that /setup accepts strings
733 * @global string $cfg['MemoryLimit']
735 $cfg['MemoryLimit'] = '-1';
738 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
740 * @global boolean $cfg['SkipLockedTables']
742 $cfg['SkipLockedTables'] = false;
745 * show SQL queries as run
747 * @global boolean $cfg['ShowSQL']
749 $cfg['ShowSQL'] = true;
752 * retain SQL input on Ajax execute
754 * @global boolean $cfg['RetainQueryEditor']
756 $cfg['RetainQueryBox'] = false;
759 * use CodeMirror syntax highlighting for editing SQL
761 * @global boolean $cfg['CodemirrorEnable']
763 $cfg['CodemirrorEnable'] = true;
766 * use the parser to find any errors in the query before executing
768 * @global boolean $cfg['LintEnable']
770 $cfg['LintEnable'] = true;
773 * show a 'Drop database' link to normal users
775 * @global boolean $cfg['AllowUserDropDatabase']
777 $cfg['AllowUserDropDatabase'] = false;
780 * confirm some commands that can result in loss of data
782 * @global boolean $cfg['Confirm']
784 $cfg['Confirm'] = true;
787 * sets SameSite attribute of the Set-Cookie HTTP response header
789 * Valid values are:
790 * - Lax
791 * - Strict
792 * - None
794 * @global string $cfg['CookieSameSite']
796 $cfg['CookieSameSite'] = 'Strict';
799 * recall previous login in cookie authentication mode or not
801 * @global boolean $cfg['LoginCookieRecall']
803 $cfg['LoginCookieRecall'] = true;
806 * validity of cookie login (in seconds; 1440 matches php.ini's
807 * session.gc_maxlifetime)
809 * @global integer $cfg['LoginCookieValidity']
811 $cfg['LoginCookieValidity'] = 1440;
814 * how long login cookie should be stored (in seconds)
816 * @global integer $cfg['LoginCookieStore']
818 $cfg['LoginCookieStore'] = 0;
821 * whether to delete all login cookies on logout
823 * @global boolean $cfg['LoginCookieDeleteAll']
825 $cfg['LoginCookieDeleteAll'] = true;
828 * whether to enable the "database search" feature or not
830 * @global boolean $cfg['UseDbSearch']
832 $cfg['UseDbSearch'] = true;
835 * if set to true, PMA continues computing multiple-statement queries
836 * even if one of the queries failed
838 * @global boolean $cfg['IgnoreMultiSubmitErrors']
840 $cfg['IgnoreMultiSubmitErrors'] = false;
843 * allow login to any user entered server in cookie based authentication
845 * @global boolean $cfg['AllowArbitraryServer']
847 $cfg['AllowArbitraryServer'] = false;
850 * restrict by IP (with regular expression) the MySQL servers the user can enter
851 * when $cfg['AllowArbitraryServer'] = true
853 * @global string $cfg['ArbitraryServerRegexp']
855 $cfg['ArbitraryServerRegexp'] = '';
858 * To enable reCaptcha v2 checkbox mode if necessary
860 * @global string $cfg['CaptchaMethod']
862 $cfg['CaptchaMethod'] = 'invisible';
865 * URL for the reCaptcha v2 compatible API to use
867 * @global string $cfg['CaptchaApi']
869 $cfg['CaptchaApi'] = 'https://www.google.com/recaptcha/api.js';
872 * Content-Security-Policy snippet for the reCaptcha v2 compatible API
874 * @global string $cfg['CaptchaCsp']
876 $cfg['CaptchaCsp'] = 'https://apis.google.com https://www.google.com/recaptcha/'
877 . ' https://www.gstatic.com/recaptcha/ https://ssl.gstatic.com/';
880 * reCaptcha API's request parameter name
882 * @global string $cfg['CaptchaRequestParam']
884 $cfg['CaptchaRequestParam'] = 'g-recaptcha';
887 * reCaptcha API's response parameter name
889 * @global string $cfg['CaptchaResponseParam']
891 $cfg['CaptchaResponseParam'] = 'g-recaptcha-response';
894 * if reCaptcha is enabled it needs public key to connect with the service
896 * @global string $cfg['CaptchaLoginPublicKey']
898 $cfg['CaptchaLoginPublicKey'] = '';
901 * if reCaptcha is enabled it needs private key to connect with the service
903 * @global string $cfg['CaptchaLoginPrivateKey']
905 $cfg['CaptchaLoginPrivateKey'] = '';
908 * if reCaptcha is enabled may need an URL for site verify
910 * @global string $cfg['CaptchaSiteVerifyURL']
912 $cfg['CaptchaSiteVerifyURL'] = '';
915 * Enable drag and drop import
917 * @see feature request : https://github.com/phpmyadmin/phpmyadmin/issues/13155
919 * @global bool $cfg['enable_drag_drop_import']
921 $cfg['enable_drag_drop_import'] = true;
923 /*******************************************************************************
924 * Navigation panel setup
928 * In the navigation panel, replaces the database tree with a selector
930 * @global boolean $cfg['ShowDatabasesNavigationAsTree']
932 $cfg['ShowDatabasesNavigationAsTree'] = true;
935 * maximum number of first level databases displayed in navigation panel
937 * @global integer $cfg['FirstLevelNavigationItems']
939 $cfg['FirstLevelNavigationItems'] = 100;
942 * maximum number of items displayed in navigation panel
944 * @global integer $cfg['MaxNavigationItems']
946 $cfg['MaxNavigationItems'] = 50;
949 * turn the select-based light menu into a tree
951 * @global boolean $cfg['NavigationTreeEnableGrouping']
953 $cfg['NavigationTreeEnableGrouping'] = true;
956 * the separator to sub-tree the select-based light menu tree
958 * @global string $cfg['NavigationTreeDbSeparator']
960 $cfg['NavigationTreeDbSeparator'] = '_';
963 * Which string will be used to generate table prefixes
964 * to split/nest tables into multiple categories
966 * @global string $cfg['NavigationTreeTableSeparator']
968 $cfg['NavigationTreeTableSeparator'] = '__';
971 * How many sublevels should be displayed when splitting up tables
972 * by the above Separator
974 * @global integer $cfg['NavigationTreeTableLevel']
976 $cfg['NavigationTreeTableLevel'] = 1;
979 * link with main panel by highlighting the current db/table
981 * @global boolean $cfg['NavigationLinkWithMainPanel']
983 $cfg['NavigationLinkWithMainPanel'] = true;
986 * display logo at top of navigation panel
988 * @global boolean $cfg['NavigationDisplayLogo']
990 $cfg['NavigationDisplayLogo'] = true;
993 * where should logo link point to (can also contain an external URL)
995 * @global string $cfg['NavigationLogoLink']
997 $cfg['NavigationLogoLink'] = 'index.php';
1000 * whether to open the linked page in the main window ('main') or
1001 * in a new window ('new')
1003 * @global string $cfg['NavigationLogoLinkWindow']
1005 $cfg['NavigationLogoLinkWindow'] = 'main';
1008 * number of recently used tables displayed in the navigation panel
1010 * @global integer $cfg['NumRecentTables']
1012 $cfg['NumRecentTables'] = 10;
1015 * number of favorite tables displayed in the navigation panel
1017 * @global integer $cfg['NumFavoriteTables']
1019 $cfg['NumFavoriteTables'] = 10;
1022 * display a JavaScript table filter in the navigation panel
1023 * when more then x tables are present
1025 * @global boolean $cfg['NavigationTreeDisplayItemFilterMinimum']
1027 $cfg['NavigationTreeDisplayItemFilterMinimum'] = 30;
1030 * display server choice at top of navigation panel
1032 * @global boolean $cfg['NavigationDisplayServers']
1034 $cfg['NavigationDisplayServers'] = true;
1037 * server choice as links
1039 * @global boolean $cfg['DisplayServersList']
1041 $cfg['DisplayServersList'] = false;
1044 * display a JavaScript database filter in the navigation panel
1045 * when more then x databases are present
1047 * @global boolean $cfg['NavigationTreeDisplayDbFilterMinimum']
1049 $cfg['NavigationTreeDisplayDbFilterMinimum'] = 30;
1052 * target of the navigation panel quick access icon
1054 * Possible values:
1055 * 'structure' = fields list
1056 * 'sql' = SQL form
1057 * 'search' = search page
1058 * 'insert' = insert row page
1059 * 'browse' = browse page
1061 * @global string $cfg['NavigationTreeDefaultTabTable']
1063 $cfg['NavigationTreeDefaultTabTable'] = 'structure';
1066 * target of the navigation panel quick second access icon
1068 * Possible values:
1069 * 'structure' = fields list
1070 * 'sql' = SQL form
1071 * 'search' = search page
1072 * 'insert' = insert row page
1073 * 'browse' = browse page
1074 * '' = no link
1076 * @global string $cfg['NavigationTreeDefaultTabTable2']
1078 $cfg['NavigationTreeDefaultTabTable2'] = '';
1081 * Enables the possibility of navigation tree expansion
1083 * @global boolean $cfg['NavigationTreeEnableExpansion']
1085 $cfg['NavigationTreeEnableExpansion'] = true;
1088 * Show tables in navigation panel
1090 * @global boolean $cfg['NavigationTreeShowTables']
1092 $cfg['NavigationTreeShowTables'] = true;
1095 * Show views in navigation panel
1097 * @global boolean $cfg['NavigationTreeShowViews']
1099 $cfg['NavigationTreeShowViews'] = true;
1102 * Show functions in navigation panel
1104 * @global boolean $cfg['NavigationTreeShowFunctions']
1106 $cfg['NavigationTreeShowFunctions'] = true;
1109 * Show procedures in navigation panel
1111 * @global boolean $cfg['NavigationTreeShowProcedures']
1113 $cfg['NavigationTreeShowProcedures'] = true;
1116 * Show events in navigation panel
1118 * @global boolean $cfg['NavigationTreeShowEvents']
1120 $cfg['NavigationTreeShowEvents'] = true;
1123 * Width of navigation panel
1125 * @global integer $cfg['NavigationWidth']
1127 $cfg['NavigationWidth'] = 240;
1130 * Automatically expands single database in navigation panel
1132 * @global boolean $cfg['NavigationAutoexpandSingleDb']
1134 $cfg['NavigationTreeAutoexpandSingleDb'] = true;
1136 /*******************************************************************************
1137 * In the main panel, at startup...
1141 * allow to display statistics and space usage in the pages about database
1142 * details and table properties
1144 * @global boolean $cfg['ShowStats']
1146 $cfg['ShowStats'] = true;
1149 * show PHP info link
1151 * @global boolean $cfg['ShowPhpInfo']
1153 $cfg['ShowPhpInfo'] = false;
1156 * show MySQL server and web server information
1158 * @global boolean $cfg['ShowServerInfo']
1160 $cfg['ShowServerInfo'] = true;
1163 * show change password link
1165 * @global boolean $cfg['ShowChgPassword']
1167 $cfg['ShowChgPassword'] = true;
1170 * show create database form
1172 * @global boolean $cfg['ShowCreateDb']
1174 $cfg['ShowCreateDb'] = true;
1177 /*******************************************************************************
1178 * Database structure
1182 * show charset column in database structure (true|false)?
1184 * @global boolean $cfg['ShowDbStructureCharset']
1186 $cfg['ShowDbStructureCharset'] = false;
1189 * show comment column in database structure (true|false)?
1191 * @global boolean $cfg['ShowDbStructureComment']
1193 $cfg['ShowDbStructureComment'] = false;
1196 * show creation timestamp column in database structure (true|false)?
1198 * @global boolean $cfg['ShowDbStructureCreation']
1200 $cfg['ShowDbStructureCreation'] = false;
1203 * show last update timestamp column in database structure (true|false)?
1205 * @global boolean $cfg['ShowDbStructureLastUpdate']
1207 $cfg['ShowDbStructureLastUpdate'] = false;
1210 * show last check timestamp column in database structure (true|false)?
1212 * @global boolean $cfg['ShowDbStructureLastCheck']
1214 $cfg['ShowDbStructureLastCheck'] = false;
1217 * allow hide action columns to drop down menu in database structure (true|false)?
1219 * @global boolean $cfg['HideStructureActions']
1221 $cfg['HideStructureActions'] = true;
1224 * Show column comments in table structure view (true|false)?
1226 * @global boolean $cfg['ShowColumnComments']
1228 $cfg['ShowColumnComments'] = true;
1231 /*******************************************************************************
1232 * In browse mode...
1236 * Use icons instead of text for the navigation bar buttons (table browse)
1237 * ('text'|'icons'|'both')
1239 * @global string $cfg['TableNavigationLinksMode']
1241 $cfg['TableNavigationLinksMode'] = 'icons';
1244 * Defines whether a user should be displayed a "show all (records)"
1245 * button in browse mode or not.
1247 * @global boolean $cfg['ShowAll']
1249 $cfg['ShowAll'] = false;
1252 * Number of rows displayed when browsing a result set. If the result
1253 * set contains more rows, "Previous" and "Next".
1254 * Possible values: 25,50,100,250,500
1256 * @global integer $cfg['MaxRows']
1258 $cfg['MaxRows'] = 25;
1261 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
1262 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
1263 * ascending order else-)
1265 * @global string $cfg['Order']
1267 $cfg['Order'] = 'SMART';
1270 * grid editing: save edited cell(s) in browse-mode at once
1272 * @global boolean $cfg['SaveCellsAtOnce']
1274 $cfg['SaveCellsAtOnce'] = false;
1277 * grid editing: which action triggers it, or completely disable the feature
1279 * Possible values:
1280 * 'click'
1281 * 'double-click'
1282 * 'disabled'
1284 * @global string $cfg['GridEditing']
1286 $cfg['GridEditing'] = 'double-click';
1289 * Options > Relational display
1291 * Possible values:
1292 * 'K' for key value
1293 * 'D' for display column
1295 * @global string $cfg['RelationalDisplay']
1297 $cfg['RelationalDisplay'] = 'K';
1300 /*******************************************************************************
1301 * In edit mode...
1305 * disallow editing of binary fields
1306 * valid values are:
1307 * false allow editing
1308 * 'blob' allow editing except for BLOB fields
1309 * 'noblob' disallow editing except for BLOB fields
1310 * 'all' disallow editing
1312 * @global string $cfg['ProtectBinary']
1314 $cfg['ProtectBinary'] = 'blob';
1317 * Display the function fields in edit/insert mode
1319 * @global boolean $cfg['ShowFunctionFields']
1321 $cfg['ShowFunctionFields'] = true;
1324 * Display the type fields in edit/insert mode
1326 * @global boolean $cfg['ShowFieldTypesInDataEditView']
1328 $cfg['ShowFieldTypesInDataEditView'] = true;
1331 * Which editor should be used for CHAR/VARCHAR fields:
1332 * input - allows limiting of input length
1333 * textarea - allows newlines in fields
1335 * @global string $cfg['CharEditing']
1337 $cfg['CharEditing'] = 'input';
1340 * The minimum size for character input fields
1342 * @global integer $cfg['MinSizeForInputField']
1344 $cfg['MinSizeForInputField'] = 4;
1347 * The maximum size for character input fields
1349 * @global integer $cfg['MinSizeForInputField']
1351 $cfg['MaxSizeForInputField'] = 60;
1354 * How many rows can be inserted at one time
1356 * @global integer $cfg['InsertRows']
1358 $cfg['InsertRows'] = 2;
1361 * Sort order for items in a foreign-key drop-down list.
1362 * 'content' is the referenced data, 'id' is the key value.
1364 * @global array $cfg['ForeignKeyDropdownOrder']
1366 $cfg['ForeignKeyDropdownOrder'] = [
1367 'content-id',
1368 'id-content',
1372 * A drop-down list will be used if fewer items are present
1374 * @global integer $cfg['ForeignKeyMaxLimit']
1376 $cfg['ForeignKeyMaxLimit'] = 100;
1379 * Whether to disable foreign key checks while importing
1381 * @global boolean $cfg['DefaultForeignKeyChecks']
1383 $cfg['DefaultForeignKeyChecks'] = 'default';
1385 /*******************************************************************************
1386 * For the export features...
1390 * Allow for the use of zip compression (requires zip support to be enabled)
1392 * @global boolean $cfg['ZipDump']
1394 $cfg['ZipDump'] = true;
1397 * Allow for the use of gzip compression (requires zlib)
1399 * @global boolean $cfg['GZipDump']
1401 $cfg['GZipDump'] = true;
1404 * Allow for the use of bzip2 decompression (requires bz2 extension)
1406 * @global boolean $cfg['BZipDump']
1408 $cfg['BZipDump'] = true;
1411 * Will compress gzip exports on the fly without the need for much memory.
1412 * If you encounter problems with created gzip files disable this feature.
1414 * @global boolean $cfg['CompressOnFly']
1416 $cfg['CompressOnFly'] = true;
1419 /*******************************************************************************
1420 * Tabs display settings
1424 * How to display the menu tabs ('icons'|'text'|'both')
1426 * @global boolean $cfg['TabsMode']
1428 $cfg['TabsMode'] = 'both';
1431 * How to display various action links ('icons'|'text'|'both')
1433 * @global boolean $cfg['ActionLinksMode']
1435 $cfg['ActionLinksMode'] = 'both';
1438 * How many columns should be used for table display of a database?
1439 * (a value larger than 1 results in some information being hidden)
1441 * @global integer $cfg['PropertiesNumColumns']
1443 $cfg['PropertiesNumColumns'] = 1;
1446 * Possible values:
1447 * 'welcome' = the welcome page
1448 * (recommended for multiuser setups)
1449 * 'databases' = list of databases
1450 * 'status' = runtime information
1451 * 'variables' = MySQL server variables
1452 * 'privileges' = user management
1454 * @global string $cfg['DefaultTabServer']
1456 $cfg['DefaultTabServer'] = 'welcome';
1459 * Possible values:
1460 * 'structure' = tables list
1461 * 'sql' = SQL form
1462 * 'search' = search query
1463 * 'operations' = operations on database
1465 * @global string $cfg['DefaultTabDatabase']
1467 $cfg['DefaultTabDatabase'] = 'structure';
1470 * Possible values:
1471 * 'structure' = fields list
1472 * 'sql' = SQL form
1473 * 'search' = search page
1474 * 'insert' = insert row page
1475 * 'browse' = browse page
1477 * @global string $cfg['DefaultTabTable']
1479 $cfg['DefaultTabTable'] = 'browse';
1482 * Whether to display image or text or both image and text in table row
1483 * action segment. Value can be either of ``image``, ``text`` or ``both``.
1485 $cfg['RowActionType'] = 'both';
1487 /*******************************************************************************
1488 * Export defaults
1490 $cfg['Export'] = [];
1493 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xml/yaml
1495 * @global string $cfg['Export']['format']
1497 $cfg['Export']['format'] = 'sql';
1500 * quick/custom/custom-no-form
1502 * @global string $cfg['Export']['format']
1504 $cfg['Export']['method'] = 'quick';
1507 * none/zip/gzip
1509 * @global string $cfg['Export']['compression']
1511 $cfg['Export']['compression'] = 'none';
1514 * Whether to LOCK TABLES before exporting
1516 * @global boolean $cfg['Export']['lock_tables']
1518 $cfg['Export']['lock_tables'] = false;
1521 * Whether to export databases/tables as separate files
1523 * @global boolean $cfg['Export']['as_separate_files']
1525 $cfg['Export']['as_separate_files'] = false;
1528 * @global boolean $cfg['Export']['asfile']
1530 $cfg['Export']['asfile'] = true;
1533 * @global string $cfg['Export']['charset']
1535 $cfg['Export']['charset'] = '';
1538 * @global boolean $cfg['Export']['onserver']
1540 $cfg['Export']['onserver'] = false;
1543 * @global boolean $cfg['Export']['onserver_overwrite']
1545 $cfg['Export']['onserver_overwrite'] = false;
1548 * @global boolean $cfg['Export']['quick_export_onserver']
1550 $cfg['Export']['quick_export_onserver'] = false;
1553 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1555 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1558 * @global boolean $cfg['Export']['remember_file_template']
1560 $cfg['Export']['remember_file_template'] = true;
1563 * @global string $cfg['Export']['file_template_table']
1565 $cfg['Export']['file_template_table'] = '@TABLE@';
1568 * @global string $cfg['Export']['file_template_database']
1570 $cfg['Export']['file_template_database'] = '@DATABASE@';
1573 * @global string $cfg['Export']['file_template_server']
1575 $cfg['Export']['file_template_server'] = '@SERVER@';
1578 * @global string $cfg['Export']['codegen_structure_or_data']
1580 $cfg['Export']['codegen_structure_or_data'] = 'data';
1583 * @global $cfg['Export']['codegen_format']
1585 $cfg['Export']['codegen_format'] = 0;
1588 * @global boolean $cfg['Export']['ods_columns']
1590 $cfg['Export']['ods_columns'] = false;
1593 * @global string $cfg['Export']['ods_null']
1595 $cfg['Export']['ods_null'] = 'NULL';
1598 * @global string $cfg['Export']['odt_structure_or_data']
1600 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1603 * @global boolean $cfg['Export']['odt_columns']
1605 $cfg['Export']['odt_columns'] = true;
1608 * @global boolean $cfg['Export']['odt_relation']
1610 $cfg['Export']['odt_relation'] = true;
1613 * @global boolean $cfg['Export']['odt_comments']
1615 $cfg['Export']['odt_comments'] = true;
1618 * @global boolean $cfg['Export']['odt_mime']
1620 $cfg['Export']['odt_mime'] = true;
1623 * @global string $cfg['Export']['odt_null']
1625 $cfg['Export']['odt_null'] = 'NULL';
1628 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1630 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1633 * @global boolean $cfg['Export']['htmlword_columns']
1635 $cfg['Export']['htmlword_columns'] = false;
1638 * @global string $cfg['Export']['htmlword_null']
1640 $cfg['Export']['htmlword_null'] = 'NULL';
1643 * @global string $cfg['Export']['texytext_structure_or_data']
1645 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1648 * @global boolean $cfg['Export']['texytext_columns']
1650 $cfg['Export']['texytext_columns'] = false;
1653 * @global string $cfg['Export']['texytext_null']
1655 $cfg['Export']['texytext_null'] = 'NULL';
1658 * @global boolean $cfg['Export']['csv_columns']
1660 $cfg['Export']['csv_columns'] = false;
1663 * @global string $cfg['Export']['csv_structure_or_data']
1665 $cfg['Export']['csv_structure_or_data'] = 'data';
1668 * @global string $cfg['Export']['csv_null']
1670 $cfg['Export']['csv_null'] = 'NULL';
1673 * @global string $cfg['Export']['csv_separator']
1675 $cfg['Export']['csv_separator'] = ',';
1678 * @global string $cfg['Export']['csv_enclosed']
1680 $cfg['Export']['csv_enclosed'] = '"';
1683 * @global string $cfg['Export']['csv_escaped']
1685 $cfg['Export']['csv_escaped'] = '"';
1688 * @global string $cfg['Export']['csv_terminated']
1690 $cfg['Export']['csv_terminated'] = 'AUTO';
1693 * @global string $cfg['Export']['csv_removeCRLF']
1695 $cfg['Export']['csv_removeCRLF'] = false;
1698 * @global boolean $cfg['Export']['excel_columns']
1700 $cfg['Export']['excel_columns'] = true;
1703 * @global string $cfg['Export']['excel_null']
1705 $cfg['Export']['excel_null'] = 'NULL';
1708 * win/mac
1710 * @global string $cfg['Export']['excel_edition']
1712 $cfg['Export']['excel_edition'] = 'win';
1715 * @global string $cfg['Export']['excel_removeCRLF']
1717 $cfg['Export']['excel_removeCRLF'] = false;
1720 * @global string $cfg['Export']['excel_structure_or_data']
1722 $cfg['Export']['excel_structure_or_data'] = 'data';
1725 * @global string $cfg['Export']['latex_structure_or_data']
1727 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1730 * @global boolean $cfg['Export']['latex_columns']
1732 $cfg['Export']['latex_columns'] = true;
1735 * @global boolean $cfg['Export']['latex_relation']
1737 $cfg['Export']['latex_relation'] = true;
1740 * @global boolean $cfg['Export']['latex_comments']
1742 $cfg['Export']['latex_comments'] = true;
1745 * @global boolean $cfg['Export']['latex_mime']
1747 $cfg['Export']['latex_mime'] = true;
1750 * @global string $cfg['Export']['latex_null']
1752 $cfg['Export']['latex_null'] = '\textit{NULL}';
1755 * @global boolean $cfg['Export']['latex_caption']
1757 $cfg['Export']['latex_caption'] = true;
1760 * @global string $cfg['Export']['latex_structure_caption']
1762 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1765 * @global string $cfg['Export']['latex_structure_continued_caption']
1767 $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1770 * @global string $cfg['Export']['latex_data_caption']
1772 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1775 * @global string $cfg['Export']['latex_data_continued_caption']
1777 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1780 * @global string $cfg['Export']['latex_data_label']
1782 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1785 * @global string $cfg['Export']['latex_structure_label']
1787 $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';
1795 * @global boolean $cfg['Export']['mediawiki_caption']
1797 $cfg['Export']['mediawiki_caption'] = true;
1800 * @global boolean $cfg['Export']['mediawiki_headers']
1802 $cfg['Export']['mediawiki_headers'] = true;
1805 * @global string $cfg['Export']['ods_structure_or_data']
1807 $cfg['Export']['ods_structure_or_data'] = 'data';
1810 * @global string $cfg['Export']['pdf_structure_or_data']
1812 $cfg['Export']['pdf_structure_or_data'] = 'data';
1815 * @global string $cfg['Export']['phparray_structure_or_data']
1817 $cfg['Export']['phparray_structure_or_data'] = 'data';
1820 * @global string $cfg['Export']['json_structure_or_data']
1822 $cfg['Export']['json_structure_or_data'] = 'data';
1825 * Export functions
1827 * @global string $cfg['Export']['json_pretty_print']
1829 $cfg['Export']['json_pretty_print'] = false;
1832 * Export functions
1834 * @global string $cfg['Export']['json_unicode']
1836 $cfg['Export']['json_unicode'] = true;
1839 * @global string $cfg['Export']['sql_structure_or_data']
1841 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1844 * @global string $cfg['Export']['sql_compatibility']
1846 $cfg['Export']['sql_compatibility'] = 'NONE';
1849 * Whether to include comments in SQL export.
1851 * @global string $cfg['Export']['sql_include_comments']
1853 $cfg['Export']['sql_include_comments'] = true;
1856 * @global boolean $cfg['Export']['sql_disable_fk']
1858 $cfg['Export']['sql_disable_fk'] = false;
1861 * @global boolean $cfg['Export']['sql_views_as_tables']
1863 $cfg['Export']['sql_views_as_tables'] = false;
1866 * @global boolean $cfg['Export']['sql_metadata']
1868 $cfg['Export']['sql_metadata'] = false;
1871 * @global boolean $cfg['Export']['sql_use_transaction']
1873 $cfg['Export']['sql_use_transaction'] = true;
1876 * @global boolean $cfg['Export']['sql_create_database']
1878 $cfg['Export']['sql_create_database'] = false;
1881 * @global boolean $cfg['Export']['sql_drop_database']
1883 $cfg['Export']['sql_drop_database'] = false;
1886 * @global boolean $cfg['Export']['sql_drop_table']
1888 $cfg['Export']['sql_drop_table'] = false;
1891 * true by default for correct behavior when dealing with exporting
1892 * of VIEWs and the stand-in table
1894 * @global boolean $cfg['Export']['sql_if_not_exists']
1896 $cfg['Export']['sql_if_not_exists'] = false;
1899 * @global boolean $cfg['Export']['sql_view_current_user']
1901 $cfg['Export']['sql_view_current_user'] = false;
1904 * @global boolean $cfg['Export']['sql_or_replace']
1906 $cfg['Export']['sql_or_replace_view'] = false;
1909 * @global boolean $cfg['Export']['sql_procedure_function']
1911 $cfg['Export']['sql_procedure_function'] = true;
1914 * @global boolean $cfg['Export']['sql_create_table']
1916 $cfg['Export']['sql_create_table'] = true;
1919 * @global boolean $cfg['Export']['sql_create_view']
1921 $cfg['Export']['sql_create_view'] = true;
1924 * @global boolean $cfg['Export']['sql_create_trigger']
1926 $cfg['Export']['sql_create_trigger'] = true;
1929 * @global boolean $cfg['Export']['sql_auto_increment']
1931 $cfg['Export']['sql_auto_increment'] = true;
1934 * @global boolean $cfg['Export']['sql_backquotes']
1936 $cfg['Export']['sql_backquotes'] = true;
1939 * @global boolean $cfg['Export']['sql_dates']
1941 $cfg['Export']['sql_dates'] = false;
1944 * @global boolean $cfg['Export']['sql_relation']
1946 $cfg['Export']['sql_relation'] = false;
1949 * @global boolean $cfg['Export']['sql_truncate']
1951 $cfg['Export']['sql_truncate'] = false;
1954 * @global boolean $cfg['Export']['sql_delayed']
1956 $cfg['Export']['sql_delayed'] = false;
1959 * @global boolean $cfg['Export']['sql_ignore']
1961 $cfg['Export']['sql_ignore'] = false;
1964 * Export time in UTC.
1966 * @global boolean $cfg['Export']['sql_utc_time']
1968 $cfg['Export']['sql_utc_time'] = true;
1971 * @global boolean $cfg['Export']['sql_hex_for_binary']
1973 $cfg['Export']['sql_hex_for_binary'] = true;
1976 * insert/update/replace
1978 * @global string $cfg['Export']['sql_type']
1980 $cfg['Export']['sql_type'] = 'INSERT';
1983 * @global integer $cfg['Export']['sql_max_query_size']
1985 $cfg['Export']['sql_max_query_size'] = 50000;
1988 * @global boolean $cfg['Export']['sql_mime']
1990 $cfg['Export']['sql_mime'] = false;
1993 * \n is replaced by new line
1995 * @global string $cfg['Export']['sql_header_comment']
1997 $cfg['Export']['sql_header_comment'] = '';
2000 * Whether to use complete inserts, extended inserts, both, or neither
2002 * @global string $cfg['Export']['sql_insert_syntax']
2004 $cfg['Export']['sql_insert_syntax'] = 'both';
2007 * @global string $cfg['Export']['pdf_report_title']
2009 $cfg['Export']['pdf_report_title'] = '';
2012 * @global string $cfg['Export']['xml_structure_or_data']
2014 $cfg['Export']['xml_structure_or_data'] = 'data';
2017 * Export schema for each structure
2019 * @global string $cfg['Export']['xml_export_struc']
2021 $cfg['Export']['xml_export_struc'] = true;
2024 * Export events
2026 * @global string $cfg['Export']['xml_export_events']
2028 $cfg['Export']['xml_export_events'] = true;
2031 * Export functions
2033 * @global string $cfg['Export']['xml_export_functions']
2035 $cfg['Export']['xml_export_functions'] = true;
2038 * Export procedures
2040 * @global string $cfg['Export']['xml_export_procedures']
2042 $cfg['Export']['xml_export_procedures'] = true;
2045 * Export schema for each table
2047 * @global string $cfg['Export']['xml_export_tables']
2049 $cfg['Export']['xml_export_tables'] = true;
2052 * Export triggers
2054 * @global string $cfg['Export']['xml_export_triggers']
2056 $cfg['Export']['xml_export_triggers'] = true;
2059 * Export views
2061 * @global string $cfg['Export']['xml_export_views']
2063 $cfg['Export']['xml_export_views'] = true;
2066 * Export contents data
2068 * @global string $cfg['Export']['xml_export_contents']
2070 $cfg['Export']['xml_export_contents'] = true;
2073 * @global string $cfg['Export']['yaml_structure_or_data']
2075 $cfg['Export']['yaml_structure_or_data'] = 'data';
2077 /*******************************************************************************
2078 * Import defaults
2080 $cfg['Import'] = [];
2083 * @global string $cfg['Import']['format']
2085 $cfg['Import']['format'] = 'sql';
2088 * Default charset for import.
2090 * @global string $cfg['Import']['charset']
2092 $cfg['Import']['charset'] = '';
2095 * @global boolean $cfg['Import']['allow_interrupt']
2097 $cfg['Import']['allow_interrupt'] = true;
2100 * @global integer $cfg['Import']['skip_queries']
2102 $cfg['Import']['skip_queries'] = 0;
2105 * @global string $cfg['Import']['sql_compatibility']
2107 $cfg['Import']['sql_compatibility'] = 'NONE';
2110 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
2112 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
2115 * @global string $cfg['Import']['sql_read_as_multibytes']
2117 $cfg['Import']['sql_read_as_multibytes'] = false;
2120 * @global boolean $cfg['Import']['csv_replace']
2122 $cfg['Import']['csv_replace'] = false;
2125 * @global boolean $cfg['Import']['csv_ignore']
2127 $cfg['Import']['csv_ignore'] = false;
2130 * @global string $cfg['Import']['csv_terminated']
2132 $cfg['Import']['csv_terminated'] = ',';
2135 * @global string $cfg['Import']['csv_enclosed']
2137 $cfg['Import']['csv_enclosed'] = '"';
2140 * @global string $cfg['Import']['csv_escaped']
2142 $cfg['Import']['csv_escaped'] = '"';
2145 * @global string $cfg['Import']['csv_new_line']
2147 $cfg['Import']['csv_new_line'] = 'auto';
2150 * @global string $cfg['Import']['csv_columns']
2152 $cfg['Import']['csv_columns'] = '';
2155 * @global string $cfg['Import']['csv_col_names']
2157 $cfg['Import']['csv_col_names'] = false;
2160 * @global boolean $cfg['Import']['ldi_replace']
2162 $cfg['Import']['ldi_replace'] = false;
2165 * @global boolean $cfg['Import']['ldi_ignore']
2167 $cfg['Import']['ldi_ignore'] = false;
2170 * @global string $cfg['Import']['ldi_terminated']
2172 $cfg['Import']['ldi_terminated'] = ';';
2175 * @global string $cfg['Import']['ldi_enclosed']
2177 $cfg['Import']['ldi_enclosed'] = '"';
2180 * @global string $cfg['Import']['ldi_escaped']
2182 $cfg['Import']['ldi_escaped'] = '\\';
2185 * @global string $cfg['Import']['ldi_new_line']
2187 $cfg['Import']['ldi_new_line'] = 'auto';
2190 * @global string $cfg['Import']['ldi_columns']
2192 $cfg['Import']['ldi_columns'] = '';
2195 * 'auto' for auto-detection, true or false for forcing
2197 * @global string $cfg['Import']['ldi_local_option']
2199 $cfg['Import']['ldi_local_option'] = 'auto';
2202 * @global string $cfg['Import']['ods_col_names']
2204 $cfg['Import']['ods_col_names'] = false;
2207 * @global string $cfg['Import']['ods_empty_rows']
2209 $cfg['Import']['ods_empty_rows'] = true;
2212 * @global string $cfg['Import']['ods_recognize_percentages']
2214 $cfg['Import']['ods_recognize_percentages'] = true;
2217 * @global string $cfg['Import']['ods_recognize_currency']
2219 $cfg['Import']['ods_recognize_currency'] = true;
2221 /*******************************************************************************
2222 * Schema export defaults
2224 $cfg['Schema'] = [];
2227 * pdf/eps/dia/svg
2229 * @global string $cfg['Schema']['format']
2231 $cfg['Schema']['format'] = 'pdf';
2234 * @global string $cfg['Schema']['pdf_show_color']
2236 $cfg['Schema']['pdf_show_color'] = true;
2239 * @global string $cfg['Schema']['pdf_show_keys']
2241 $cfg['Schema']['pdf_show_keys'] = false;
2244 * @global string $cfg['Schema']['pdf_all_tables_same_width']
2246 $cfg['Schema']['pdf_all_tables_same_width'] = false;
2249 * L/P
2251 * @global string $cfg['Schema']['pdf_orientation']
2253 $cfg['Schema']['pdf_orientation'] = 'L';
2256 * @global string $cfg['Schema']['pdf_paper']
2258 $cfg['Schema']['pdf_paper'] = 'A4';
2261 * @global string $cfg['Schema']['pdf_show_grid']
2263 $cfg['Schema']['pdf_show_grid'] = false;
2266 * @global string $cfg['Schema']['pdf_with_doc']
2268 $cfg['Schema']['pdf_with_doc'] = true;
2271 * @global string $cfg['Schema']['pdf_table_order']
2273 $cfg['Schema']['pdf_table_order'] = '';
2276 * @global string $cfg['Schema']['dia_show_color']
2278 $cfg['Schema']['dia_show_color'] = true;
2281 * @global string $cfg['Schema']['dia_show_keys']
2283 $cfg['Schema']['dia_show_keys'] = false;
2286 * L/P
2288 * @global string $cfg['Schema']['dia_orientation']
2290 $cfg['Schema']['dia_orientation'] = 'L';
2293 * @global string $cfg['Schema']['dia_paper']
2295 $cfg['Schema']['dia_paper'] = 'A4';
2298 * @global string $cfg['Schema']['eps_show_color']
2300 $cfg['Schema']['eps_show_color'] = true;
2303 * @global string $cfg['Schema']['eps_show_keys']
2305 $cfg['Schema']['eps_show_keys'] = false;
2308 * @global string $cfg['Schema']['eps_all_tables_same_width']
2310 $cfg['Schema']['eps_all_tables_same_width'] = false;
2313 * L/P
2315 * @global string $cfg['Schema']['eps_orientation']
2317 $cfg['Schema']['eps_orientation'] = 'L';
2320 * @global string $cfg['Schema']['svg_show_color']
2322 $cfg['Schema']['svg_show_color'] = true;
2325 * @global string $cfg['Schema']['svg_show_keys']
2327 $cfg['Schema']['svg_show_keys'] = false;
2330 * @global string $cfg['Schema']['svg_all_tables_same_width']
2332 $cfg['Schema']['svg_all_tables_same_width'] = false;
2334 /*******************************************************************************
2335 * PDF options
2339 * @global array $cfg['PDFPageSizes']
2341 $cfg['PDFPageSizes'] = [
2342 'A3',
2343 'A4',
2344 'A5',
2345 'letter',
2346 'legal',
2350 * @global string $cfg['PDFDefaultPageSize']
2352 $cfg['PDFDefaultPageSize'] = 'A4';
2355 /*******************************************************************************
2356 * Language and character set conversion settings
2360 * Default language to use, if not browser-defined or user-defined
2362 * @global string $cfg['DefaultLang']
2364 $cfg['DefaultLang'] = 'en';
2367 * Default connection collation
2369 * @global string $cfg['DefaultConnectionCollation']
2371 $cfg['DefaultConnectionCollation'] = 'utf8mb4_unicode_ci';
2374 * Force: always use this language, e.g. 'en'
2376 * @global string $cfg['Lang']
2378 $cfg['Lang'] = '';
2381 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2382 * English only
2384 * @global string $cfg['FilterLanguages']
2386 $cfg['FilterLanguages'] = '';
2389 * You can select here which functions will be used for character set conversion.
2390 * Possible values are:
2391 * auto - automatically use available one (first is tested iconv, then
2392 * recode)
2393 * iconv - use iconv or libiconv functions
2394 * recode - use recode_string function
2395 * mb - use mbstring extension
2396 * none - disable encoding conversion
2398 * @global string $cfg['RecodingEngine']
2400 $cfg['RecodingEngine'] = 'auto';
2403 * Specify some parameters for iconv used in character set conversion. See iconv
2404 * documentation for details:
2405 * https://www.gnu.org/savannah-checkouts/gnu/libiconv/documentation/libiconv-1.15/iconv_open.3.html
2407 * @global string $cfg['IconvExtraParams']
2409 $cfg['IconvExtraParams'] = '//TRANSLIT';
2412 * Available character sets for MySQL conversion. currently contains all which could
2413 * be found in lang/* files and few more.
2414 * Character sets will be shown in same order as here listed, so if you frequently
2415 * use some of these move them to the top.
2417 * @global array $cfg['AvailableCharsets']
2419 $cfg['AvailableCharsets'] = [
2420 'iso-8859-1',
2421 'iso-8859-2',
2422 'iso-8859-3',
2423 'iso-8859-4',
2424 'iso-8859-5',
2425 'iso-8859-6',
2426 'iso-8859-7',
2427 'iso-8859-8',
2428 'iso-8859-9',
2429 'iso-8859-10',
2430 'iso-8859-11',
2431 'iso-8859-12',
2432 'iso-8859-13',
2433 'iso-8859-14',
2434 'iso-8859-15',
2435 'windows-1250',
2436 'windows-1251',
2437 'windows-1252',
2438 'windows-1256',
2439 'windows-1257',
2440 'koi8-r',
2441 'big5',
2442 'gb2312',
2443 'utf-16',
2444 'utf-8',
2445 'utf-7',
2446 'x-user-defined',
2447 'euc-jp',
2448 'ks_c_5601-1987',
2449 'tis-620',
2450 'SHIFT_JIS',
2451 'SJIS',
2452 'SJIS-win',
2456 /*******************************************************************************
2457 * Customization & design
2459 * The graphical settings are now located in themes/theme-name/scss/_variables.scss
2463 * enable the left panel pointer
2465 * @global boolean $cfg['NavigationTreePointerEnable']
2467 $cfg['NavigationTreePointerEnable'] = true;
2470 * enable the browse pointer
2472 * @global boolean $cfg['BrowsePointerEnable']
2474 $cfg['BrowsePointerEnable'] = true;
2477 * enable the browse marker
2479 * @global boolean $cfg['BrowseMarkerEnable']
2481 $cfg['BrowseMarkerEnable'] = true;
2484 * textarea size (columns) in edit mode
2485 * (this value will be emphasized (*2) for SQL
2486 * query textareas and (*1.25) for query window)
2488 * @global integer $cfg['TextareaCols']
2490 $cfg['TextareaCols'] = 40;
2493 * textarea size (rows) in edit mode
2495 * @global integer $cfg['TextareaRows']
2497 $cfg['TextareaRows'] = 15;
2500 * double size of textarea size for LONGTEXT columns
2502 * @global boolean $cfg['LongtextDoubleTextarea']
2504 $cfg['LongtextDoubleTextarea'] = true;
2507 * auto-select when clicking in the textarea of the query-box
2509 * @global boolean $cfg['TextareaAutoSelect']
2511 $cfg['TextareaAutoSelect'] = false;
2514 * textarea size (columns) for CHAR/VARCHAR
2516 * @global integer $cfg['CharTextareaCols']
2518 $cfg['CharTextareaCols'] = 40;
2521 * textarea size (rows) for CHAR/VARCHAR
2523 * @global integer $cfg['CharTextareaRows']
2525 $cfg['CharTextareaRows'] = 7;
2528 * Max field data length in browse mode for all non-numeric fields
2530 * @global integer $cfg['LimitChars']
2532 $cfg['LimitChars'] = 50;
2535 * Where to show the edit/copy/delete links in browse mode
2536 * Possible values are 'left', 'right', 'both' and 'none'.
2538 * @global string $cfg['RowActionLinks']
2540 $cfg['RowActionLinks'] = 'left';
2543 * Whether to show row links (Edit, Copy, Delete) and checkboxes for
2544 * multiple row operations even when the selection does not have a unique key.
2546 * @global boolean $cfg['RowActionLinksWithoutUnique']
2548 $cfg['RowActionLinksWithoutUnique'] = false;
2551 * Default sort order by primary key.
2553 * @global string $cfg['TablePrimaryKeyOrder']
2555 $cfg['TablePrimaryKeyOrder'] = 'NONE';
2558 * remember the last way a table sorted
2560 * @global string $cfg['RememberSorting']
2562 $cfg['RememberSorting'] = true;
2565 * shows column comments in 'browse' mode.
2567 * @global boolean $cfg['ShowBrowseComments']
2569 $cfg['ShowBrowseComments'] = true;
2572 * shows column comments in 'table property' mode.
2574 * @global boolean $cfg['ShowPropertyComments']
2576 $cfg['ShowPropertyComments'] = true;
2579 * repeat header names every X cells? (0 = deactivate)
2581 * @global integer $cfg['RepeatCells']
2583 $cfg['RepeatCells'] = 100;
2586 * Set to true if you want DB-based query history.If false, this utilizes
2587 * JS-routines to display query history (lost by window close)
2589 * @global boolean $cfg['QueryHistoryDB']
2591 $cfg['QueryHistoryDB'] = false;
2594 * When using DB-based query history, how many entries should be kept?
2596 * @global integer $cfg['QueryHistoryMax']
2598 $cfg['QueryHistoryMax'] = 25;
2601 * Use MIME-Types (stored in column comments table) for
2603 * @global boolean $cfg['BrowseMIME']
2605 $cfg['BrowseMIME'] = true;
2608 * When approximate count < this, PMA will get exact count for table rows.
2610 * @global integer $cfg['MaxExactCount']
2612 $cfg['MaxExactCount'] = 50000;
2615 * Zero means that no row count is done for views; see the doc
2617 * @global integer $cfg['MaxExactCountViews']
2619 $cfg['MaxExactCountViews'] = 0;
2622 * Sort table and database in natural order
2624 * @global boolean $cfg['NaturalOrder']
2626 $cfg['NaturalOrder'] = true;
2629 * Initial state for sliders
2630 * (open | closed | disabled)
2632 * @global string $cfg['InitialSlidersState']
2634 $cfg['InitialSlidersState'] = 'closed';
2637 * User preferences: disallow these settings
2638 * For possible setting names look in libraries/config/user_preferences.forms.php
2640 * @global array $cfg['UserprefsDisallow']
2642 $cfg['UserprefsDisallow'] = [];
2645 * User preferences: enable the Developer tab
2647 $cfg['UserprefsDeveloperTab'] = false;
2649 /*******************************************************************************
2650 * Window title settings
2654 * title of browser window when a table is selected
2656 * @global string $cfg['TitleTable']
2658 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2661 * title of browser window when a database is selected
2663 * @global string $cfg['TitleDatabase']
2665 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2668 * title of browser window when a server is selected
2670 * @global string $cfg['TitleServer']
2672 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2675 * title of browser window when nothing is selected
2677 * @global string $cfg['TitleDefault']
2679 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2682 /*******************************************************************************
2683 * theme manager
2687 * if you want to use selectable themes and if ThemesPath not empty
2688 * set it to true, else set it to false (default is false);
2690 * @global boolean $cfg['ThemeManager']
2692 $cfg['ThemeManager'] = true;
2695 * set up default theme, you can set up here an valid
2696 * path to themes or 'original' for the original pma-theme
2698 * @global string $cfg['ThemeDefault']
2700 $cfg['ThemeDefault'] = 'pmahomme';
2703 * allow different theme for each configured server
2705 * @global boolean $cfg['ThemePerServer']
2707 $cfg['ThemePerServer'] = false;
2711 * Default query for table
2713 * @global string $cfg['DefaultQueryTable']
2715 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2718 * Default query for database
2720 * @global string $cfg['DefaultQueryDatabase']
2722 $cfg['DefaultQueryDatabase'] = '';
2725 /*******************************************************************************
2726 * SQL Query box settings
2727 * These are the links display in all of the SQL Query boxes
2729 * @global array $cfg['SQLQuery']
2731 $cfg['SQLQuery'] = [];
2734 * Display an "Edit" link on the results page to change a query
2736 * @global boolean $cfg['SQLQuery']['Edit']
2738 $cfg['SQLQuery']['Edit'] = true;
2741 * Display an "Explain SQL" link on the results page
2743 * @global boolean $cfg['SQLQuery']['Explain']
2745 $cfg['SQLQuery']['Explain'] = true;
2748 * Display a "Create PHP code" link on the results page to wrap a query in PHP
2750 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2752 $cfg['SQLQuery']['ShowAsPHP'] = true;
2755 * Display a "Refresh" link on the results page
2757 * @global boolean $cfg['SQLQuery']['Refresh']
2759 $cfg['SQLQuery']['Refresh'] = true;
2762 * Enables autoComplete for table & column names in SQL queries
2764 * default = 'true'
2766 $cfg['EnableAutocompleteForTablesAndColumns'] = true;
2769 /*******************************************************************************
2770 * Web server upload/save/import directories
2774 * Directory for uploaded files that can be executed by phpMyAdmin.
2775 * For example './upload'. Leave empty for no upload directory support.
2776 * Use %u for username inclusion.
2778 * @global string $cfg['UploadDir']
2780 $cfg['UploadDir'] = '';
2783 * Directory where phpMyAdmin can save exported data on server.
2784 * For example './save'. Leave empty for no save directory support.
2785 * Use %u for username inclusion.
2787 * @global string $cfg['SaveDir']
2789 $cfg['SaveDir'] = '';
2792 * Directory where phpMyAdmin can save temporary files.
2794 * @global string $cfg['TempDir']
2796 if (defined('TEMP_DIR')) {
2797 $cfg['TempDir'] = TEMP_DIR;
2798 } else {
2799 $cfg['TempDir'] = ROOT_PATH . 'tmp' . DIRECTORY_SEPARATOR;
2803 * Misc. settings
2807 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2808 * which is the only safe way to determine GD version.
2810 * @global string $cfg['GD2Available']
2812 $cfg['GD2Available'] = 'auto';
2815 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2817 * @global array $cfg['TrustedProxies']
2819 $cfg['TrustedProxies'] = [];
2822 * We normally check the permissions on the configuration file to ensure
2823 * it's not world writable. However, phpMyAdmin could be installed on
2824 * a NTFS filesystem mounted on a non-Windows server, in which case the
2825 * permissions seems wrong but in fact cannot be detected. In this case
2826 * a sysadmin would set the following to false.
2828 $cfg['CheckConfigurationPermissions'] = true;
2831 * Limit for length of URL in links. When length would be above this limit, it
2832 * is replaced by form with button.
2833 * This is required as some web servers (IIS) have problems with long URLs.
2834 * The recommended limit is 2000
2835 * (see https://www.boutell.com/newfaq/misc/urllength.html) but we put
2836 * 1000 to accommodate Suhosin, see bug #3358750.
2838 $cfg['LinkLengthLimit'] = 1000;
2841 * Additional string to allow in CSP headers.
2843 $cfg['CSPAllow'] = '';
2846 * Disable the table maintenance mass operations, like optimizing or
2847 * repairing the selected tables of a database. An accidental execution
2848 * of such a maintenance task can enormously slow down a bigger database.
2850 $cfg['DisableMultiTableMaintenance'] = false;
2853 * Whether or not to query the user before sending the error report to
2854 * the phpMyAdmin team when a JavaScript error occurs
2856 * Available options
2857 * (ask | always | never)
2859 * @global string $cfg['SendErrorReports']
2861 $cfg['SendErrorReports'] = 'ask';
2864 * Whether Enter or Ctrl+Enter executes queries in the console.
2866 * @global boolean $cfg['ConsoleEnterExecutes']
2868 $cfg['ConsoleEnterExecutes'] = false;
2871 * Zero Configuration mode.
2873 * @global boolean $cfg['ZeroConf']
2875 $cfg['ZeroConf'] = true;
2877 /*******************************************************************************
2878 * Developers ONLY!
2880 * @global array $cfg['DBG']
2882 $cfg['DBG'] = [];
2885 * Output executed queries and their execution times
2887 * @global boolean $cfg['DBG']['sql']
2889 $cfg['DBG']['sql'] = false;
2892 * Log executed queries and their execution times to syslog
2894 * @global boolean $cfg['DBG']['sqllog']
2896 $cfg['DBG']['sqllog'] = false;
2899 * Enable to let server present itself as demo server.
2901 * @global boolean $cfg['DBG']['demo']
2903 $cfg['DBG']['demo'] = false;
2906 * Enable Simple two-factor authentication
2908 * @global boolean $cfg['DBG']['simple2fa']
2910 $cfg['DBG']['simple2fa'] = false;
2913 * Sets the working environment
2915 * This only needs to be changed when you are developing phpMyAdmin itself.
2916 * The development mode may display debug information in some places.
2918 * Possible values are 'production' or 'development'
2920 $cfg['environment'] = 'production';
2922 /*******************************************************************************
2923 * MySQL settings
2927 * Default functions for above defined groups
2929 * @global array $cfg['DefaultFunctions']
2931 $cfg['DefaultFunctions'] = [
2932 'FUNC_CHAR' => '',
2933 'FUNC_DATE' => '',
2934 'FUNC_NUMBER' => '',
2935 'FUNC_SPATIAL' => 'GeomFromText',
2936 'FUNC_UUID' => 'UUID',
2937 'first_timestamp' => 'NOW',
2941 * Max rows retrieved for zoom search
2943 $cfg['maxRowPlotLimit'] = 500;
2946 * Show Git revision if applicable
2948 * @global boolean $cfg['ShowGitRevision']
2950 $cfg['ShowGitRevision'] = true;
2953 * MySQL minimal version required
2955 * @global array $cfg['MysqlMinVersion']
2957 $cfg['MysqlMinVersion'] = [
2958 'internal' => 50500,
2959 'human' => '5.5.0',
2963 * Disable shortcuts
2965 * @global array $cfg['DisableShortcutKeys']
2967 $cfg['DisableShortcutKeys'] = false;
2970 * Console configuration
2972 * This is mostly meant for user preferences.
2974 $cfg['Console'] = [
2975 'StartHistory' => false,
2976 'AlwaysExpand' => false,
2977 'CurrentQuery' => true,
2978 'EnterExecutes' => false,
2979 'DarkTheme' => false,
2980 'Mode' => 'info',
2981 'Height' => 92,
2982 'GroupQueries' => false,
2983 'OrderBy' => 'exec',
2984 'Order' => 'asc',
2988 /*******************************************************************************
2989 * Default options for transformations
2993 * Initialize default transformations array
2995 * @global array $cfg['DefaultTransformations']
2997 $cfg['DefaultTransformations'] = [];
3000 * Default transformations for Substring
3002 * @global array $cfg['DefaultTransformations']['Substring']
3004 $cfg['DefaultTransformations']['Substring'] = [
3006 'all',
3007 '…',
3011 * Default transformations for Bool2Text
3013 * @global array $cfg['DefaultTransformations']['Bool2Text']
3015 $cfg['DefaultTransformations']['Bool2Text'] = [
3016 'T',
3017 'F',
3021 * Default transformations for External
3023 * @global array $cfg['DefaultTransformations']['External']
3025 $cfg['DefaultTransformations']['External'] = [
3027 '-f /dev/null -i -wrap -q',
3033 * Default transformations for PreApPend
3035 * @global array $cfg['DefaultTransformations']['PreApPend']
3037 $cfg['DefaultTransformations']['PreApPend'] = [
3043 * Default transformations for Hex
3045 * @global array $cfg['DefaultTransformations']['Hex']
3047 $cfg['DefaultTransformations']['Hex'] = ['2'];
3050 * Default transformations for DateFormat
3052 * @global array $cfg['DefaultTransformations']['DateFormat']
3054 $cfg['DefaultTransformations']['DateFormat'] = [
3057 'local',
3061 * Set default for FirstDayOfCalendar
3063 * @global integer $cfg['FirstDayOfCalendar']
3065 $cfg['FirstDayOfCalendar'] = 0;
3068 * Default transformations for Inline
3070 * @global array $cfg['DefaultTransformations']['Inline']
3072 $cfg['DefaultTransformations']['Inline'] = [
3073 '100',
3074 100,
3076 $cfg['DefaultTransformations']['Inline']['wrapper_link'] = null;
3077 $cfg['DefaultTransformations']['Inline']['wrapper_params'] = [];
3080 * Default transformations for TextImageLink
3082 * @global array $cfg['DefaultTransformations']['TextImageLink']
3084 $cfg['DefaultTransformations']['TextImageLink'] = [
3085 null,
3086 100,
3091 * Default transformations for TextLink
3093 * @global array $cfg['DefaultTransformations']['TextLink']
3095 $cfg['DefaultTransformations']['TextLink'] = [
3096 null,
3097 null,
3098 null,