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 Documentation.html
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 relation features 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 * Allows phpMyAdmin to be included from a document located on
66 * another domain; setting this to true is a potential security hole
68 * @global boolean $cfg['AllowThirdPartyFraming']
70 $cfg['AllowThirdPartyFraming'] = false;
73 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
74 * at least one server configuration uses 'cookie' auth_type, enter here a
75 * pass phrase that will be used by blowfish. The maximum length seems to be 46
78 * @global string $cfg['blowfish_secret']
80 $cfg['blowfish_secret'] = '';
83 /*******************************************************************************
84 * Server(s) configuration
86 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
87 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
88 * to ''. If you want more than one server, just copy following section
89 * (including $i incrementation) several times. There is no need to define
90 * full server array, just define values you need to change.
92 * @global array $cfg['Servers']
94 $cfg['Servers'] = array();
99 * MySQL hostname or IP address
101 * @global string $cfg['Servers'][$i]['host']
103 $cfg['Servers'][$i]['host'] = 'localhost';
106 * MySQL port - leave blank for default port
108 * @global string $cfg['Servers'][$i]['port']
110 $cfg['Servers'][$i]['port'] = '';
113 * Path to the socket - leave blank for default socket
115 * @global string $cfg['Servers'][$i]['socket']
117 $cfg['Servers'][$i]['socket'] = '';
120 * Use SSL for connecting to MySQL server?
122 * @global boolean $cfg['Servers'][$i]['ssl']
124 $cfg['Servers'][$i]['ssl'] = false;
127 * How to connect to MySQL server ('tcp' or 'socket')
129 * @global string $cfg['Servers'][$i]['connect_type']
131 $cfg['Servers'][$i]['connect_type'] = 'tcp';
134 * The PHP MySQL extension to use ('mysql' or 'mysqli')
136 * @global string $cfg['Servers'][$i]['extension']
138 $cfg['Servers'][$i]['extension'] = 'mysql';
141 * Use compressed protocol for the MySQL connection (requires PHP >= 4.3.0)
143 * @global boolean $cfg['Servers'][$i]['compress']
145 $cfg['Servers'][$i]['compress'] = false;
148 * MySQL control user settings (this user must have read-only
149 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
150 * used for all relational features (pmadb)
152 * @global string $cfg['Servers'][$i]['controluser']
154 $cfg['Servers'][$i]['controluser'] = '';
157 * MySQL control user settings (this user must have read-only
158 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
159 * used for all relational features (pmadb)
161 * @global string $cfg['Servers'][$i]['controlpass']
163 $cfg['Servers'][$i]['controlpass'] = '';
166 * Authentication method (valid choices: config, http, signon or cookie)
168 * @global string $cfg['Servers'][$i]['auth_type']
170 $cfg['Servers'][$i]['auth_type'] = 'cookie';
173 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
175 * @global string $cfg['Servers'][$i]['auth_http_realm']
177 $cfg['Servers'][$i]['auth_http_realm'] = '';
180 * File containing Swekey ids and login names (see /contrib);
181 * leave empty to deactivate Swekey hardware authentication
183 * @global string $cfg['Servers'][$i]['auth_swekey_config']
185 $cfg['Servers'][$i]['auth_swekey_config'] = '';
190 * @global string $cfg['Servers'][$i]['user']
192 $cfg['Servers'][$i]['user'] = 'root';
195 * MySQL password (only needed with 'config' auth_type)
197 * @global string $cfg['Servers'][$i]['password']
199 $cfg['Servers'][$i]['password'] = '';
202 * Session to use for 'signon' authentication method
204 * @global string $cfg['Servers'][$i]['SignonSession']
206 $cfg['Servers'][$i]['SignonSession'] = '';
209 * URL where to redirect user to login for 'signon' authentication method
211 * @global string $cfg['Servers'][$i]['SignonURL']
213 $cfg['Servers'][$i]['SignonURL'] = '';
216 * URL where to redirect user after logout
218 * @global string $cfg['Servers'][$i]['LogoutURL']
220 $cfg['Servers'][$i]['LogoutURL'] = '';
223 * Whether to try to connect without password
225 * @global boolean $cfg['Servers'][$i]['nopassword']
227 $cfg['Servers'][$i]['nopassword'] = false;
230 * If set to a db-name, only this db is displayed in left frame
231 * It may also be an array of db-names, where sorting order is relevant.
233 * @global string $cfg['Servers'][$i]['only_db']
235 $cfg['Servers'][$i]['only_db'] = '';
238 * Database name to be hidden from listings
240 * @global string $cfg['Servers'][$i]['hide_db']
242 $cfg['Servers'][$i]['hide_db'] = '';
245 * Verbose name for this host - leave blank to show the hostname
246 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
248 * @global string $cfg['Servers'][$i]['verbose']
250 $cfg['Servers'][$i]['verbose'] = '';
253 * Database used for Relation, Bookmark and PDF Features
254 * (see scripts/create_tables.sql)
255 * - leave blank for no support
256 * SUGGESTED: 'phpmyadmin'
258 * @global string $cfg['Servers'][$i]['pmadb']
260 $cfg['Servers'][$i]['pmadb'] = '';
264 * - leave blank for no bookmark support
265 * SUGGESTED: 'pma_bookmark'
267 * @global string $cfg['Servers'][$i]['bookmarktable']
269 $cfg['Servers'][$i]['bookmarktable'] = '';
272 * table to describe the relation between links (see doc)
273 * - leave blank for no relation-links support
274 * SUGGESTED: 'pma_relation'
276 * @global string $cfg['Servers'][$i]['relation']
278 $cfg['Servers'][$i]['relation'] = '';
281 * table to describe the display fields
282 * - leave blank for no display fields support
283 * SUGGESTED: 'pma_table_info'
285 * @global string $cfg['Servers'][$i]['table_info']
287 $cfg['Servers'][$i]['table_info'] = '';
290 * table to describe the tables position for the PDF schema
291 * - leave blank for no PDF schema support
292 * SUGGESTED: 'pma_table_coords'
294 * @global string $cfg['Servers'][$i]['table_coords']
296 $cfg['Servers'][$i]['table_coords'] = '';
299 * table to describe pages of relationpdf
300 * - leave blank if you don't want to use this
301 * SUGGESTED: 'pma_pdf_pages'
303 * @global string $cfg['Servers'][$i]['pdf_pages']
305 $cfg['Servers'][$i]['pdf_pages'] = '';
308 * table to store column information
309 * - leave blank for no column comments/mime types
310 * SUGGESTED: 'pma_column_info'
312 * @global string $cfg['Servers'][$i]['column_info']
314 $cfg['Servers'][$i]['column_info'] = '';
317 * table to store SQL history
318 * - leave blank for no SQL query history
319 * SUGGESTED: 'pma_history'
321 * @global string $cfg['Servers'][$i]['history']
323 $cfg['Servers'][$i]['history'] = '';
326 * table to store the coordinates for Designer
327 * - leave blank for no Designer feature
328 * SUGGESTED: 'pma_designer_coords'
330 * @global string $cfg['Servers'][$i]['designer_coords']
332 $cfg['Servers'][$i]['designer_coords'] = '';
335 * table to store SQL tracking
336 * - leave blank for no SQL tracking
337 * SUGGESTED: 'pma_tracking'
339 * @global string $cfg['Servers'][$i]['tracking']
341 $cfg['Servers'][$i]['tracking'] = '';
344 * table to store user preferences
345 * - leave blank to disable server storage
346 * SUGGESTED: 'pma_userconfig'
348 * @global string $cfg['Servers'][$i]['userconfig']
350 $cfg['Servers'][$i]['userconfig'] = '';
353 * set to false if you know that your pma_* tables are up to date.
354 * This prevents compatibility checks and thereby increases performance.
356 * @global boolean $cfg['Servers'][$i]['verbose_check']
358 $cfg['Servers'][$i]['verbose_check'] = true;
361 * whether to allow root login
363 * @global boolean $cfg['Servers'][$i]['AllowRoot']
365 $cfg['Servers'][$i]['AllowRoot'] = true;
368 * whether to allow login of any user without a password
370 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
372 $cfg['Servers'][$i]['AllowNoPassword'] = false;
375 * Host authentication order, leave blank to not use
377 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
379 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
382 * Host authentication rules, leave blank for defaults
384 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
386 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
389 * Disable use of INFORMATION_SCHEMA
391 * @see http://sf.net/support/tracker.php?aid=1849494
392 * @see http://bugs.mysql.com/19588
393 * @global boolean $cfg['Servers'][$i]['DisableIS']
395 $cfg['Servers'][$i]['DisableIS'] = true;
398 * SQL command to fetch available databases
400 * by default most user will be fine with SHOW DATABASES,
401 * for servers with a huge amount of databases it is possible to
402 * define a command which executes faster but with less information
404 * especially when accessing database servers from ISPs changing this command
405 * can result in a great speed improvement
407 * false will disable fetching databases from the server, only databases in
408 * $cfg['Servers'][$i]['only_db'] will be displayed
410 * #user# will be replaced by current user
414 * "SHOW DATABASES LIKE '#user#\_%'"
415 * 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
416 * 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
419 * @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
421 $cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
424 * Whether to count tables when showing database list
426 * @global array $cfg['Servers'][$i]['CountTables']
428 $cfg['Servers'][$i]['CountTables'] = true;
431 * Whether the tracking mechanism creates versions for tables and views automatically.
433 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
436 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
439 * Defines the list of statements the auto-creation uses for new versions.
441 * @global string $cfg['Servers'][$i]['tracking_default_statements']
444 $cfg['Servers'][$i]['tracking_default_statements'] = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,' .
445 'CREATE INDEX,DROP INDEX,' .
446 'INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,' .
447 'CREATE VIEW,ALTER VIEW,DROP VIEW,' .
448 'CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
451 * Whether a DROP VIEW IF EXISTS statement will be added as first line to the log when creating a view.
453 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
456 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
459 * Whether a DROP TABLE IF EXISTS statement will be added as first line to the log when creating a table.
461 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
464 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
467 * Whether a DROP DATABASE IF EXISTS statement will be added as first line to the log when creating a database.
469 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
472 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
475 * Default server (0 = no default server)
477 * If you have more than one server configured, you can set $cfg['ServerDefault']
478 * to any one of them to auto-connect to that server when phpMyAdmin is started,
479 * or set it to 0 to be given a list of servers without logging in
480 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
481 * set to that server.
483 * @global integer $cfg['ServerDefault']
485 $cfg['ServerDefault'] = 1;
488 * Other core phpMyAdmin settings
491 * maximum number of db's displayed in left frame and database list
493 * @global integer $cfg['MaxDbList']
495 $cfg['MaxDbList'] = 100;
498 * maximum number of tables displayed in table list
500 * @global integer $cfg['MaxTableList']
502 $cfg['MaxTableList'] = 250;
505 * maximum number of characters when a SQL query is displayed
507 * @global integer $cfg['MaxCharactersInDisplayedSQL']
509 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
512 * use GZIP output buffering if possible (true|false|'auto')
514 * @global string $cfg['OBGzip']
516 $cfg['OBGzip'] = 'auto';
519 * use persistent connections to MySQL database
521 * @global boolean $cfg['PersistentConnections']
523 $cfg['PersistentConnections'] = false;
526 * whether to force using HTTPS
528 * @global boolean $cfg['ForceSSL']
530 $cfg['ForceSSL'] = false;
533 * maximum execution time in seconds (0 for no limit)
535 * @global integer $cfg['ExecTimeLimit']
537 $cfg['ExecTimeLimit'] = 300;
540 * Path for storing session data (session_save_path PHP parameter).
542 * @global integer $cfg['SessionSavePath']
544 $cfg['SessionSavePath'] = '';
547 * maximum allocated bytes ('0' for no limit)
548 * this is a string because '16M' is a valid value; we must put here
549 * a string as the default value so that /setup accepts strings
551 * @global string $cfg['MemoryLimit']
553 $cfg['MemoryLimit'] = '0';
556 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
558 * @global boolean $cfg['SkipLockedTables']
560 $cfg['SkipLockedTables'] = false;
563 * show SQL queries as run
565 * @global boolean $cfg['ShowSQL']
567 $cfg['ShowSQL'] = true;
570 * show a 'Drop database' link to normal users
572 * @global boolean $cfg['AllowUserDropDatabase']
574 $cfg['AllowUserDropDatabase'] = false;
577 * confirm some commands that can result in loss of data
578 * (see "need_confirm" in the parser)
580 * @global boolean $cfg['Confirm']
582 $cfg['Confirm'] = true;
585 * recall previous login in cookie authentication mode or not
587 * @global boolean $cfg['LoginCookieRecall']
589 $cfg['LoginCookieRecall'] = true;
592 * validity of cookie login (in seconds; 1440 matches php.ini's
593 * session.gc_maxlifetime)
595 * @global integer $cfg['LoginCookieValidity']
597 $cfg['LoginCookieValidity'] = 1440;
600 * how long login cookie should be stored (in seconds)
602 * @global integer $cfg['LoginCookieStore']
604 $cfg['LoginCookieStore'] = 0;
607 * whether to delete all login cookies on logout
609 * @global boolean $cfg['LoginCookieDeleteAll']
611 $cfg['LoginCookieDeleteAll'] = true;
614 * whether to enable the "database search" feature or not
616 * @global boolean $cfg['UseDbSearch']
618 $cfg['UseDbSearch'] = true;
621 * if set to true, PMA continues computing multiple-statement queries
622 * even if one of the queries failed
624 * @global boolean $cfg['IgnoreMultiSubmitErrors']
626 $cfg['IgnoreMultiSubmitErrors'] = false;
629 * if set to true, PMA will show the affected rows of EACH statement on
630 * multiple-statement queries. See the libraries/import.php file for
631 * hard coded defaults on how many queries a statement may contain!
633 * @global boolean $cfg['VerboseMultiSubmit']
635 $cfg['VerboseMultiSubmit'] = true;
638 * allow login to any user entered server in cookie based authentication
640 * @global boolean $cfg['AllowArbitraryServer']
642 $cfg['AllowArbitraryServer'] = false;
645 /*******************************************************************************
646 * Error handler configuration
648 * this configures phpMyAdmin's own error handler, it is used to avoid information
649 * disclosure, gather errors for logging, reporting and displaying
651 * @global array $cfg['Error_Handler']
653 $cfg['Error_Handler'] = array();
656 * whether to display errors or not
658 * this does not affect errors of type E_USER_*
660 * @global boolean $cfg['Error_Handler']['display']
662 $cfg['Error_Handler']['display'] = false;
665 * (NOT IMPLEMENTED YET)
666 * where to log errors, false or empty to disable
669 * // EXAMPLE log to std PHP error log
670 * $cfg['Error_Handler']['log'] = array(0);
671 * // EXAMPLE mail errors
672 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
673 * // EXAMPLE append to specific file
674 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
677 * @see http://php.net/error_log
678 * @global string $cfg['Error_Handler']['log']
680 //$cfg['Error_Handler']['log'] = false;
683 * gather all errors in session to be displayed on a error reporting page
684 * for viewing and/or sending to phpMyAdmin developer team
686 * @global boolean $cfg['Error_Handler']['gather']
688 $cfg['Error_Handler']['gather'] = false;
691 /*******************************************************************************
696 * use a select-based menu and display only the current tables in the left frame.
698 * @global boolean $cfg['LeftFrameLight']
700 $cfg['LeftFrameLight'] = true;
703 * turn the select-based light menu into a tree
705 * @global boolean $cfg['LeftFrameDBTree']
707 $cfg['LeftFrameDBTree'] = true;
710 * the separator to sub-tree the select-based light menu tree
712 * @global string $cfg['LeftFrameDBSeparator']
714 $cfg['LeftFrameDBSeparator'] = '_';
717 * Which string will be used to generate table prefixes
718 * to split/nest tables into multiple categories
720 * @global string $cfg['LeftFrameTableSeparator']
722 $cfg['LeftFrameTableSeparator']= '__';
725 * How many sublevels should be displayed when splitting up tables by the above Separator
727 * @global integer $cfg['LeftFrameTableLevel']
729 $cfg['LeftFrameTableLevel'] = 1;
732 * display table comment as tooltip in left frame
734 * @global boolean $cfg['ShowTooltip']
736 $cfg['ShowTooltip'] = true;
739 * if ShowToolTip is enabled, this defines that table/db comments
741 * @global boolean $cfg['ShowTooltipAliasDB']
743 $cfg['ShowTooltipAliasDB'] = false;
746 * are shown (in the left menu and db_structure) instead of table/db names.
747 * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
748 * descriptors, not the table itself.
750 * @global boolean $cfg['ShowTooltipAliasTB']
752 $cfg['ShowTooltipAliasTB'] = false;
755 * display logo at top of left frame
757 * @global boolean $cfg['LeftDisplayLogo']
759 $cfg['LeftDisplayLogo'] = true;
762 * where should logo link point to (can also contain an external URL)
764 * @global string $cfg['LeftLogoLink']
766 $cfg['LeftLogoLink'] = 'main.php';
769 * whether to open the linked page in the main window ('main') or
770 * in a new window ('new')
772 * @global string $cfg['LeftLogoLinkWindow']
774 $cfg['LeftLogoLinkWindow'] = 'main';
777 * display server choice at top of left frame
779 * @global boolean $cfg['LeftDisplayServers']
781 $cfg['LeftDisplayServers'] = false;
784 * server choice as links
786 * @global boolean $cfg['DisplayServersList']
788 $cfg['DisplayServersList'] = false;
791 * database choice in light as links
793 * @global boolean $cfg['DisplayDatabasesList']
795 $cfg['DisplayDatabasesList'] = 'auto';
798 * target of the navigation panel quick access icon
801 * 'tbl_structure.php' = fields list
802 * 'tbl_sql.php' = SQL form
803 * 'tbl_select.php' = search page
804 * 'tbl_change.php' = insert row page
805 * 'sql.php' = browse page
807 * @global string $cfg['LeftDefaultTabTable']
809 $cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
812 /*******************************************************************************
813 * In the main frame, at startup...
817 * allow to display statistics and space usage in the pages about database
818 * details and table properties
820 * @global boolean $cfg['ShowStats']
822 $cfg['ShowStats'] = true;
827 * @global boolean $cfg['ShowPhpInfo']
829 $cfg['ShowPhpInfo'] = false;
832 * show MySQL server and web server information
834 * @global boolean $cfg['ShowServerInfo']
836 $cfg['ShowServerInfo'] = true;
839 * show change password link
841 * @global boolean $cfg['ShowChgPassword']
843 $cfg['ShowChgPassword'] = true;
846 * show create database form
848 * @global boolean $cfg['ShowCreateDb']
850 $cfg['ShowCreateDb'] = true;
853 * suggest a new DB name if possible (false = keep empty)
855 * @global boolean $cfg['SuggestDBName']
857 $cfg['SuggestDBName'] = true;
860 /*******************************************************************************
865 * Use icons instead of text for the navigation bar buttons
866 * and on right panel top menu (server db table) (true|false|'both')
868 * @global string $cfg['NavigationBarIconic']
870 $cfg['NavigationBarIconic'] = true;
873 * Defines whether a user should be displayed a "show all (records)"
874 * button in browse mode or not.
876 * @global boolean $cfg['ShowAll']
878 $cfg['ShowAll'] = false;
881 * Number of rows displayed when browsing a result set. If the result
882 * set contains more rows, "Previous" and "Next".
884 * @global integer $cfg['MaxRows']
886 $cfg['MaxRows'] = 30;
889 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
890 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
891 * ascending order else-)
893 * @global string $cfg['Order']
895 $cfg['Order'] = 'SMART';
898 * default for 'Show binary contents as HEX'
900 * @global string $cfg['DisplayBinaryAsHex']
902 $cfg['DisplayBinaryAsHex'] = true;
905 /*******************************************************************************
910 * disallow editing of binary fields
912 * false allow editing
913 * 'blob' allow editing except for BLOB fields
914 * 'all' disallow editing
916 * @global string $cfg['ProtectBinary']
918 $cfg['ProtectBinary'] = 'blob';
921 * Display the function fields in edit/insert mode
923 * @global boolean $cfg['ShowFunctionFields']
925 $cfg['ShowFunctionFields'] = true;
928 * Display the type fields in edit/insert mode
930 * @global boolean $cfg['ShowFieldTypesInDataEditView']
932 $cfg['ShowFieldTypesInDataEditView'] = true;
935 * Which editor should be used for CHAR/VARCHAR fields:
936 * input - allows limiting of input length
937 * textarea - allows newlines in fields
939 * @global string $cfg['CharEditing']
941 $cfg['CharEditing'] = 'input';
944 * How many rows can be inserted at one time
946 * @global integer $cfg['InsertRows']
948 $cfg['InsertRows'] = 2;
951 * Sort order for items in a foreign-key drop-down list.
952 * 'content' is the referenced data, 'id' is the key value.
954 * @global array $cfg['ForeignKeyDropdownOrder']
956 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
959 * A drop-down list will be used if fewer items are present
961 * @global integer $cfg['ForeignKeyMaxLimit']
963 $cfg['ForeignKeyMaxLimit'] = 100;
966 /*******************************************************************************
967 * For the export features...
971 * Allow for the use of zip compression (requires zip support to be enabled)
973 * @global boolean $cfg['ZipDump']
975 $cfg['ZipDump'] = true;
978 * Allow for the use of gzip compression (requires zlib)
980 * @global boolean $cfg['GZipDump']
982 $cfg['GZipDump'] = true;
985 * Allow for the use of bzip2 compression (requires bz2 extension)
987 * @global boolean $cfg['BZipDump']
989 $cfg['BZipDump'] = true;
992 * Will compress gzip/bzip2 exports on the fly without the need for much memory.
993 * If you encounter problems with created gzip/bzip2 files disable this feature.
995 * @global boolean $cfg['CompressOnFly']
997 $cfg['CompressOnFly'] = true;
1000 /*******************************************************************************
1001 * Tabs display settings
1005 * Use graphically less intense menu tabs
1007 * @global boolean $cfg['LightTabs']
1009 $cfg['LightTabs'] = false;
1012 * Use icons instead of text for the table display of a database (true|false|'both')
1014 * @global boolean $cfg['PropertiesIconic']
1016 $cfg['PropertiesIconic'] = true;
1019 * How many columns should be used for table display of a database?
1020 * (a value larger than 1 results in some information being hidden)
1022 * @global integer $cfg['PropertiesNumColumns']
1024 $cfg['PropertiesNumColumns'] = 1;
1028 * 'main.php' = the welcome page
1029 * (recommended for multiuser setups)
1030 * 'server_databases.php' = list of databases
1031 * 'server_status.php' = runtime information
1032 * 'server_variables.php' = MySQL server variables
1033 * 'server_privileges.php' = user management
1034 * 'server_processlist.php' = process list
1036 * @global string $cfg['DefaultTabServer']
1038 $cfg['DefaultTabServer'] = 'main.php';
1042 * 'db_structure.php' = tables list
1043 * 'db_sql.php' = SQL form
1044 * 'db_search.php' = search query
1045 * 'db_operations.php' = operations on database
1047 * @global string $cfg['DefaultTabDatabase']
1049 $cfg['DefaultTabDatabase'] = 'db_structure.php';
1053 * 'tbl_structure.php' = fields list
1054 * 'tbl_sql.php' = SQL form
1055 * 'tbl_select.php' = search page
1056 * 'tbl_change.php' = insert row page
1057 * 'sql.php' = browse page
1059 * @global string $cfg['DefaultTabTable']
1061 $cfg['DefaultTabTable'] = 'sql.php';
1063 /*******************************************************************************
1066 $cfg['Export'] = array();
1069 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
1071 * @global string $cfg['Export']['format']
1073 $cfg['Export']['format'] = 'sql';
1076 * none/zip/gzip/bzip2
1078 * @global string $cfg['Export']['compression']
1080 $cfg['Export']['compression'] = 'none';
1085 * @global boolean $cfg['Export']['asfile']
1087 $cfg['Export']['asfile'] = true;
1092 * @global string $cfg['Export']['charset']
1094 $cfg['Export']['charset'] = '';
1099 * @global boolean $cfg['Export']['onserver']
1101 $cfg['Export']['onserver'] = false;
1106 * @global boolean $cfg['Export']['onserver_overwrite']
1108 $cfg['Export']['onserver_overwrite'] = false;
1113 * @global boolean $cfg['Export']['remember_file_template']
1115 $cfg['Export']['remember_file_template'] = true;
1120 * @global string $cfg['Export']['file_template_table']
1122 $cfg['Export']['file_template_table'] = '@TABLE@';
1127 * @global string $cfg['Export']['file_template_database']
1129 $cfg['Export']['file_template_database'] = '@DB@';
1134 * @global string $cfg['Export']['file_template_server']
1136 $cfg['Export']['file_template_server'] = '@SERVER@';
1141 * @global $cfg['Export']['codegen_format']
1143 $cfg['Export']['codegen_format'] = 0;
1148 * @global boolean $cfg['Export']['ods_columns']
1150 $cfg['Export']['ods_columns'] = false;
1155 * @global string $cfg['Export']['ods_null']
1157 $cfg['Export']['ods_null'] = 'NULL';
1162 * @global boolean $cfg['Export']['odt_structure']
1164 $cfg['Export']['odt_structure'] = true;
1169 * @global boolean $cfg['Export']['odt_data']
1171 $cfg['Export']['odt_data'] = true;
1176 * @global boolean $cfg['Export']['odt_columns']
1178 $cfg['Export']['odt_columns'] = true;
1183 * @global boolean $cfg['Export']['odt_relation']
1185 $cfg['Export']['odt_relation'] = true;
1190 * @global boolean $cfg['Export']['odt_comments']
1192 $cfg['Export']['odt_comments'] = true;
1197 * @global boolean $cfg['Export']['odt_mime']
1199 $cfg['Export']['odt_mime'] = true;
1204 * @global string $cfg['Export']['odt_null']
1206 $cfg['Export']['odt_null'] = 'NULL';
1211 * @global boolean $cfg['Export']['htmlword_structure']
1213 $cfg['Export']['htmlword_structure'] = true;
1218 * @global boolean $cfg['Export']['htmlword_data']
1220 $cfg['Export']['htmlword_data'] = true;
1225 * @global boolean $cfg['Export']['htmlword_columns']
1227 $cfg['Export']['htmlword_columns'] = false;
1232 * @global string $cfg['Export']['htmlword_null']
1234 $cfg['Export']['htmlword_null'] = 'NULL';
1239 * @global boolean $cfg['Export']['texytext_structure']
1241 $cfg['Export']['texytext_structure'] = TRUE;
1246 * @global boolean $cfg['Export']['texytext_data']
1248 $cfg['Export']['texytext_data'] = TRUE;
1253 * @global boolean $cfg['Export']['texytext_columns']
1255 $cfg['Export']['texytext_columns'] = FALSE;
1260 * @global string $cfg['Export']['texytext_null']
1262 $cfg['Export']['texytext_null'] = 'NULL';
1267 * @global boolean $cfg['Export']['xls_columns']
1269 $cfg['Export']['xls_columns'] = false;
1274 * @global string $cfg['Export']['xls_null']
1276 $cfg['Export']['xls_null'] = 'NULL';
1281 * @global boolean $cfg['Export']['xlsx_columns']
1283 $cfg['Export']['xlsx_columns'] = false;
1288 * @global string $cfg['Export']['xlsx_null']
1290 $cfg['Export']['xlsx_null'] = 'NULL';
1295 * @global boolean $cfg['Export']['csv_columns']
1297 $cfg['Export']['csv_columns'] = false;
1302 * @global string $cfg['Export']['csv_null']
1304 $cfg['Export']['csv_null'] = 'NULL';
1309 * @global string $cfg['Export']['csv_separator']
1311 $cfg['Export']['csv_separator'] = ';';
1316 * @global string $cfg['Export']['csv_enclosed']
1318 $cfg['Export']['csv_enclosed'] = '"';
1323 * @global string $cfg['Export']['csv_escaped']
1325 $cfg['Export']['csv_escaped'] = '\\';
1330 * @global string $cfg['Export']['csv_terminated']
1332 $cfg['Export']['csv_terminated'] = 'AUTO';
1337 * @global string $cfg['Export']['csv_removeCRLF']
1339 $cfg['Export']['csv_removeCRLF'] = false;
1344 * @global boolean $cfg['Export']['excel_columns']
1346 $cfg['Export']['excel_columns'] = false;
1351 * @global string $cfg['Export']['excel_null']
1353 $cfg['Export']['excel_null'] = 'NULL';
1358 * @global string $cfg['Export']['excel_edition']
1360 $cfg['Export']['excel_edition'] = 'win';
1365 * @global string $cfg['Export']['excel_removeCRLF']
1367 $cfg['Export']['excel_removeCRLF'] = false;
1372 * @global boolean $cfg['Export']['latex_structure']
1374 $cfg['Export']['latex_structure'] = true;
1379 * @global boolean $cfg['Export']['latex_data']
1381 $cfg['Export']['latex_data'] = true;
1386 * @global boolean $cfg['Export']['latex_columns']
1388 $cfg['Export']['latex_columns'] = true;
1393 * @global boolean $cfg['Export']['latex_relation']
1395 $cfg['Export']['latex_relation'] = true;
1400 * @global boolean $cfg['Export']['latex_comments']
1402 $cfg['Export']['latex_comments'] = true;
1407 * @global boolean $cfg['Export']['latex_mime']
1409 $cfg['Export']['latex_mime'] = true;
1414 * @global string $cfg['Export']['latex_null']
1416 $cfg['Export']['latex_null'] = '\textit{NULL}';
1421 * @global boolean $cfg['Export']['latex_caption']
1423 $cfg['Export']['latex_caption'] = true;
1428 * @global string $cfg['Export']['latex_structure_caption']
1430 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1435 * @global string $cfg['Export']['latex_structure_continued_caption']
1437 $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1442 * @global string $cfg['Export']['latex_data_caption']
1444 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1449 * @global string $cfg['Export']['latex_data_continued_caption']
1451 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1456 * @global string $cfg['Export']['latex_data_label']
1458 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1463 * @global string $cfg['Export']['latex_structure_label']
1465 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1470 * @global boolean $cfg['Export']['sql_structure']
1472 $cfg['Export']['sql_structure'] = true;
1477 * @global boolean $cfg['Export']['sql_data']
1479 $cfg['Export']['sql_data'] = true;
1484 * @global string $cfg['Export']['sql_compatibility']
1486 $cfg['Export']['sql_compatibility'] = 'NONE';
1489 * Whether to include comments in SQL export.
1491 * @global string $cfg['Export']['sql_include_comments']
1493 $cfg['Export']['sql_include_comments'] = true;
1498 * @global boolean $cfg['Export']['sql_disable_fk']
1500 $cfg['Export']['sql_disable_fk'] = false;
1505 * @global boolean $cfg['Export']['sql_use_transaction']
1507 $cfg['Export']['sql_use_transaction'] = false;
1512 * @global boolean $cfg['Export']['sql_drop_database']
1514 $cfg['Export']['sql_drop_database'] = false;
1519 * @global boolean $cfg['Export']['sql_drop_table']
1521 $cfg['Export']['sql_drop_table'] = false;
1526 * true by default for correct behavior when dealing with exporting
1527 * of VIEWs and the stand-in table
1528 * @global boolean $cfg['Export']['sql_if_not_exists']
1530 $cfg['Export']['sql_if_not_exists'] = true;
1535 * @global boolean $cfg['Export']['sql_procedure_function']
1537 $cfg['Export']['sql_procedure_function'] = false;
1542 * @global boolean $cfg['Export']['sql_auto_increment']
1544 $cfg['Export']['sql_auto_increment'] = true;
1549 * @global boolean $cfg['Export']['sql_backquotes']
1551 $cfg['Export']['sql_backquotes'] = true;
1556 * @global boolean $cfg['Export']['sql_dates']
1558 $cfg['Export']['sql_dates'] = false;
1563 * @global boolean $cfg['Export']['sql_relation']
1565 $cfg['Export']['sql_relation'] = false;
1570 * @global boolean $cfg['Export']['sql_columns']
1572 $cfg['Export']['sql_columns'] = true;
1577 * @global boolean $cfg['Export']['sql_delayed']
1579 $cfg['Export']['sql_delayed'] = false;
1584 * @global boolean $cfg['Export']['sql_ignore']
1586 $cfg['Export']['sql_ignore'] = false;
1589 * Export time in UTC.
1591 * @global boolean $cfg['Export']['sql_utc_time']
1593 $cfg['Export']['sql_utc_time'] = true;
1598 * @global boolean $cfg['Export']['sql_hex_for_blob']
1600 $cfg['Export']['sql_hex_for_blob'] = true;
1603 * insert/update/replace
1605 * @global string $cfg['Export']['sql_type']
1607 $cfg['Export']['sql_type'] = 'INSERT';
1612 * @global boolean $cfg['Export']['sql_extended']
1614 $cfg['Export']['sql_extended'] = true;
1619 * @global integer $cfg['Export']['sql_max_query_size']
1621 $cfg['Export']['sql_max_query_size'] = 50000;
1626 * @global boolean $cfg['Export']['sql_comments']
1628 $cfg['Export']['sql_comments'] = false;
1633 * @global boolean $cfg['Export']['sql_mime']
1635 $cfg['Export']['sql_mime'] = false;
1638 * \n is replaced by new line
1640 * @global string $cfg['Export']['sql_header_comment']
1642 $cfg['Export']['sql_header_comment'] = '';
1647 * @global boolean $cfg['Export']['pdf_structure']
1649 $cfg['Export']['pdf_structure'] = false;
1654 * @global boolean $cfg['Export']['pdf_data']
1656 $cfg['Export']['pdf_data'] = true;
1661 * @global string $cfg['Export']['pdf_report_title']
1663 $cfg['Export']['pdf_report_title'] = '';
1666 * Export schema for each structure
1668 * @global string $cfg['Export']['xml_export_struc']
1670 $cfg['Export']['xml_export_struc'] = true;
1675 * @global string $cfg['Export']['xml_export_functions']
1677 $cfg['Export']['xml_export_functions'] = true;
1682 * @global string $cfg['Export']['xml_export_procedures']
1684 $cfg['Export']['xml_export_procedures'] = true;
1687 * Export schema for each table
1689 * @global string $cfg['Export']['xml_export_tables']
1691 $cfg['Export']['xml_export_tables'] = true;
1696 * @global string $cfg['Export']['xml_export_triggers']
1698 $cfg['Export']['xml_export_triggers'] = true;
1703 * @global string $cfg['Export']['xml_export_views']
1705 $cfg['Export']['xml_export_views'] = true;
1708 * Export contents data
1710 * @global string $cfg['Export']['xml_export_contents']
1712 $cfg['Export']['xml_export_contents'] = true;
1715 /*******************************************************************************
1718 $cfg['Import'] = array();
1723 * @global string $cfg['Import']['format']
1725 $cfg['Import']['format'] = 'sql';
1728 * Default charset for import.
1730 * @global string $cfg['Import']['charset']
1732 $cfg['Import']['charset'] = '';
1737 * @global boolean $cfg['Import']['allow_interrupt']
1739 $cfg['Import']['allow_interrupt'] = true;
1744 * @global integer $cfg['Import']['skip_queries']
1746 $cfg['Import']['skip_queries'] = 0;
1751 * @global string $cfg['Import']['sql_compatibility']
1753 $cfg['Import']['sql_compatibility'] = 'NONE';
1758 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
1760 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
1765 * @global boolean $cfg['Import']['csv_replace']
1767 $cfg['Import']['csv_replace'] = false;
1772 * @global boolean $cfg['Import']['csv_ignore']
1774 $cfg['Import']['csv_ignore'] = false;
1779 * @global string $cfg['Import']['csv_terminated']
1781 $cfg['Import']['csv_terminated'] = ';';
1786 * @global string $cfg['Import']['csv_enclosed']
1788 $cfg['Import']['csv_enclosed'] = '"';
1793 * @global string $cfg['Import']['csv_escaped']
1795 $cfg['Import']['csv_escaped'] = '\\';
1800 * @global string $cfg['Import']['csv_new_line']
1802 $cfg['Import']['csv_new_line'] = 'auto';
1807 * @global string $cfg['Import']['csv_columns']
1809 $cfg['Import']['csv_columns'] = '';
1814 * @global string $cfg['Import']['csv_col_names']
1816 $cfg['Import']['csv_col_names'] = false;
1821 * @global boolean $cfg['Import']['ldi_replace']
1823 $cfg['Import']['ldi_replace'] = false;
1828 * @global boolean $cfg['Import']['ldi_ignore']
1830 $cfg['Import']['ldi_ignore'] = false;
1835 * @global string $cfg['Import']['ldi_terminated']
1837 $cfg['Import']['ldi_terminated'] = ';';
1842 * @global string $cfg['Import']['ldi_enclosed']
1844 $cfg['Import']['ldi_enclosed'] = '"';
1849 * @global string $cfg['Import']['ldi_escaped']
1851 $cfg['Import']['ldi_escaped'] = '\\';
1856 * @global string $cfg['Import']['ldi_new_line']
1858 $cfg['Import']['ldi_new_line'] = 'auto';
1863 * @global string $cfg['Import']['ldi_columns']
1865 $cfg['Import']['ldi_columns'] = '';
1868 * 'auto' for auto-detection, true or false for forcing
1870 * @global string $cfg['Import']['ldi_local_option']
1872 $cfg['Import']['ldi_local_option'] = 'auto';
1877 * @global string $cfg['Import']['ods_col_names']
1879 $cfg['Import']['ods_col_names'] = false;
1884 * @global string $cfg['Import']['ods_empty_rows']
1886 $cfg['Import']['ods_empty_rows'] = true;
1891 * @global string $cfg['Import']['ods_recognize_percentages']
1893 $cfg['Import']['ods_recognize_percentages'] = true;
1898 * @global string $cfg['Import']['ods_recognize_currency']
1900 $cfg['Import']['ods_recognize_currency'] = true;
1905 * @global string $cfg['Import']['xml_col_names']
1907 $cfg['Import']['xls_col_names'] = false;
1912 * @global string $cfg['Import']['xml_empty_rows']
1914 $cfg['Import']['xls_empty_rows'] = true;
1919 * @global string $cfg['Import']['xlsx_col_names']
1921 $cfg['Import']['xlsx_col_names'] = false;
1924 * Link to the official MySQL documentation.
1925 * Be sure to include no trailing slash on the path.
1926 * See http://dev.mysql.com/doc/ for more information
1927 * about MySQL manuals and their types.
1929 * @global string $cfg['MySQLManualBase']
1931 $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
1934 * Type of MySQL documentation:
1935 * viewable - "viewable online", current one used on MySQL website
1936 * searchable - "Searchable, with user comments"
1937 * chapters - "HTML, one page per chapter"
1938 * chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
1939 * big - "HTML, all on one page"
1940 * old - old style used in phpMyAdmin 2.3.0 and sooner
1941 * none - do not show documentation links
1943 * @global string $cfg['MySQLManualType']
1945 $cfg['MySQLManualType'] = 'viewable';
1948 /*******************************************************************************
1955 * @global array $cfg['PDFPageSizes']
1957 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
1962 * @global string $cfg['PDFDefaultPageSize']
1964 $cfg['PDFDefaultPageSize'] = 'A4';
1967 /*******************************************************************************
1968 * Language and character set conversion settings
1972 * Default language to use, if not browser-defined or user-defined
1974 * @global string $cfg['DefaultLang']
1976 $cfg['DefaultLang'] = 'en';
1979 * Default connection collation
1981 * @global string $cfg['DefaultConnectionCollation']
1983 $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
1986 * Force: always use this language - must be defined in
1987 * libraries/select_lang.lib.php
1988 * $cfg['Lang'] = 'en';
1990 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
1993 * @global string $cfg['FilterLanguages']
1995 $cfg['FilterLanguages'] = '';
1998 * You can select here which functions will be used for character set conversion.
1999 * Possible values are:
2000 * auto - automatically use available one (first is tested iconv, then
2002 * iconv - use iconv or libiconv functions
2003 * recode - use recode_string function
2004 * none - disable encoding conversion
2006 * @global string $cfg['RecodingEngine']
2008 $cfg['RecodingEngine'] = 'auto';
2011 * Specify some parameters for iconv used in character set conversion. See iconv
2012 * documentation for details:
2013 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
2015 * @global string $cfg['IconvExtraParams']
2017 $cfg['IconvExtraParams'] = '//TRANSLIT';
2020 * Available character sets for MySQL conversion. currently contains all which could
2021 * be found in lang/* files and few more.
2022 * Character sets will be shown in same order as here listed, so if you frequently
2023 * use some of these move them to the top.
2025 * @global array $cfg['AvailableCharsets']
2027 $cfg['AvailableCharsets'] = array(
2062 /*******************************************************************************
2063 * Customization & design
2065 * The graphical settings are now located in themes/theme-name/layout.inc.php
2069 * enable the left panel pointer
2070 * (used when LeftFrameLight is false)
2071 * see also LeftPointerColor
2074 * @global boolean $cfg['LeftPointerEnable']
2076 $cfg['LeftPointerEnable'] = true;
2079 * enable the browse pointer
2080 * see also BrowsePointerColor
2083 * @global boolean $cfg['BrowsePointerEnable']
2085 $cfg['BrowsePointerEnable'] = true;
2088 * enable the browse marker
2089 * see also BrowseMarkerColor
2092 * @global boolean $cfg['BrowseMarkerEnable']
2094 $cfg['BrowseMarkerEnable'] = true;
2097 * textarea size (columns) in edit mode
2098 * (this value will be emphasized (*2) for SQL
2099 * query textareas and (*1.25) for query window)
2101 * @global integer $cfg['TextareaCols']
2103 $cfg['TextareaCols'] = 40;
2106 * textarea size (rows) in edit mode
2108 * @global integer $cfg['TextareaRows']
2110 $cfg['TextareaRows'] = 15;
2113 * double size of textarea size for LONGTEXT fields
2115 * @global boolean $cfg['LongtextDoubleTextarea']
2117 $cfg['LongtextDoubleTextarea'] = true;
2120 * auto-select when clicking in the textarea of the query-box
2122 * @global boolean $cfg['TextareaAutoSelect']
2124 $cfg['TextareaAutoSelect'] = false;
2127 * textarea size (columns) for CHAR/VARCHAR
2129 * @global integer $cfg['CharTextareaCols']
2131 $cfg['CharTextareaCols'] = 40;
2134 * textarea size (rows) for CHAR/VARCHAR
2136 * @global integer $cfg['CharTextareaRows']
2138 $cfg['CharTextareaRows'] = 2;
2141 * Enable Ctrl+Arrows moving between fields when editing?
2143 * @global boolean $cfg['CtrlArrowsMoving']
2145 $cfg['CtrlArrowsMoving'] = true;
2148 * Max field data length in browse mode for all non-numeric fields
2150 * @global integer $cfg['LimitChars']
2152 $cfg['LimitChars'] = 50;
2155 * show edit/delete links on left side of browse
2156 * (or at the top with vertical browse)
2158 * @global boolean $cfg['ModifyDeleteAtLeft']
2160 $cfg['ModifyDeleteAtLeft'] = true;
2163 * show edit/delete links on right side of browse
2164 * (or at the bottom with vertical browse)
2166 * @global boolean $cfg['ModifyDeleteAtRight']
2168 $cfg['ModifyDeleteAtRight'] = false;
2171 * default display direction (horizontal|vertical|horizontalflipped)
2173 * @global string $cfg['DefaultDisplay']
2175 $cfg['DefaultDisplay'] = 'horizontal';
2178 * default display direction for altering/creating columns (tbl_properties)
2179 * (horizontal|vertical|<number>)
2180 * number indicates maximum number for which vertical model is used
2182 * @global integer $cfg['DefaultPropDisplay']
2184 $cfg['DefaultPropDisplay'] = 3;
2187 * table-header rotation via faking or CSS? (css|fake|auto)
2188 * NOTE: CSS only works in IE browsers!
2190 * @global string $cfg['HeaderFlipType']
2192 $cfg['HeaderFlipType'] = 'auto';
2195 * shows stored relation-comments in 'browse' mode.
2197 * @global boolean $cfg['ShowBrowseComments']
2199 $cfg['ShowBrowseComments'] = true;
2202 * shows stored relation-comments in 'table property' mode.
2204 * @global boolean $cfg['ShowPropertyComments']
2206 $cfg['ShowPropertyComments']= true;
2209 * repeat header names every X cells? (0 = deactivate)
2211 * @global integer $cfg['RepeatCells']
2213 $cfg['RepeatCells'] = 100;
2216 * Set to true if Edit link should open the query to edit in the query window
2217 * (assuming JavaScript is enabled), and to false if we should edit in the right panel
2219 * @global boolean $cfg['EditInWindow']
2221 $cfg['EditInWindow'] = true;
2224 * Width of Query window
2226 * @global integer $cfg['QueryWindowWidth']
2228 $cfg['QueryWindowWidth'] = 550;
2231 * Height of Query window
2233 * @global integer $cfg['QueryWindowHeight']
2235 $cfg['QueryWindowHeight'] = 310;
2238 * Set to true if you want DB-based query history.If false, this utilizes
2239 * JS-routines to display query history (lost by window close)
2241 * @global boolean $cfg['QueryHistoryDB']
2243 $cfg['QueryHistoryDB'] = false;
2246 * which tab to display in the querywindow on startup
2247 * (sql|files|history|full)
2249 * @global string $cfg['QueryWindowDefTab']
2251 $cfg['QueryWindowDefTab'] = 'sql';
2254 * When using DB-based query history, how many entries should be kept?
2256 * @global integer $cfg['QueryHistoryMax']
2258 $cfg['QueryHistoryMax'] = 25;
2261 * Use MIME-Types (stored in column comments table) for
2263 * @global boolean $cfg['BrowseMIME']
2265 $cfg['BrowseMIME'] = true;
2268 * When approximate count < this, PMA will get exact count for table rows.
2270 * @global integer $cfg['MaxExactCount']
2272 $cfg['MaxExactCount'] = 20000;
2275 * Zero means that no row count is done for views; see the doc
2277 * @global integer $cfg['MaxExactCountViews']
2279 $cfg['MaxExactCountViews'] = 0;
2282 * Utilize DHTML/JS capabilities to allow WYSIWYG editing of
2283 * the PDF page editor. Requires an IE6/Gecko based browser.
2285 * @global boolean $cfg['WYSIWYG-PDF']
2287 $cfg['WYSIWYG-PDF'] = true;
2290 * Sort table and database in natural order
2292 * @global boolean $cfg['NaturalOrder']
2294 $cfg['NaturalOrder'] = true;
2297 * Initial state for sliders
2300 * @global string $cfg['InitialSlidersState']
2302 $cfg['InitialSlidersState'] = 'closed';
2305 * User preferences: disallow these settings
2306 * For possible setting names look in libraries/config/user_preferences.forms.php
2308 * @global array $cfg['UserprefsDisallow']
2310 $cfg['UserprefsDisallow'] = array();
2313 * User preferences: enable the Developer tab
2315 $cfg['UserprefsDeveloperTab'] = false;
2317 /*******************************************************************************
2318 * Window title settings
2322 * title of browser window when a table is selected
2324 * @global string $cfg['TitleTable']
2326 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2329 * title of browser window when a database is selected
2331 * @global string $cfg['TitleDatabase']
2333 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2336 * title of browser window when a server is selected
2338 * @global string $cfg['TitleServer']
2340 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2343 * title of browser window when nothing is selected
2344 * @global string $cfg['TitleDefault']
2346 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2349 * show some icons for warning, error and information messages (true|false)?
2351 * @global boolean $cfg['ErrorIconic']
2353 $cfg['ErrorIconic'] = true;
2356 * show icons in list on main page and on menu tabs (true|false)?
2358 * @global boolean $cfg['MainPageIconic']
2360 $cfg['MainPageIconic'] = true;
2363 * show help button instead of Documentation text (true|false)?
2365 * @global boolean $cfg['ReplaceHelpImg']
2367 $cfg['ReplaceHelpImg'] = true;
2370 /*******************************************************************************
2375 * using themes manager please set up here the path to 'themes' else leave empty
2377 * @global string $cfg['ThemePath']
2379 $cfg['ThemePath'] = './themes';
2382 * if you want to use selectable themes and if ThemesPath not empty
2383 * set it to true, else set it to false (default is false);
2385 * @global boolean $cfg['ThemeManager']
2387 $cfg['ThemeManager'] = true;
2390 * set up default theme, if ThemePath not empty you can set up here an valid
2391 * path to themes or 'original' for the original pma-theme
2393 * @global string $cfg['ThemeDefault']
2395 $cfg['ThemeDefault'] = 'original';
2398 * allow different theme for each configured server
2400 * @global boolean $cfg['ThemePerServer']
2402 $cfg['ThemePerServer'] = false;
2405 /*******************************************************************************
2411 * %d will be replaced by the database name.
2412 * %t will be replaced by the table name.
2413 * %f will be replaced by a list of field names.
2414 * (%t and %f only applies to DefaultQueryTable)
2416 * @global string $cfg['DefaultQueryTable']
2418 $cfg['DefaultQueryTable'] = 'SELECT * FROM %t WHERE 1';
2422 * %d will be replaced by the database name.
2423 * %t will be replaced by the table name.
2424 * %f will be replaced by a list of field names.
2425 * (%t and %f only applies to DefaultQueryTable)
2427 * @global string $cfg['DefaultQueryDatabase']
2429 $cfg['DefaultQueryDatabase'] = '';
2432 /*******************************************************************************
2433 * SQL Query box settings
2434 * These are the links display in all of the SQL Query boxes
2436 * @global array $cfg['SQLQuery']
2438 $cfg['SQLQuery'] = array();
2441 * Edit link to change a query
2443 * @global boolean $cfg['SQLQuery']['Edit']
2445 $cfg['SQLQuery']['Edit'] = true;
2448 * EXPLAIN on SELECT queries
2450 * @global boolean $cfg['SQLQuery']['Explain']
2452 $cfg['SQLQuery']['Explain'] = true;
2455 * Wrap a query in PHP
2457 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2459 $cfg['SQLQuery']['ShowAsPHP'] = true;
2462 * Validate a query (see $cfg['SQLValidator'] as well)
2464 * @global boolean $cfg['SQLQuery']['Validate']
2466 $cfg['SQLQuery']['Validate'] = false;
2469 * Refresh the results page
2471 * @global boolean $cfg['SQLQuery']['Refresh']
2473 $cfg['SQLQuery']['Refresh'] = true;
2476 /*******************************************************************************
2477 * Web server upload/save/import directories
2481 * Directory for uploaded files that can be executed by phpMyAdmin.
2482 * For example './upload'. Leave empty for no upload directory support.
2483 * Use %u for username inclusion.
2485 * @global string $cfg['UploadDir']
2487 $cfg['UploadDir'] = '';
2490 * Directory where phpMyAdmin can save exported data on server.
2491 * For example './save'. Leave empty for no save directory support.
2492 * Use %u for username inclusion.
2494 * @global string $cfg['SaveDir']
2496 $cfg['SaveDir'] = '';
2499 * Directory where phpMyAdmin can save temporary files.
2500 * This is needed for MS Excel export, see documentation how to enable that.
2502 * @global string $cfg['TempDir']
2504 $cfg['TempDir'] = '';
2512 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2513 * which is the only safe way to determine GD version.
2515 * @global string $cfg['GD2Available']
2517 $cfg['GD2Available'] = 'auto';
2520 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2522 * @global array $cfg['TrustedProxies']
2524 $cfg['TrustedProxies'] = array();
2527 * We normally check the permissions on the configuration file to ensure
2528 * it's not world writable. However, phpMyAdmin could be installed on
2529 * a NTFS filesystem mounted on a non-Windows server, in which case the
2530 * permissions seems wrong but in fact cannot be detected. In this case
2531 * a sysadmin would set the following to false.
2533 $cfg['CheckConfigurationPermissions'] = true;
2536 * Limit for length of URL in links. When length would be above this limit, it
2537 * is replaced by form with button.
2538 * This is required as some web servers (IIS) have problems with long URLs.
2540 $cfg['LinkLengthLimit'] = 1000;
2542 /*******************************************************************************
2543 * SQL Parser Settings
2545 * @global array $cfg['SQP']
2547 $cfg['SQP'] = array();
2550 * Pretty-printing style to use on queries (html, text, none)
2552 * @global string $cfg['SQP']['fmtType']
2554 $cfg['SQP']['fmtType'] = 'html';
2557 * Amount to indent each level (floats are valid)
2559 * @global integer $cfg['SQP']['fmtInd']
2561 $cfg['SQP']['fmtInd'] = '1';
2564 * Units for indenting each level (CSS Types - {em, px, pt})
2566 * @global string $cfg['SQP']['fmtIndUnit']
2568 $cfg['SQP']['fmtIndUnit'] = 'em';
2571 /*******************************************************************************
2572 * If you wish to use the SQL Validator service, you should be aware of the
2574 * All SQL statements are stored anonymously for statistical purposes.
2575 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
2576 * All rights reserved.
2578 * @global array $cfg['SQLValidator']
2580 $cfg['SQLValidator'] = array();
2583 * Make the SQL Validator available
2585 * @global boolean $cfg['SQLValidator']['use']
2587 $cfg['SQLValidator']['use'] = false;
2590 * If you have a custom username, specify it here (defaults to anonymous)
2592 * @global string $cfg['SQLValidator']['username']
2594 $cfg['SQLValidator']['username'] = '';
2597 * Password for username
2599 * @global string $cfg['SQLValidator']['password']
2601 $cfg['SQLValidator']['password'] = '';
2604 /*******************************************************************************
2607 * @global array $cfg['DBG']
2609 $cfg['DBG'] = array();
2612 * Output executed queries and their execution times
2614 * @global boolean $cfg['DBG']['sql']
2616 $cfg['DBG']['sql'] = false;
2619 * Make the DBG stuff available
2620 * To use the following, please install the DBG extension from http://dd.cron.ru/dbg/
2622 * @global boolean $cfg['DBG']['php']
2624 $cfg['DBG']['php'] = false;
2627 * Produce profiling results of PHP
2629 * @global boolean $cfg['DBG']['profile']['enable']
2631 $cfg['DBG']['profile']['enable'] = false;
2634 * Threshold of long running code to display
2635 * Anything below the threshold is not displayed
2637 * @global float $cfg['DBG']['profile']['threshold']
2639 $cfg['DBG']['profile']['threshold'] = 0.5;
2642 /*******************************************************************************
2648 * VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
2650 * @global array $cfg['ColumnTypes']
2652 $cfg['ColumnTypes'] = array(
2679 'DATE and TIME' => array(
2717 'GEOMETRYCOLLECTION',
2724 * @global array $cfg['AttributeTypes']
2726 $cfg['AttributeTypes'] = array(
2730 'UNSIGNED ZEROFILL',
2731 'on update CURRENT_TIMESTAMP',
2735 if ($cfg['ShowFunctionFields']) {
2737 * Available functions
2739 * @global array $cfg['Functions']
2741 $cfg['Functions'] = array(
2814 * Which column types will be mapped to which Group?
2816 * @global array $cfg['RestrictColumnTypes']
2818 $cfg['RestrictColumnTypes'] = array(
2819 'TINYINT' => 'FUNC_NUMBER',
2820 'SMALLINT' => 'FUNC_NUMBER',
2821 'MEDIUMINT' => 'FUNC_NUMBER',
2822 'INT' => 'FUNC_NUMBER',
2823 'BIGINT' => 'FUNC_NUMBER',
2824 'DECIMAL' => 'FUNC_NUMBER',
2825 'FLOAT' => 'FUNC_NUMBER',
2826 'DOUBLE' => 'FUNC_NUMBER',
2827 'REAL' => 'FUNC_NUMBER',
2828 'BIT' => 'FUNC_NUMBER',
2829 'BOOLEAN' => 'FUNC_NUMBER',
2830 'SERIAL' => 'FUNC_NUMBER',
2832 'DATE' => 'FUNC_DATE',
2833 'DATETIME' => 'FUNC_DATE',
2834 'TIMESTAMP' => 'FUNC_DATE',
2835 'TIME' => 'FUNC_DATE',
2836 'YEAR' => 'FUNC_DATE',
2838 'CHAR' => 'FUNC_CHAR',
2839 'VARCHAR' => 'FUNC_CHAR',
2840 'TINYTEXT' => 'FUNC_CHAR',
2841 'TEXT' => 'FUNC_CHAR',
2842 'MEDIUMTEXT' => 'FUNC_CHAR',
2843 'LONGTEXT' => 'FUNC_CHAR',
2844 'BINARY' => 'FUNC_CHAR',
2845 'VARBINARY' => 'FUNC_CHAR',
2846 'TINYBLOB' => 'FUNC_CHAR',
2847 'MEDIUMBLOB' => 'FUNC_CHAR',
2848 'BLOB' => 'FUNC_CHAR',
2849 'LONGBLOB' => 'FUNC_CHAR',
2853 'GEOMETRY' => 'FUNC_SPATIAL',
2854 'POINT' => 'FUNC_SPATIAL',
2855 'LINESTRING' => 'FUNC_SPATIAL',
2856 'POLYGON' => 'FUNC_SPATIAL',
2857 'MULTIPOINT' => 'FUNC_SPATIAL',
2858 'MULTILINESTRING' => 'FUNC_SPATIAL',
2859 'MULTIPOLYGON' => 'FUNC_SPATIAL',
2860 'GEOMETRYCOLLECTION' => 'FUNC_SPATIAL',
2865 * Map above defined groups to any function
2867 * @global array $cfg['RestrictFunctions']
2869 $cfg['RestrictFunctions'] = array(
2870 'FUNC_CHAR' => array(
2896 'FUNC_DATE' => array(
2911 'FUNC_NUMBER' => array(
2948 'FUNC_SPATIAL' => array(
2971 * Default functions for above defined groups
2973 * @global array $cfg['DefaultFunctions']
2975 $cfg['DefaultFunctions'] = array(
2978 'FUNC_NUMBER' => '',
2979 'first_timestamp' => 'NOW',
2980 'pk_char36' => 'UUID',
2989 * @global array $cfg['NumOperators']
2991 $cfg['NumOperators'] = array(
3009 * @global array $cfg['TextOperators']
3011 $cfg['TextOperators'] = array(
3031 * @global array $cfg['EnumOperators']
3033 $cfg['EnumOperators'] = array(
3041 * @global array $cfg['SetOperators']
3043 $cfg['SetOperators'] = array(
3051 * @global array $cfg['NullOperators']
3053 $cfg['NullOperators'] = array(
3061 * @global array $cfg['UnaryOperators']
3063 $cfg['UnaryOperators'] = array(