2 /* vim: set expandtab sw=4 ts=4 sts=4: */
5 * N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !!
6 * NN N O O !! D D O O NN N O O T E D D I T !!
7 * N N N O O !! D D O O N N N O O T EEEE D D I T !!
8 * N NN O O D D O O N NN O O T E D D I T
9 * N N OOO !! DDDD OOO N N OOO T EEEE DDDD I T !!
12 * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
14 * phpMyAdmin default configuration, you can copy values from here to your
17 * All directives are explained in the documentation
23 * Your phpMyAdmin URL.
25 * Complete the variable below with the full URL ie
26 * http://www.your_web.net/path_to_your_phpMyAdmin_directory/
28 * It must contain characters that are valid for a URL, and the path is
29 * case sensitive on some Web servers, for example Unix-based servers.
31 * In most cases you can leave this variable empty, as the correct value
32 * will be detected automatically. However, we recommend that you do
33 * test to see that the auto-detection code works in your system. A good
34 * test is to browse a table, then edit a row and save it. There will be
35 * an error message if phpMyAdmin cannot auto-detect the correct value.
37 * @global string $cfg['PmaAbsoluteUri']
39 $cfg['PmaAbsoluteUri'] = '';
42 * Disable the default warning that is displayed on the DB Details Structure page if
43 * any of the required Tables for the configuration storage could not be found
45 * @global boolean $cfg['PmaNoRelation_DisableWarning']
47 $cfg['PmaNoRelation_DisableWarning'] = false;
50 * Disable the default warning that is displayed if Suhosin is detected
52 * @global boolean $cfg['SuhosinDisableWarning']
54 $cfg['SuhosinDisableWarning'] = false;
57 * Disable the default warning that is displayed if mcrypt is missing for
58 * cookie authentication.
60 * @global boolean $cfg['McryptDisableWarning']
62 $cfg['McryptDisableWarning'] = false;
65 * Disable the default warning that is displayed if a diffrence between
66 * the MySQL library and server is detected.
68 * @global boolean $cfg['['ServerLibraryDifference_DisableWarning']']
70 $cfg['ServerLibraryDifference_DisableWarning'] = false;
73 * Disable the default warning about MySQL reserved words in column names
75 * @global boolean $cfg['ReservedWordDisableWarning']
77 $cfg['ReservedWordDisableWarning'] = false;
80 * Show warning about incomplete translations on certain threshold.
82 * @global boolean $cfg['TranslationWarningThreshold']
84 $cfg['TranslationWarningThreshold'] = 80;
87 * Allows phpMyAdmin to be included from a other document in a frame;
88 * setting this to true is a potential security hole
90 * @global boolean $cfg['AllowThirdPartyFraming']
92 $cfg['AllowThirdPartyFraming'] = false;
95 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
96 * at least one server configuration uses 'cookie' auth_type, enter here a
97 * pass phrase that will be used by blowfish. The maximum length seems to be 46
100 * @global string $cfg['blowfish_secret']
102 $cfg['blowfish_secret'] = '';
105 /*******************************************************************************
106 * Server(s) configuration
108 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
109 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
110 * to ''. If you want more than one server, just copy following section
111 * (including $i incrementation) several times. There is no need to define
112 * full server array, just define values you need to change.
114 * @global array $cfg['Servers']
116 $cfg['Servers'] = array();
121 * MySQL hostname or IP address
123 * @global string $cfg['Servers'][$i]['host']
125 $cfg['Servers'][$i]['host'] = 'localhost';
128 * MySQL port - leave blank for default port
130 * @global string $cfg['Servers'][$i]['port']
132 $cfg['Servers'][$i]['port'] = '';
135 * Path to the socket - leave blank for default socket
137 * @global string $cfg['Servers'][$i]['socket']
139 $cfg['Servers'][$i]['socket'] = '';
142 * Use SSL for connecting to MySQL server?
144 * @global boolean $cfg['Servers'][$i]['ssl']
146 $cfg['Servers'][$i]['ssl'] = false;
149 * Path to the key file when using SSL for connecting to the MySQL server
151 * @global string $cfg['Servers'][$i]['ssl_key']
153 $cfg['Servers'][$i]['ssl_key'] = null;
156 * Path to the cert file when using SSL for connecting to the MySQL server
158 * @global string $cfg['Servers'][$i]['ssl_cert']
160 $cfg['Servers'][$i]['ssl_cert'] = null;
163 * Path to the CA file when using SSL for connecting to the MySQL server
165 * @global string $cfg['Servers'][$i]['ssl_ca']
167 $cfg['Servers'][$i]['ssl_ca'] = null;
170 * Directory containing trusted SSL CA certificates in PEM format
172 * @global string $cfg['Servers'][$i]['ssl_ca_path']
174 $cfg['Servers'][$i]['ssl_ca_path'] = null;
177 * List of allowable ciphers for SSL connections to the MySQL server
179 * @global string $cfg['Servers'][$i]['ssl_ciphers']
181 $cfg['Servers'][$i]['ssl_ciphers'] = null;
184 * How to connect to MySQL server ('tcp' or 'socket')
186 * @global string $cfg['Servers'][$i]['connect_type']
188 $cfg['Servers'][$i]['connect_type'] = 'tcp';
191 * The PHP MySQL extension to use ('mysql' or 'mysqli')
193 * @global string $cfg['Servers'][$i]['extension']
195 $cfg['Servers'][$i]['extension'] = 'mysqli';
198 * Use compressed protocol for the MySQL connection
200 * @global boolean $cfg['Servers'][$i]['compress']
202 $cfg['Servers'][$i]['compress'] = false;
205 * MySQL control host. This permits to use a host different than the
206 * main host, for the phpMyAdmin configuration storage. If left empty,
207 * $cfg['Servers'][$i]['host'] is used instead.
209 * @global string $cfg['Servers'][$i]['controlhost']
211 $cfg['Servers'][$i]['controlhost'] = '';
214 * MySQL control port. This permits to use a port different than the
215 * main port, for the phpMyAdmin configuration storage. If left empty,
216 * $cfg['Servers'][$i]['port'] is used instead.
218 * @global string $cfg['Servers'][$i]['controlport']
220 $cfg['Servers'][$i]['controlport'] = '';
223 * MySQL control user settings (this user must have read-only
224 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
225 * used for all relational features (pmadb)
227 * @global string $cfg['Servers'][$i]['controluser']
229 $cfg['Servers'][$i]['controluser'] = '';
232 * MySQL control user settings (this user must have read-only
233 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
234 * used for all relational features (pmadb)
236 * @global string $cfg['Servers'][$i]['controlpass']
238 $cfg['Servers'][$i]['controlpass'] = '';
241 * Authentication method (valid choices: config, http, signon or cookie)
243 * @global string $cfg['Servers'][$i]['auth_type']
245 $cfg['Servers'][$i]['auth_type'] = 'cookie';
248 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
250 * @global string $cfg['Servers'][$i]['auth_http_realm']
252 $cfg['Servers'][$i]['auth_http_realm'] = '';
255 * File containing Swekey ids and login names (see /contrib);
256 * leave empty to deactivate Swekey hardware authentication
258 * @global string $cfg['Servers'][$i]['auth_swekey_config']
260 $cfg['Servers'][$i]['auth_swekey_config'] = '';
265 * @global string $cfg['Servers'][$i]['user']
267 $cfg['Servers'][$i]['user'] = 'root';
270 * MySQL password (only needed with 'config' auth_type)
272 * @global string $cfg['Servers'][$i]['password']
274 $cfg['Servers'][$i]['password'] = '';
277 * Session to use for 'signon' authentication method
279 * @global string $cfg['Servers'][$i]['SignonSession']
281 $cfg['Servers'][$i]['SignonSession'] = '';
284 * PHP script to use for 'signon' authentication method
286 * @global string $cfg['Servers'][$i]['SignonScript']
288 $cfg['Servers'][$i]['SignonScript'] = '';
291 * URL where to redirect user to login for 'signon' authentication method
293 * @global string $cfg['Servers'][$i]['SignonURL']
295 $cfg['Servers'][$i]['SignonURL'] = '';
298 * URL where to redirect user after logout
300 * @global string $cfg['Servers'][$i]['LogoutURL']
302 $cfg['Servers'][$i]['LogoutURL'] = '';
305 * Whether to try to connect without password
307 * @global boolean $cfg['Servers'][$i]['nopassword']
309 $cfg['Servers'][$i]['nopassword'] = false;
312 * If set to a db-name, only this db is displayed in navigation panel
313 * It may also be an array of db-names
315 * @global string $cfg['Servers'][$i]['only_db']
317 $cfg['Servers'][$i]['only_db'] = '';
320 * Database name to be hidden from listings
322 * @global string $cfg['Servers'][$i]['hide_db']
324 $cfg['Servers'][$i]['hide_db'] = '';
327 * Verbose name for this host - leave blank to show the hostname
328 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
330 * @global string $cfg['Servers'][$i]['verbose']
332 $cfg['Servers'][$i]['verbose'] = '';
335 * Database used for Relation, Bookmark and PDF Features
336 * (see examples/create_tables.sql)
337 * - leave blank for no support
338 * SUGGESTED: 'phpmyadmin'
340 * @global string $cfg['Servers'][$i]['pmadb']
342 $cfg['Servers'][$i]['pmadb'] = '';
346 * - leave blank for no bookmark support
347 * SUGGESTED: 'pma__bookmark'
349 * @global string $cfg['Servers'][$i]['bookmarktable']
351 $cfg['Servers'][$i]['bookmarktable'] = '';
354 * table to describe the relation between links (see doc)
355 * - leave blank for no relation-links support
356 * SUGGESTED: 'pma__relation'
358 * @global string $cfg['Servers'][$i]['relation']
360 $cfg['Servers'][$i]['relation'] = '';
363 * table to describe the display fields
364 * - leave blank for no display fields support
365 * SUGGESTED: 'pma__table_info'
367 * @global string $cfg['Servers'][$i]['table_info']
369 $cfg['Servers'][$i]['table_info'] = '';
372 * table to describe the tables position for the PDF schema
373 * - leave blank for no PDF schema support
374 * SUGGESTED: 'pma__table_coords'
376 * @global string $cfg['Servers'][$i]['table_coords']
378 $cfg['Servers'][$i]['table_coords'] = '';
381 * table to describe pages of relationpdf
382 * - leave blank if you don't want to use this
383 * SUGGESTED: 'pma__pdf_pages'
385 * @global string $cfg['Servers'][$i]['pdf_pages']
387 $cfg['Servers'][$i]['pdf_pages'] = '';
390 * table to store column information
391 * - leave blank for no column comments/mime types
392 * SUGGESTED: 'pma__column_info'
394 * @global string $cfg['Servers'][$i]['column_info']
396 $cfg['Servers'][$i]['column_info'] = '';
399 * table to store SQL history
400 * - leave blank for no SQL query history
401 * SUGGESTED: 'pma__history'
403 * @global string $cfg['Servers'][$i]['history']
405 $cfg['Servers'][$i]['history'] = '';
408 * table to store the coordinates for Designer
409 * - leave blank for no Designer feature
410 * SUGGESTED: 'pma__designer_coords'
412 * @global string $cfg['Servers'][$i]['designer_coords']
414 $cfg['Servers'][$i]['designer_coords'] = '';
417 * table to store recently used tables
418 * - leave blank for no "persistent" recently used tables
419 * SUGGESTED: 'pma__recent'
421 $cfg['Servers'][$i]['recent'] = '';
424 * table to store UI preferences for tables
425 * - leave blank for no "persistent" UI preferences
426 * SUGGESTED: 'pma__table_uiprefs'
428 $cfg['Servers'][$i]['table_uiprefs'] = '';
431 * table to store SQL tracking
432 * - leave blank for no SQL tracking
433 * SUGGESTED: 'pma__tracking'
435 * @global string $cfg['Servers'][$i]['tracking']
437 $cfg['Servers'][$i]['tracking'] = '';
440 * table to store user preferences
441 * - leave blank to disable server storage
442 * SUGGESTED: 'pma__userconfig'
444 * @global string $cfg['Servers'][$i]['userconfig']
446 $cfg['Servers'][$i]['userconfig'] = '';
449 * table to store users and their assignment to user groups
450 * - leave blank to disable configurable menus feature
451 * SUGGESTED: 'pma__users'
453 * @global string $cfg['Servers'][$i]['users']
455 $cfg['Servers'][$i]['users'] = '';
458 * table to store allowed menu items for each user group
459 * - leave blank to disable configurable menus feature
460 * SUGGESTED: 'pma__usergroups'
462 * @global string $cfg['Servers'][$i]['usergroups']
464 $cfg['Servers'][$i]['usergroups'] = '';
467 * table to store information about item hidden from navigation triee
468 * - leave blank to disable hide/show navigation items feature
469 * SUGGESTED: 'pma__navigationhiding'
471 * @global string $cfg['Servers'][$i]['navigationhiding']
473 $cfg['Servers'][$i]['navigationhiding'] = '';
476 * Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
478 * In case where tables in databases is modified (e.g. dropped or renamed),
479 * table_uiprefs may contains invalid data (referring to tables which are not
481 * This configuration make sure that we only keep N (N = MaxTableUiprefs)
482 * newest record in table_uiprefs and automatically delete older records.
484 * @global integer $cfg['Servers'][$i]['userconfig'] = '';
486 $cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
489 * whether to allow root login
491 * @global boolean $cfg['Servers'][$i]['AllowRoot']
493 $cfg['Servers'][$i]['AllowRoot'] = true;
496 * whether to allow login of any user without a password
498 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
500 $cfg['Servers'][$i]['AllowNoPassword'] = false;
503 * Host authentication order, leave blank to not use
505 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
507 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
510 * Host authentication rules, leave blank for defaults
512 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
514 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
517 * Disable use of INFORMATION_SCHEMA. Is always 'false' for Drizzle.
519 * @see https://sourceforge.net/p/phpmyadmin/bugs/2606/
520 * @see http://bugs.mysql.com/19588
521 * @global boolean $cfg['Servers'][$i]['DisableIS']
523 $cfg['Servers'][$i]['DisableIS'] = true;
526 * SQL command to fetch available databases
528 * by default most user will be fine with SHOW DATABASES,
529 * for servers with a huge amount of databases it is possible to
530 * define a command which executes faster but with less information
532 * especially when accessing database servers from ISPs changing this command
533 * can result in a great speed improvement
535 * false will disable fetching databases from the server, only databases in
536 * $cfg['Servers'][$i]['only_db'] will be displayed
538 * #user# will be replaced by current user
542 * "SHOW DATABASES LIKE '#user#\_%'"
543 * 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
544 * 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
547 * @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
549 $cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
552 * Whether the tracking mechanism creates
553 * versions for tables and views automatically.
555 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
558 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
561 * Defines the list of statements
562 * the auto-creation uses for new versions.
564 * @global string $cfg['Servers'][$i]['tracking_default_statements']
567 $cfg['Servers'][$i]['tracking_default_statements']
568 = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,CREATE INDEX,' .
569 'DROP INDEX,INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,CREATE VIEW,' .
570 'ALTER VIEW,DROP VIEW,CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
573 * Whether a DROP VIEW IF EXISTS statement will be added
574 * as first line to the log when creating a view.
576 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
579 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
582 * Whether a DROP TABLE IF EXISTS statement will be added
583 * as first line to the log when creating a table.
585 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
588 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
591 * Whether a DROP DATABASE IF EXISTS statement will be added
592 * as first line to the log when creating a database.
594 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
597 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
600 * Enables caching of TABLE STATUS outputs for specific databases on this server
601 * (in some cases TABLE STATUS can be very slow, so you may want to cache it).
602 * APC is used (if the PHP extension is available, if not, this setting is ignored
603 * silently). You have to provide StatusCacheLifetime.
604 * Takes effect only if DisableIS is true.
606 * @global array $cfg['Servers'][$i]['StatusCacheDatabases']
608 $cfg['Servers'][$i]['StatusCacheDatabases'] = array();
611 * Lifetime in seconds of the TABLE STATUS cache if StatusCacheDatabases is used
613 * @global integer $cfg['Servers'][$i]['StatusCacheLifetime']
615 $cfg['Servers'][$i]['StatusCacheLifetime'] = 0;
618 * Default server (0 = no default server)
620 * If you have more than one server configured, you can set $cfg['ServerDefault']
621 * to any one of them to auto-connect to that server when phpMyAdmin is started,
622 * or set it to 0 to be given a list of servers without logging in
623 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
624 * set to that server.
626 * @global integer $cfg['ServerDefault']
628 $cfg['ServerDefault'] = 1;
631 * Other core phpMyAdmin settings
635 * whether version check is active
637 * @global boolean $cfg['VersionCheck']
639 if (defined('VERSION_CHECK_DEFAULT')) {
640 $cfg['VersionCheck'] = VERSION_CHECK_DEFAULT
;
642 $cfg['VersionCheck'] = true;
646 * The url of the proxy to be used when retrieving the information about
647 * the latest version of phpMyAdmin or error reporting. You need this if
648 * the server where phpMyAdmin is installed does not have direct access to
650 * The format is: "hostname:portnumber"
652 * @global string $cfg['ProxyUrl']
654 $cfg['ProxyUrl'] = "";
657 * The username for authenticating with the proxy. By default, no
658 * authentication is performed. If a username is supplied, Basic
659 * Authentication will be performed. No other types of authentication
660 * are currently supported.
662 * @global string $cfg['ProxyUser']
664 $cfg['ProxyUser'] = "";
667 * The password for authenticating with the proxy.
669 * @global string $cfg['ProxyPass']
671 $cfg['ProxyPass'] = "";
674 * maximum number of db's displayed in database list
676 * @global integer $cfg['MaxDbList']
678 $cfg['MaxDbList'] = 100;
681 * maximum number of items displayed in navigation panel
683 * @global integer $cfg['MaxDbList']
685 $cfg['MaxNavigationItems'] = 250;
688 * maximum number of tables displayed in table list
690 * @global integer $cfg['MaxTableList']
692 $cfg['MaxTableList'] = 250;
695 * whether to show hint or not
697 * @global boolean $cfg['ShowHint']
699 $cfg['ShowHint'] = true;
702 * maximum number of characters when a SQL query is displayed
704 * @global integer $cfg['MaxCharactersInDisplayedSQL']
706 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
709 * use GZIP output buffering if possible (true|false|'auto')
711 * @global string $cfg['OBGzip']
713 $cfg['OBGzip'] = 'auto';
716 * use persistent connections to MySQL database
718 * @global boolean $cfg['PersistentConnections']
720 $cfg['PersistentConnections'] = false;
723 * whether to force using HTTPS
725 * @global boolean $cfg['ForceSSL']
727 $cfg['ForceSSL'] = false;
730 * maximum execution time in seconds (0 for no limit)
732 * @global integer $cfg['ExecTimeLimit']
734 $cfg['ExecTimeLimit'] = 300;
737 * Path for storing session data (session_save_path PHP parameter).
739 * @global integer $cfg['SessionSavePath']
741 $cfg['SessionSavePath'] = '';
744 * maximum allocated bytes ('-1' for no limit)
745 * this is a string because '16M' is a valid value; we must put here
746 * a string as the default value so that /setup accepts strings
748 * @global string $cfg['MemoryLimit']
750 $cfg['MemoryLimit'] = '-1';
753 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
754 * Is ignored for Drizzle.
756 * @global boolean $cfg['SkipLockedTables']
758 $cfg['SkipLockedTables'] = false;
761 * show SQL queries as run
763 * @global boolean $cfg['ShowSQL']
765 $cfg['ShowSQL'] = true;
768 * retain SQL input on Ajax execute
770 * @global boolean $cfg['RetainQueryEditor']
772 $cfg['RetainQueryBox'] = false;
775 * use CodeMirror syntax highlighting for editing SQL
777 * @global boolean $cfg['CodemirrorEnable']
779 $cfg['CodemirrorEnable'] = true;
782 * show a 'Drop database' link to normal users
784 * @global boolean $cfg['AllowUserDropDatabase']
786 $cfg['AllowUserDropDatabase'] = false;
789 * confirm some commands that can result in loss of data
791 * @global boolean $cfg['Confirm']
793 $cfg['Confirm'] = true;
796 * recall previous login in cookie authentication mode or not
798 * @global boolean $cfg['LoginCookieRecall']
800 $cfg['LoginCookieRecall'] = true;
803 * validity of cookie login (in seconds; 1440 matches php.ini's
804 * session.gc_maxlifetime)
806 * @global integer $cfg['LoginCookieValidity']
808 $cfg['LoginCookieValidity'] = 1440;
811 * how long login cookie should be stored (in seconds)
813 * @global integer $cfg['LoginCookieStore']
815 $cfg['LoginCookieStore'] = 0;
818 * whether to delete all login cookies on logout
820 * @global boolean $cfg['LoginCookieDeleteAll']
822 $cfg['LoginCookieDeleteAll'] = true;
825 * whether to enable the "database search" feature or not
827 * @global boolean $cfg['UseDbSearch']
829 $cfg['UseDbSearch'] = true;
832 * if set to true, PMA continues computing multiple-statement queries
833 * even if one of the queries failed
835 * @global boolean $cfg['IgnoreMultiSubmitErrors']
837 $cfg['IgnoreMultiSubmitErrors'] = false;
840 * allow login to any user entered server in cookie based authentication
842 * @global boolean $cfg['AllowArbitraryServer']
844 $cfg['AllowArbitraryServer'] = false;
847 * if reCaptcha is enabled it needs public key to connect with the service
849 * @global string $cfg['CaptchaLoginPublicKey']
851 $cfg['CaptchaLoginPublicKey'] = '';
854 * if reCaptcha is enabled it needs private key to connect with the service
856 * @global string $cfg['CaptchaLoginPrivateKey']
858 $cfg['CaptchaLoginPrivateKey'] = '';
860 /*******************************************************************************
861 * Error handler configuration
863 * this configures phpMyAdmin's own error handler, it is used to avoid information
864 * disclosure, gather errors for logging, reporting and displaying
866 * @global array $cfg['Error_Handler']
868 $cfg['Error_Handler'] = array();
871 * whether to display errors or not
873 * this does not affect errors of type E_USER_*
875 * @global boolean $cfg['Error_Handler']['display']
877 $cfg['Error_Handler']['display'] = false;
880 * (NOT IMPLEMENTED YET)
881 * where to log errors, false or empty to disable
884 * // EXAMPLE log to std PHP error log
885 * $cfg['Error_Handler']['log'] = array(0);
886 * // EXAMPLE mail errors
887 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
888 * // EXAMPLE append to specific file
889 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
892 * @see http://php.net/error_log
893 * @global string $cfg['Error_Handler']['log']
895 //$cfg['Error_Handler']['log'] = false;
898 * gather all errors in session to be displayed on a error reporting page
899 * for viewing and/or sending to phpMyAdmin developer team
901 * @global boolean $cfg['Error_Handler']['gather']
903 $cfg['Error_Handler']['gather'] = false;
906 /*******************************************************************************
907 * Navigation panel setup
911 * turn the select-based light menu into a tree
913 * @global boolean $cfg['NavigationTreeEnableGrouping']
915 $cfg['NavigationTreeEnableGrouping'] = true;
918 * the separator to sub-tree the select-based light menu tree
920 * @global string $cfg['NavigationTreeDbSeparator']
922 $cfg['NavigationTreeDbSeparator'] = '_';
925 * Which string will be used to generate table prefixes
926 * to split/nest tables into multiple categories
928 * @global string $cfg['NavigationTreeTableSeparator']
930 $cfg['NavigationTreeTableSeparator'] = '__';
933 * How many sublevels should be displayed when splitting up tables
934 * by the above Separator
936 * @global integer $cfg['NavigationTreeTableLevel']
938 $cfg['NavigationTreeTableLevel'] = 1;
941 * display logo at top of navigation panel
943 * @global boolean $cfg['NavigationDisplayLogo']
945 $cfg['NavigationDisplayLogo'] = true;
948 * where should logo link point to (can also contain an external URL)
950 * @global string $cfg['NavigationLogoLink']
952 $cfg['NavigationLogoLink'] = 'index.php';
955 * whether to open the linked page in the main window ('main') or
956 * in a new window ('new')
958 * @global string $cfg['NavigationLogoLinkWindow']
960 $cfg['NavigationLogoLinkWindow'] = 'main';
963 * number of recently used tables displayed in the navigation panel
965 * @global integer $cfg['NumRecentTables']
967 $cfg['NumRecentTables'] = 10;
970 * display a JavaScript table filter in the navigation panel
971 * when more then x tables are present
973 * @global boolean $cfg['NavigationTreeDisplayItemFilterMinimum']
975 $cfg['NavigationTreeDisplayItemFilterMinimum'] = 30;
978 * display server choice at top of navigation panel
980 * @global boolean $cfg['NavigationDisplayServers']
982 $cfg['NavigationDisplayServers'] = true;
985 * server choice as links
987 * @global boolean $cfg['DisplayServersList']
989 $cfg['DisplayServersList'] = false;
992 * display a JavaScript database filter in the navigation panel
993 * when more then x databases are present
995 * @global boolean $cfg['NavigationTreeDisplayDbFilterMinimum']
997 $cfg['NavigationTreeDisplayDbFilterMinimum'] = 30;
1000 * target of the navigation panel quick access icon
1003 * 'tbl_structure.php' = fields list
1004 * 'tbl_sql.php' = SQL form
1005 * 'tbl_select.php' = search page
1006 * 'tbl_change.php' = insert row page
1007 * 'sql.php' = browse page
1009 * @global string $cfg['NavigationTreeDefaultTabTable']
1011 $cfg['NavigationTreeDefaultTabTable'] = 'tbl_structure.php';
1014 /*******************************************************************************
1015 * In the main panel, at startup...
1019 * allow to display statistics and space usage in the pages about database
1020 * details and table properties
1022 * @global boolean $cfg['ShowStats']
1024 $cfg['ShowStats'] = true;
1027 * show PHP info link
1029 * @global boolean $cfg['ShowPhpInfo']
1031 $cfg['ShowPhpInfo'] = false;
1034 * show MySQL server and web server information
1036 * @global boolean $cfg['ShowServerInfo']
1038 $cfg['ShowServerInfo'] = true;
1041 * show change password link
1043 * @global boolean $cfg['ShowChgPassword']
1045 $cfg['ShowChgPassword'] = true;
1048 * show create database form
1050 * @global boolean $cfg['ShowCreateDb']
1052 $cfg['ShowCreateDb'] = true;
1055 /*******************************************************************************
1056 * Database structure
1060 * show creation timestamp column in database structure (true|false)?
1062 * @global boolean $cfg['ShowDbStructureCreation']
1064 $cfg['ShowDbStructureCreation'] = false;
1067 * show last update timestamp column in database structure (true|false)?
1069 * @global boolean $cfg['ShowDbStructureLastUpdate']
1071 $cfg['ShowDbStructureLastUpdate'] = false;
1074 * show last check timestamp column in database structure (true|false)?
1076 * @global boolean $cfg['ShowDbStructureLastCheck']
1078 $cfg['ShowDbStructureLastCheck'] = false;
1081 * allow hide action columns to drop down menu in database structure (true|false)?
1083 * @global boolean $cfg['HideStructureActions']
1085 $cfg['HideStructureActions'] = true;
1088 /*******************************************************************************
1093 * Use icons instead of text for the navigation bar buttons (table browse)
1094 * ('text'|'icons'|'both')
1096 * @global string $cfg['TableNavigationLinksMode']
1098 $cfg['TableNavigationLinksMode'] = 'icons';
1101 * Defines whether a user should be displayed a "show all (records)"
1102 * button in browse mode or not.
1104 * @global boolean $cfg['ShowAll']
1106 $cfg['ShowAll'] = false;
1109 * Number of rows displayed when browsing a result set. If the result
1110 * set contains more rows, "Previous" and "Next".
1111 * Possible values: 25,50,100,250,500
1113 * @global integer $cfg['MaxRows']
1115 $cfg['MaxRows'] = 25;
1118 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
1119 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
1120 * ascending order else-)
1122 * @global string $cfg['Order']
1124 $cfg['Order'] = 'SMART';
1127 * default for 'Show binary contents as HEX'
1129 * @global string $cfg['DisplayBinaryAsHex']
1131 $cfg['DisplayBinaryAsHex'] = true;
1134 * grid editing: save edited cell(s) in browse-mode at once
1136 * @global boolean $cfg['SaveCellsAtOnce']
1139 $cfg['SaveCellsAtOnce'] = false;
1142 * grid editing: which action triggers it, or completely disable the feature
1149 * @global string $cfg['GridEditing']
1151 $cfg['GridEditing'] ='double-click';
1154 /*******************************************************************************
1159 * disallow editing of binary fields
1161 * false allow editing
1162 * 'blob' allow editing except for BLOB fields
1163 * 'noblob' disallow editing except for BLOB fields
1164 * 'all' disallow editing
1166 * @global string $cfg['ProtectBinary']
1168 $cfg['ProtectBinary'] = 'blob';
1171 * Display the function fields in edit/insert mode
1173 * @global boolean $cfg['ShowFunctionFields']
1175 $cfg['ShowFunctionFields'] = true;
1178 * Display the type fields in edit/insert mode
1180 * @global boolean $cfg['ShowFieldTypesInDataEditView']
1182 $cfg['ShowFieldTypesInDataEditView'] = true;
1185 * Which editor should be used for CHAR/VARCHAR fields:
1186 * input - allows limiting of input length
1187 * textarea - allows newlines in fields
1189 * @global string $cfg['CharEditing']
1191 $cfg['CharEditing'] = 'input';
1194 * The minimum size for character input fields
1196 * @global integer $cfg['MinSizeForInputField']
1198 $cfg['MinSizeForInputField'] = 4;
1201 * The maximum size for character input fields
1203 * @global integer $cfg['MinSizeForInputField']
1205 $cfg['MaxSizeForInputField'] = 60;
1208 * How many rows can be inserted at one time
1210 * @global integer $cfg['InsertRows']
1212 $cfg['InsertRows'] = 2;
1215 * Sort order for items in a foreign-key drop-down list.
1216 * 'content' is the referenced data, 'id' is the key value.
1218 * @global array $cfg['ForeignKeyDropdownOrder']
1220 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
1223 * A drop-down list will be used if fewer items are present
1225 * @global integer $cfg['ForeignKeyMaxLimit']
1227 $cfg['ForeignKeyMaxLimit'] = 100;
1230 /*******************************************************************************
1231 * For the export features...
1235 * Allow for the use of zip compression (requires zip support to be enabled)
1237 * @global boolean $cfg['ZipDump']
1239 $cfg['ZipDump'] = true;
1242 * Allow for the use of gzip compression (requires zlib)
1244 * @global boolean $cfg['GZipDump']
1246 $cfg['GZipDump'] = true;
1249 * Allow for the use of bzip2 compression (requires bz2 extension)
1251 * @global boolean $cfg['BZipDump']
1253 $cfg['BZipDump'] = true;
1256 * Will compress gzip/bzip2 exports on the fly without the need for much memory.
1257 * If you encounter problems with created gzip/bzip2 files disable this feature.
1259 * @global boolean $cfg['CompressOnFly']
1261 $cfg['CompressOnFly'] = true;
1264 /*******************************************************************************
1265 * Tabs display settings
1269 * How to display the menu tabs ('icons'|'text'|'both')
1271 * @global boolean $cfg['TabsMode']
1273 $cfg['TabsMode'] = 'both';
1276 * How to display various action links ('icons'|'text'|'both')
1278 * @global boolean $cfg['ActionLinksMode']
1280 $cfg['ActionLinksMode'] = 'both';
1283 * How many columns should be used for table display of a database?
1284 * (a value larger than 1 results in some information being hidden)
1286 * @global integer $cfg['PropertiesNumColumns']
1288 $cfg['PropertiesNumColumns'] = 1;
1292 * 'index.php' = the welcome page
1293 * (recommended for multiuser setups)
1294 * 'server_databases.php' = list of databases
1295 * 'server_status.php' = runtime information
1296 * 'server_variables.php' = MySQL server variables
1297 * 'server_privileges.php' = user management
1299 * @global string $cfg['DefaultTabServer']
1301 $cfg['DefaultTabServer'] = 'index.php';
1305 * 'db_structure.php' = tables list
1306 * 'db_sql.php' = SQL form
1307 * 'db_search.php' = search query
1308 * 'db_operations.php' = operations on database
1310 * @global string $cfg['DefaultTabDatabase']
1312 $cfg['DefaultTabDatabase'] = 'db_structure.php';
1316 * 'tbl_structure.php' = fields list
1317 * 'tbl_sql.php' = SQL form
1318 * 'tbl_select.php' = search page
1319 * 'tbl_change.php' = insert row page
1320 * 'sql.php' = browse page
1322 * @global string $cfg['DefaultTabTable']
1324 $cfg['DefaultTabTable'] = 'sql.php';
1326 /*******************************************************************************
1329 $cfg['Export'] = array();
1332 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
1334 * @global string $cfg['Export']['format']
1336 $cfg['Export']['format'] = 'sql';
1339 * quick/custom/custom-no-form
1341 * @global string $cfg['Export']['format']
1343 $cfg['Export']['method'] = 'quick';
1346 * none/zip/gzip/bzip2
1348 * @global string $cfg['Export']['compression']
1350 $cfg['Export']['compression'] = 'none';
1355 * @global boolean $cfg['Export']['asfile']
1357 $cfg['Export']['asfile'] = true;
1362 * @global string $cfg['Export']['charset']
1364 $cfg['Export']['charset'] = '';
1369 * @global boolean $cfg['Export']['onserver']
1371 $cfg['Export']['onserver'] = false;
1376 * @global boolean $cfg['Export']['onserver_overwrite']
1378 $cfg['Export']['onserver_overwrite'] = false;
1383 * @global boolean $cfg['Export']['quick_export_onserver']
1385 $cfg['Export']['quick_export_onserver'] = false;
1390 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1392 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1397 * @global boolean $cfg['Export']['remember_file_template']
1399 $cfg['Export']['remember_file_template'] = true;
1404 * @global string $cfg['Export']['file_template_table']
1406 $cfg['Export']['file_template_table'] = '@TABLE@';
1411 * @global string $cfg['Export']['file_template_database']
1413 $cfg['Export']['file_template_database'] = '@DATABASE@';
1418 * @global string $cfg['Export']['file_template_server']
1420 $cfg['Export']['file_template_server'] = '@SERVER@';
1425 * @global string $cfg['Export']['codegen_structure_or_data']
1427 $cfg['Export']['codegen_structure_or_data'] = 'data';
1432 * @global $cfg['Export']['codegen_format']
1434 $cfg['Export']['codegen_format'] = 0;
1439 * @global boolean $cfg['Export']['ods_columns']
1441 $cfg['Export']['ods_columns'] = false;
1446 * @global string $cfg['Export']['ods_null']
1448 $cfg['Export']['ods_null'] = 'NULL';
1453 * @global string $cfg['Export']['odt_structure_or_data']
1455 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1460 * @global boolean $cfg['Export']['odt_columns']
1462 $cfg['Export']['odt_columns'] = true;
1467 * @global boolean $cfg['Export']['odt_relation']
1469 $cfg['Export']['odt_relation'] = true;
1474 * @global boolean $cfg['Export']['odt_comments']
1476 $cfg['Export']['odt_comments'] = true;
1481 * @global boolean $cfg['Export']['odt_mime']
1483 $cfg['Export']['odt_mime'] = true;
1488 * @global string $cfg['Export']['odt_null']
1490 $cfg['Export']['odt_null'] = 'NULL';
1495 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1497 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1502 * @global boolean $cfg['Export']['htmlword_columns']
1504 $cfg['Export']['htmlword_columns'] = false;
1509 * @global string $cfg['Export']['htmlword_null']
1511 $cfg['Export']['htmlword_null'] = 'NULL';
1516 * @global string $cfg['Export']['texytext_structure_or_data']
1518 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1523 * @global boolean $cfg['Export']['texytext_columns']
1525 $cfg['Export']['texytext_columns'] = false;
1530 * @global string $cfg['Export']['texytext_null']
1532 $cfg['Export']['texytext_null'] = 'NULL';
1537 * @global boolean $cfg['Export']['xls_columns']
1539 $cfg['Export']['xls_columns'] = false;
1544 * @global string $cfg['Export']['xls_structure_or_data']
1546 $cfg['Export']['xls_structure_or_data'] = 'data';
1551 * @global string $cfg['Export']['xls_null']
1553 $cfg['Export']['xls_null'] = 'NULL';
1558 * @global boolean $cfg['Export']['xlsx_columns']
1560 $cfg['Export']['xlsx_columns'] = false;
1565 * @global string $cfg['Export']['xlsx_structure_or_data']
1567 $cfg['Export']['xlsx_structure_or_data'] = 'data';
1572 * @global string $cfg['Export']['xlsx_null']
1574 $cfg['Export']['xlsx_null'] = 'NULL';
1579 * @global boolean $cfg['Export']['csv_columns']
1581 $cfg['Export']['csv_columns'] = false;
1586 * @global string $cfg['Export']['csv_structure_or_data']
1588 $cfg['Export']['csv_structure_or_data'] = 'data';
1593 * @global string $cfg['Export']['csv_null']
1595 $cfg['Export']['csv_null'] = 'NULL';
1600 * @global string $cfg['Export']['csv_separator']
1602 $cfg['Export']['csv_separator'] = ',';
1607 * @global string $cfg['Export']['csv_enclosed']
1609 $cfg['Export']['csv_enclosed'] = '"';
1614 * @global string $cfg['Export']['csv_escaped']
1616 $cfg['Export']['csv_escaped'] = '"';
1621 * @global string $cfg['Export']['csv_terminated']
1623 $cfg['Export']['csv_terminated'] = 'AUTO';
1628 * @global string $cfg['Export']['csv_removeCRLF']
1630 $cfg['Export']['csv_removeCRLF'] = false;
1635 * @global boolean $cfg['Export']['excel_columns']
1637 $cfg['Export']['excel_columns'] = false;
1642 * @global string $cfg['Export']['excel_null']
1644 $cfg['Export']['excel_null'] = 'NULL';
1649 * @global string $cfg['Export']['excel_edition']
1651 $cfg['Export']['excel_edition'] = 'win';
1656 * @global string $cfg['Export']['excel_removeCRLF']
1658 $cfg['Export']['excel_removeCRLF'] = false;
1663 * @global string $cfg['Export']['excel_structure_or_data']
1665 $cfg['Export']['excel_structure_or_data'] = 'data';
1670 * @global string $cfg['Export']['latex_structure_or_data']
1672 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1677 * @global boolean $cfg['Export']['latex_columns']
1679 $cfg['Export']['latex_columns'] = true;
1684 * @global boolean $cfg['Export']['latex_relation']
1686 $cfg['Export']['latex_relation'] = true;
1691 * @global boolean $cfg['Export']['latex_comments']
1693 $cfg['Export']['latex_comments'] = true;
1698 * @global boolean $cfg['Export']['latex_mime']
1700 $cfg['Export']['latex_mime'] = true;
1705 * @global string $cfg['Export']['latex_null']
1707 $cfg['Export']['latex_null'] = '\textit{NULL}';
1712 * @global boolean $cfg['Export']['latex_caption']
1714 $cfg['Export']['latex_caption'] = true;
1719 * @global string $cfg['Export']['latex_structure_caption']
1721 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1726 * @global string $cfg['Export']['latex_structure_continued_caption']
1728 $cfg['Export']['latex_structure_continued_caption']
1729 = 'strLatexStructure strLatexContinued';
1734 * @global string $cfg['Export']['latex_data_caption']
1736 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1741 * @global string $cfg['Export']['latex_data_continued_caption']
1743 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1748 * @global string $cfg['Export']['latex_data_label']
1750 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1755 * @global string $cfg['Export']['latex_structure_label']
1757 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1762 * @global string $cfg['Export']['mediawiki_structure_or_data']
1764 $cfg['Export']['mediawiki_structure_or_data'] = 'data';
1769 * @global boolean $cfg['Export']['mediawiki_caption']
1772 $cfg['Export']['mediawiki_caption'] = true;
1776 * @global boolean $cfg['Export']['mediawiki_headers']
1778 $cfg['Export']['mediawiki_headers'] = true;
1783 * @global string $cfg['Export']['ods_structure_or_data']
1785 $cfg['Export']['ods_structure_or_data'] = 'data';
1790 * @global string $cfg['Export']['pdf_structure_or_data']
1792 $cfg['Export']['pdf_structure_or_data'] = 'data';
1797 * @global string $cfg['Export']['phparray_structure_or_data']
1799 $cfg['Export']['phparray_structure_or_data'] = 'data';
1804 * @global string $cfg['Export']['json_structure_or_data']
1806 $cfg['Export']['json_structure_or_data'] = 'data';
1811 * @global string $cfg['Export']['sql_structure_or_data']
1813 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1818 * @global string $cfg['Export']['sql_compatibility']
1820 $cfg['Export']['sql_compatibility'] = 'NONE';
1823 * Whether to include comments in SQL export.
1825 * @global string $cfg['Export']['sql_include_comments']
1827 $cfg['Export']['sql_include_comments'] = true;
1832 * @global boolean $cfg['Export']['sql_disable_fk']
1834 $cfg['Export']['sql_disable_fk'] = false;
1838 * @global boolean $cfg['Export']['sql_views_as_tables']
1840 $cfg['Export']['sql_views_as_tables'] = false;
1845 * @global boolean $cfg['Export']['sql_use_transaction']
1847 $cfg['Export']['sql_use_transaction'] = false;
1852 * @global boolean $cfg['Export']['sql_create_database']
1854 $cfg['Export']['sql_create_database'] = false;
1859 * @global boolean $cfg['Export']['sql_drop_database']
1861 $cfg['Export']['sql_drop_database'] = false;
1866 * @global boolean $cfg['Export']['sql_drop_table']
1868 $cfg['Export']['sql_drop_table'] = false;
1873 * true by default for correct behavior when dealing with exporting
1874 * of VIEWs and the stand-in table
1875 * @global boolean $cfg['Export']['sql_if_not_exists']
1877 $cfg['Export']['sql_if_not_exists'] = true;
1882 * @global boolean $cfg['Export']['sql_procedure_function']
1884 $cfg['Export']['sql_procedure_function'] = true;
1889 * @global boolean $cfg['Export']['sql_auto_increment']
1891 $cfg['Export']['sql_auto_increment'] = true;
1896 * @global boolean $cfg['Export']['sql_backquotes']
1898 $cfg['Export']['sql_backquotes'] = true;
1903 * @global boolean $cfg['Export']['sql_dates']
1905 $cfg['Export']['sql_dates'] = false;
1910 * @global boolean $cfg['Export']['sql_relation']
1912 $cfg['Export']['sql_relation'] = false;
1917 * @global boolean $cfg['Export']['sql_truncate']
1919 $cfg['Export']['sql_truncate'] = false;
1924 * @global boolean $cfg['Export']['sql_delayed']
1926 $cfg['Export']['sql_delayed'] = false;
1931 * @global boolean $cfg['Export']['sql_ignore']
1933 $cfg['Export']['sql_ignore'] = false;
1936 * Export time in UTC.
1938 * @global boolean $cfg['Export']['sql_utc_time']
1940 $cfg['Export']['sql_utc_time'] = true;
1945 * @global boolean $cfg['Export']['sql_hex_for_blob']
1947 $cfg['Export']['sql_hex_for_blob'] = true;
1950 * insert/update/replace
1952 * @global string $cfg['Export']['sql_type']
1954 $cfg['Export']['sql_type'] = 'INSERT';
1959 * @global integer $cfg['Export']['sql_max_query_size']
1961 $cfg['Export']['sql_max_query_size'] = 50000;
1966 * @global boolean $cfg['Export']['sql_comments']
1968 $cfg['Export']['sql_comments'] = false;
1973 * @global boolean $cfg['Export']['sql_mime']
1975 $cfg['Export']['sql_mime'] = false;
1978 * \n is replaced by new line
1980 * @global string $cfg['Export']['sql_header_comment']
1982 $cfg['Export']['sql_header_comment'] = '';
1987 * @global boolean $cfg['Export']['sql_create_table_statements']
1989 $cfg['Export']['sql_create_table_statements'] = true;
1992 * Whether to use complete inserts, extended inserts, both, or neither
1994 * @global string $cfg['Export']['sql_insert_syntax']
1996 $cfg['Export']['sql_insert_syntax'] = 'both';
2001 * @global string $cfg['Export']['pdf_report_title']
2003 $cfg['Export']['pdf_report_title'] = '';
2008 *@global string $cfg['Export']['xml_structure_or_data']
2010 $cfg['Export']['xml_structure_or_data'] = 'data';
2013 * Export schema for each structure
2015 * @global string $cfg['Export']['xml_export_struc']
2017 $cfg['Export']['xml_export_struc'] = true;
2022 * @global string $cfg['Export']['xml_export_functions']
2024 $cfg['Export']['xml_export_functions'] = true;
2029 * @global string $cfg['Export']['xml_export_procedures']
2031 $cfg['Export']['xml_export_procedures'] = true;
2034 * Export schema for each table
2036 * @global string $cfg['Export']['xml_export_tables']
2038 $cfg['Export']['xml_export_tables'] = true;
2043 * @global string $cfg['Export']['xml_export_triggers']
2045 $cfg['Export']['xml_export_triggers'] = true;
2050 * @global string $cfg['Export']['xml_export_views']
2052 $cfg['Export']['xml_export_views'] = true;
2055 * Export contents data
2057 * @global string $cfg['Export']['xml_export_contents']
2059 $cfg['Export']['xml_export_contents'] = true;
2064 * @global string $cfg['Export']['yaml_structure_or_data']
2066 $cfg['Export']['yaml_structure_or_data'] = 'data';
2068 /*******************************************************************************
2071 $cfg['Import'] = array();
2076 * @global string $cfg['Import']['format']
2078 $cfg['Import']['format'] = 'sql';
2081 * Default charset for import.
2083 * @global string $cfg['Import']['charset']
2085 $cfg['Import']['charset'] = '';
2090 * @global boolean $cfg['Import']['allow_interrupt']
2092 $cfg['Import']['allow_interrupt'] = true;
2097 * @global integer $cfg['Import']['skip_queries']
2099 $cfg['Import']['skip_queries'] = 0;
2104 * @global string $cfg['Import']['sql_compatibility']
2106 $cfg['Import']['sql_compatibility'] = 'NONE';
2111 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
2113 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
2118 * @global boolean $cfg['Import']['csv_replace']
2120 $cfg['Import']['csv_replace'] = false;
2125 * @global boolean $cfg['Import']['csv_ignore']
2127 $cfg['Import']['csv_ignore'] = false;
2132 * @global string $cfg['Import']['csv_terminated']
2134 $cfg['Import']['csv_terminated'] = ',';
2139 * @global string $cfg['Import']['csv_enclosed']
2141 $cfg['Import']['csv_enclosed'] = '"';
2146 * @global string $cfg['Import']['csv_escaped']
2148 $cfg['Import']['csv_escaped'] = '"';
2153 * @global string $cfg['Import']['csv_new_line']
2155 $cfg['Import']['csv_new_line'] = 'auto';
2160 * @global string $cfg['Import']['csv_columns']
2162 $cfg['Import']['csv_columns'] = '';
2167 * @global string $cfg['Import']['csv_col_names']
2169 $cfg['Import']['csv_col_names'] = false;
2174 * @global boolean $cfg['Import']['ldi_replace']
2176 $cfg['Import']['ldi_replace'] = false;
2181 * @global boolean $cfg['Import']['ldi_ignore']
2183 $cfg['Import']['ldi_ignore'] = false;
2188 * @global string $cfg['Import']['ldi_terminated']
2190 $cfg['Import']['ldi_terminated'] = ';';
2195 * @global string $cfg['Import']['ldi_enclosed']
2197 $cfg['Import']['ldi_enclosed'] = '"';
2202 * @global string $cfg['Import']['ldi_escaped']
2204 $cfg['Import']['ldi_escaped'] = '\\';
2209 * @global string $cfg['Import']['ldi_new_line']
2211 $cfg['Import']['ldi_new_line'] = 'auto';
2216 * @global string $cfg['Import']['ldi_columns']
2218 $cfg['Import']['ldi_columns'] = '';
2221 * 'auto' for auto-detection, true or false for forcing
2223 * @global string $cfg['Import']['ldi_local_option']
2225 $cfg['Import']['ldi_local_option'] = 'auto';
2230 * @global string $cfg['Import']['ods_col_names']
2232 $cfg['Import']['ods_col_names'] = false;
2237 * @global string $cfg['Import']['ods_empty_rows']
2239 $cfg['Import']['ods_empty_rows'] = true;
2244 * @global string $cfg['Import']['ods_recognize_percentages']
2246 $cfg['Import']['ods_recognize_percentages'] = true;
2251 * @global string $cfg['Import']['ods_recognize_currency']
2253 $cfg['Import']['ods_recognize_currency'] = true;
2258 * @global string $cfg['Import']['xml_col_names']
2260 $cfg['Import']['xls_col_names'] = false;
2265 * @global string $cfg['Import']['xml_empty_rows']
2267 $cfg['Import']['xls_empty_rows'] = true;
2272 * @global string $cfg['Import']['xlsx_col_names']
2274 $cfg['Import']['xlsx_col_names'] = false;
2276 /*******************************************************************************
2283 * @global array $cfg['PDFPageSizes']
2285 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
2290 * @global string $cfg['PDFDefaultPageSize']
2292 $cfg['PDFDefaultPageSize'] = 'A4';
2295 /*******************************************************************************
2296 * Language and character set conversion settings
2300 * Default language to use, if not browser-defined or user-defined
2302 * @global string $cfg['DefaultLang']
2304 $cfg['DefaultLang'] = 'en';
2307 * Default connection collation
2309 * @global string $cfg['DefaultConnectionCollation']
2311 $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
2314 * Force: always use this language
2315 * $cfg['Lang'] = 'en';
2317 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2320 * @global string $cfg['FilterLanguages']
2322 $cfg['FilterLanguages'] = '';
2325 * You can select here which functions will be used for character set conversion.
2326 * Possible values are:
2327 * auto - automatically use available one (first is tested iconv, then
2329 * iconv - use iconv or libiconv functions
2330 * recode - use recode_string function
2331 * mb - use mbstring extension
2332 * none - disable encoding conversion
2334 * @global string $cfg['RecodingEngine']
2336 $cfg['RecodingEngine'] = 'auto';
2339 * Specify some parameters for iconv used in character set conversion. See iconv
2340 * documentation for details:
2341 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
2343 * @global string $cfg['IconvExtraParams']
2345 $cfg['IconvExtraParams'] = '//TRANSLIT';
2348 * Available character sets for MySQL conversion. currently contains all which could
2349 * be found in lang/* files and few more.
2350 * Character sets will be shown in same order as here listed, so if you frequently
2351 * use some of these move them to the top.
2353 * @global array $cfg['AvailableCharsets']
2355 $cfg['AvailableCharsets'] = array(
2390 /*******************************************************************************
2391 * Customization & design
2393 * The graphical settings are now located in themes/theme-name/layout.inc.php
2397 * enable the left panel pointer
2398 * see also LeftPointerColor
2401 * @global boolean $cfg['NavigationTreePointerEnable']
2403 $cfg['NavigationTreePointerEnable'] = true;
2406 * enable the browse pointer
2407 * see also BrowsePointerColor
2410 * @global boolean $cfg['BrowsePointerEnable']
2412 $cfg['BrowsePointerEnable'] = true;
2415 * enable the browse marker
2416 * see also BrowseMarkerColor
2419 * @global boolean $cfg['BrowseMarkerEnable']
2421 $cfg['BrowseMarkerEnable'] = true;
2424 * textarea size (columns) in edit mode
2425 * (this value will be emphasized (*2) for SQL
2426 * query textareas and (*1.25) for query window)
2428 * @global integer $cfg['TextareaCols']
2430 $cfg['TextareaCols'] = 40;
2433 * textarea size (rows) in edit mode
2435 * @global integer $cfg['TextareaRows']
2437 $cfg['TextareaRows'] = 15;
2440 * double size of textarea size for LONGTEXT columns
2442 * @global boolean $cfg['LongtextDoubleTextarea']
2444 $cfg['LongtextDoubleTextarea'] = true;
2447 * auto-select when clicking in the textarea of the query-box
2449 * @global boolean $cfg['TextareaAutoSelect']
2451 $cfg['TextareaAutoSelect'] = false;
2454 * textarea size (columns) for CHAR/VARCHAR
2456 * @global integer $cfg['CharTextareaCols']
2458 $cfg['CharTextareaCols'] = 40;
2461 * textarea size (rows) for CHAR/VARCHAR
2463 * @global integer $cfg['CharTextareaRows']
2465 $cfg['CharTextareaRows'] = 2;
2468 * Max field data length in browse mode for all non-numeric fields
2470 * @global integer $cfg['LimitChars']
2472 $cfg['LimitChars'] = 50;
2475 * Where to show the edit/copy/delete links in browse mode
2476 * Possible values are 'left', 'right', 'both' and 'none';
2477 * which will be interpreted as 'top', 'bottom', 'both' and 'none'
2478 * respectively for vertical display mode
2480 * @global string $cfg['RowActionLinks']
2482 $cfg['RowActionLinks'] = 'left';
2485 * default display direction (horizontal|vertical|horizontalflipped)
2487 * @global string $cfg['DefaultDisplay']
2489 $cfg['DefaultDisplay'] = 'horizontal';
2492 * remember the last way a table sorted
2494 * @global string $cfg['RememberSorting']
2496 $cfg['RememberSorting'] = true;
2499 * table-header rotation via faking or CSS? (css|fake|auto)
2500 * NOTE: CSS only works in IE browsers!
2502 * @global string $cfg['HeaderFlipType']
2504 $cfg['HeaderFlipType'] = 'auto';
2507 * shows stored relation-comments in 'browse' mode.
2509 * @global boolean $cfg['ShowBrowseComments']
2511 $cfg['ShowBrowseComments'] = true;
2514 * shows stored relation-comments in 'table property' mode.
2516 * @global boolean $cfg['ShowPropertyComments']
2518 $cfg['ShowPropertyComments']= true;
2521 * shows table display direction.
2523 $cfg['ShowDisplayDirection'] = false;
2526 * repeat header names every X cells? (0 = deactivate)
2528 * @global integer $cfg['RepeatCells']
2530 $cfg['RepeatCells'] = 100;
2533 * Set to true if Edit link should open the query to edit in the query window
2534 * and to false if we should edit in the right panel
2536 * @global boolean $cfg['EditInWindow']
2538 $cfg['EditInWindow'] = true;
2541 * Width of Query window
2543 * @global integer $cfg['QueryWindowWidth']
2545 $cfg['QueryWindowWidth'] = 550;
2548 * Height of Query window
2550 * @global integer $cfg['QueryWindowHeight']
2552 $cfg['QueryWindowHeight'] = 310;
2555 * Set to true if you want DB-based query history.If false, this utilizes
2556 * JS-routines to display query history (lost by window close)
2558 * @global boolean $cfg['QueryHistoryDB']
2560 $cfg['QueryHistoryDB'] = false;
2563 * which tab to display in the querywindow on startup
2564 * (sql|files|history|full)
2566 * @global string $cfg['QueryWindowDefTab']
2568 $cfg['QueryWindowDefTab'] = 'sql';
2571 * When using DB-based query history, how many entries should be kept?
2573 * @global integer $cfg['QueryHistoryMax']
2575 $cfg['QueryHistoryMax'] = 25;
2578 * Use MIME-Types (stored in column comments table) for
2580 * @global boolean $cfg['BrowseMIME']
2582 $cfg['BrowseMIME'] = true;
2585 * When approximate count < this, PMA will get exact count for table rows.
2587 * @global integer $cfg['MaxExactCount']
2589 $cfg['MaxExactCount'] = 0;
2592 * Zero means that no row count is done for views; see the doc
2594 * @global integer $cfg['MaxExactCountViews']
2596 $cfg['MaxExactCountViews'] = 0;
2599 * Sort table and database in natural order
2601 * @global boolean $cfg['NaturalOrder']
2603 $cfg['NaturalOrder'] = true;
2606 * Initial state for sliders
2607 * (open | closed | disabled)
2609 * @global string $cfg['InitialSlidersState']
2611 $cfg['InitialSlidersState'] = 'closed';
2614 * User preferences: disallow these settings
2615 * For possible setting names look in libraries/config/user_preferences.forms.php
2617 * @global array $cfg['UserprefsDisallow']
2619 $cfg['UserprefsDisallow'] = array();
2622 * User preferences: enable the Developer tab
2624 $cfg['UserprefsDeveloperTab'] = false;
2626 /*******************************************************************************
2627 * Window title settings
2631 * title of browser window when a table is selected
2633 * @global string $cfg['TitleTable']
2635 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2638 * title of browser window when a database is selected
2640 * @global string $cfg['TitleDatabase']
2642 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2645 * title of browser window when a server is selected
2647 * @global string $cfg['TitleServer']
2649 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2652 * title of browser window when nothing is selected
2653 * @global string $cfg['TitleDefault']
2655 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2658 /*******************************************************************************
2663 * using themes manager please set up here the path to 'themes' else leave empty
2665 * @global string $cfg['ThemePath']
2667 $cfg['ThemePath'] = './themes';
2670 * if you want to use selectable themes and if ThemesPath not empty
2671 * set it to true, else set it to false (default is false);
2673 * @global boolean $cfg['ThemeManager']
2675 $cfg['ThemeManager'] = true;
2678 * set up default theme, if ThemePath not empty you can set up here an valid
2679 * path to themes or 'original' for the original pma-theme
2681 * @global string $cfg['ThemeDefault']
2683 $cfg['ThemeDefault'] = 'pmahomme';
2686 * allow different theme for each configured server
2688 * @global boolean $cfg['ThemePerServer']
2690 $cfg['ThemePerServer'] = false;
2693 /*******************************************************************************
2698 * Default query for table
2700 * @global string $cfg['DefaultQueryTable']
2702 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2705 * Default query for database
2707 * @global string $cfg['DefaultQueryDatabase']
2709 $cfg['DefaultQueryDatabase'] = '';
2712 /*******************************************************************************
2713 * SQL Query box settings
2714 * These are the links display in all of the SQL Query boxes
2716 * @global array $cfg['SQLQuery']
2718 $cfg['SQLQuery'] = array();
2721 * Edit link to change a query
2723 * @global boolean $cfg['SQLQuery']['Edit']
2725 $cfg['SQLQuery']['Edit'] = true;
2728 * EXPLAIN on SELECT queries
2730 * @global boolean $cfg['SQLQuery']['Explain']
2732 $cfg['SQLQuery']['Explain'] = true;
2735 * Wrap a query in PHP
2737 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2739 $cfg['SQLQuery']['ShowAsPHP'] = true;
2742 * Validate a query (see $cfg['SQLValidator'] as well)
2744 * @global boolean $cfg['SQLQuery']['Validate']
2746 $cfg['SQLQuery']['Validate'] = false;
2749 * Refresh the results page
2751 * @global boolean $cfg['SQLQuery']['Refresh']
2753 $cfg['SQLQuery']['Refresh'] = true;
2756 /*******************************************************************************
2757 * Web server upload/save/import directories
2761 * Directory for uploaded files that can be executed by phpMyAdmin.
2762 * For example './upload'. Leave empty for no upload directory support.
2763 * Use %u for username inclusion.
2765 * @global string $cfg['UploadDir']
2767 $cfg['UploadDir'] = '';
2770 * Directory where phpMyAdmin can save exported data on server.
2771 * For example './save'. Leave empty for no save directory support.
2772 * Use %u for username inclusion.
2774 * @global string $cfg['SaveDir']
2776 $cfg['SaveDir'] = '';
2779 * Directory where phpMyAdmin can save temporary files.
2781 * @global string $cfg['TempDir']
2783 $cfg['TempDir'] = '';
2791 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2792 * which is the only safe way to determine GD version.
2794 * @global string $cfg['GD2Available']
2796 $cfg['GD2Available'] = 'auto';
2799 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2801 * @global array $cfg['TrustedProxies']
2803 $cfg['TrustedProxies'] = array();
2806 * We normally check the permissions on the configuration file to ensure
2807 * it's not world writable. However, phpMyAdmin could be installed on
2808 * a NTFS filesystem mounted on a non-Windows server, in which case the
2809 * permissions seems wrong but in fact cannot be detected. In this case
2810 * a sysadmin would set the following to false.
2812 $cfg['CheckConfigurationPermissions'] = true;
2815 * Limit for length of URL in links. When length would be above this limit, it
2816 * is replaced by form with button.
2817 * This is required as some web servers (IIS) have problems with long URLs.
2818 * The recommended limit is 2000
2819 * (see http://www.boutell.com/newfaq/misc/urllength.html) but we put
2820 * 1000 to accommodate Suhosin, see bug #3358750.
2822 $cfg['LinkLengthLimit'] = 1000;
2825 * Additional string to allow in CSP headers.
2827 $cfg['CSPAllow'] = '';
2830 * Disable the table maintenance mass operations, like optimizing or
2831 * repairing the selected tables of a database. An accidental execution
2832 * of such a maintenance task can enormously slow down a bigger database.
2834 $cfg['DisableMultiTableMaintenance'] = false;
2837 * Enable Error reporting by default in phpmyadmin installations
2839 * @global boolean $cfg['ErrorReporting']
2841 $cfg['ErrorReporting'] = true;
2844 * Whether or not to query the user before sending the error report to
2848 * (ask | always | never)
2850 * @global string $cfg['SendErrorReports']
2852 $cfg['SendErrorReports'] = 'ask';
2854 /*******************************************************************************
2855 * If you wish to use the SQL Validator service, you should be aware of the
2857 * All SQL statements are stored anonymously for statistical purposes.
2858 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
2859 * All rights reserved.
2861 * @global array $cfg['SQLValidator']
2863 $cfg['SQLValidator'] = array();
2866 * Make the SQL Validator available
2868 * @global boolean $cfg['SQLValidator']['use']
2870 $cfg['SQLValidator']['use'] = false;
2873 * If you have a custom username, specify it here (defaults to anonymous)
2875 * @global string $cfg['SQLValidator']['username']
2877 $cfg['SQLValidator']['username'] = '';
2880 * Password for username
2882 * @global string $cfg['SQLValidator']['password']
2884 $cfg['SQLValidator']['password'] = '';
2887 /*******************************************************************************
2890 * @global array $cfg['DBG']
2892 $cfg['DBG'] = array();
2895 * Output executed queries and their execution times
2897 * @global boolean $cfg['DBG']['sql']
2899 $cfg['DBG']['sql'] = false;
2902 * Enable to let server present itself as demo server.
2904 * @global boolean $cfg['DBG']['demo']
2906 $cfg['DBG']['demo'] = false;
2909 /*******************************************************************************
2914 * Default functions for above defined groups
2916 * @global array $cfg['DefaultFunctions']
2918 $cfg['DefaultFunctions'] = array(
2921 'FUNC_NUMBER' => '',
2922 'FUNC_SPATIAL' => 'GeomFromText',
2923 'FUNC_UUID' => 'UUID',
2924 'first_timestamp' => 'NOW',
2928 * Max rows retreived for zoom search
2930 $cfg['maxRowPlotLimit'] = 500;