Remember last 10 used databases.
[phpmyadmin/last10db.git] / libraries / config.default.php
blob4ca31e78f53f12b9618198c9cdc631061805e799
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * <code>
5 * N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !!
6 * NN N O O !! D D O O NN N O O T E D D I T !!
7 * N N N O O !! D D O O N N N O O T EEEE D D I T !!
8 * N NN O O D D O O N NN O O T E D D I T
9 * N N OOO !! DDDD OOO N N OOO T EEEE DDDD I T !!
10 * </code>
12 * DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
14 * phpMyAdmin default configuration, you can copy values from here to your
15 * config.inc.php
17 * All directives are explained in Documentation.html
19 * @package phpMyAdmin
22 /**
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'] = '';
41 /**
42 * Disable the default warning that is displayed on the DB Details Structure page if
43 * any of the required Tables for the configuration storage could not be found
45 * @global boolean $cfg['PmaNoRelation_DisableWarning']
47 $cfg['PmaNoRelation_DisableWarning'] = false;
49 /**
50 * Disable the default warning that is displayed if Suhosin is detected
52 * @global boolean $cfg['SuhosinDisableWarning']
54 $cfg['SuhosinDisableWarning'] = false;
56 /**
57 * Disable the default warning that is displayed if mcrypt is missing for
58 * cookie authentication.
60 * @global boolean $cfg['McryptDisableWarning']
62 $cfg['McryptDisableWarning'] = false;
64 /**
65 * Show warning about incomplete translations on certain threshold.
67 * @global boolean $cfg['TranslationWarningThreshold']
69 $cfg['TranslationWarningThreshold'] = 80;
71 /**
72 * Allows phpMyAdmin to be included from a document located on
73 * another domain; setting this to true is a potential security hole
75 * @global boolean $cfg['AllowThirdPartyFraming']
77 $cfg['AllowThirdPartyFraming'] = false;
79 /**
80 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
81 * at least one server configuration uses 'cookie' auth_type, enter here a
82 * pass phrase that will be used by blowfish. The maximum length seems to be 46
83 * characters.
85 * @global string $cfg['blowfish_secret']
87 $cfg['blowfish_secret'] = '';
90 /*******************************************************************************
91 * Server(s) configuration
93 * The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
94 * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
95 * to ''. If you want more than one server, just copy following section
96 * (including $i incrementation) several times. There is no need to define
97 * full server array, just define values you need to change.
99 * @global array $cfg['Servers']
101 $cfg['Servers'] = array();
103 $i = 1;
106 * MySQL hostname or IP address
108 * @global string $cfg['Servers'][$i]['host']
110 $cfg['Servers'][$i]['host'] = 'localhost';
113 * MySQL port - leave blank for default port
115 * @global string $cfg['Servers'][$i]['port']
117 $cfg['Servers'][$i]['port'] = '';
120 * Path to the socket - leave blank for default socket
122 * @global string $cfg['Servers'][$i]['socket']
124 $cfg['Servers'][$i]['socket'] = '';
127 * Use SSL for connecting to MySQL server?
129 * @global boolean $cfg['Servers'][$i]['ssl']
131 $cfg['Servers'][$i]['ssl'] = false;
134 * How to connect to MySQL server ('tcp' or 'socket')
136 * @global string $cfg['Servers'][$i]['connect_type']
138 $cfg['Servers'][$i]['connect_type'] = 'tcp';
141 * The PHP MySQL extension to use ('mysql' or 'mysqli')
143 * @global string $cfg['Servers'][$i]['extension']
145 $cfg['Servers'][$i]['extension'] = 'mysqli';
148 * Use compressed protocol for the MySQL connection (requires PHP >= 4.3.0)
150 * @global boolean $cfg['Servers'][$i]['compress']
152 $cfg['Servers'][$i]['compress'] = false;
155 * MySQL control user settings (this user must have read-only
156 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
157 * used for all relational features (pmadb)
159 * @global string $cfg['Servers'][$i]['controluser']
161 $cfg['Servers'][$i]['controluser'] = '';
164 * MySQL control user settings (this user must have read-only
165 * access to the "mysql/user" and "mysql/db" tables). The controluser is also
166 * used for all relational features (pmadb)
168 * @global string $cfg['Servers'][$i]['controlpass']
170 $cfg['Servers'][$i]['controlpass'] = '';
173 * Authentication method (valid choices: config, http, signon or cookie)
175 * @global string $cfg['Servers'][$i]['auth_type']
177 $cfg['Servers'][$i]['auth_type'] = 'cookie';
180 * HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
182 * @global string $cfg['Servers'][$i]['auth_http_realm']
184 $cfg['Servers'][$i]['auth_http_realm'] = '';
187 * File containing Swekey ids and login names (see /contrib);
188 * leave empty to deactivate Swekey hardware authentication
190 * @global string $cfg['Servers'][$i]['auth_swekey_config']
192 $cfg['Servers'][$i]['auth_swekey_config'] = '';
195 * MySQL user
197 * @global string $cfg['Servers'][$i]['user']
199 $cfg['Servers'][$i]['user'] = 'root';
202 * MySQL password (only needed with 'config' auth_type)
204 * @global string $cfg['Servers'][$i]['password']
206 $cfg['Servers'][$i]['password'] = '';
209 * Session to use for 'signon' authentication method
211 * @global string $cfg['Servers'][$i]['SignonSession']
213 $cfg['Servers'][$i]['SignonSession'] = '';
216 * URL where to redirect user to login for 'signon' authentication method
218 * @global string $cfg['Servers'][$i]['SignonURL']
220 $cfg['Servers'][$i]['SignonURL'] = '';
223 * URL where to redirect user after logout
225 * @global string $cfg['Servers'][$i]['LogoutURL']
227 $cfg['Servers'][$i]['LogoutURL'] = '';
230 * Whether to try to connect without password
232 * @global boolean $cfg['Servers'][$i]['nopassword']
234 $cfg['Servers'][$i]['nopassword'] = false;
237 * If set to a db-name, only this db is displayed in left frame
238 * It may also be an array of db-names, where sorting order is relevant.
240 * @global string $cfg['Servers'][$i]['only_db']
242 $cfg['Servers'][$i]['only_db'] = '';
245 * Database name to be hidden from listings
247 * @global string $cfg['Servers'][$i]['hide_db']
249 $cfg['Servers'][$i]['hide_db'] = '';
252 * Verbose name for this host - leave blank to show the hostname
253 * (for HTTP authentication, all non-US-ASCII characters will be stripped)
255 * @global string $cfg['Servers'][$i]['verbose']
257 $cfg['Servers'][$i]['verbose'] = '';
260 * Database used for Relation, Bookmark and PDF Features
261 * (see scripts/create_tables.sql)
262 * - leave blank for no support
263 * SUGGESTED: 'phpmyadmin'
265 * @global string $cfg['Servers'][$i]['pmadb']
267 $cfg['Servers'][$i]['pmadb'] = '';
270 * Bookmark table
271 * - leave blank for no bookmark support
272 * SUGGESTED: 'pma_bookmark'
274 * @global string $cfg['Servers'][$i]['bookmarktable']
276 $cfg['Servers'][$i]['bookmarktable'] = '';
279 * table to describe the relation between links (see doc)
280 * - leave blank for no relation-links support
281 * SUGGESTED: 'pma_relation'
283 * @global string $cfg['Servers'][$i]['relation']
285 $cfg['Servers'][$i]['relation'] = '';
288 * table to describe the display fields
289 * - leave blank for no display fields support
290 * SUGGESTED: 'pma_table_info'
292 * @global string $cfg['Servers'][$i]['table_info']
294 $cfg['Servers'][$i]['table_info'] = '';
297 * table to describe the tables position for the PDF schema
298 * - leave blank for no PDF schema support
299 * SUGGESTED: 'pma_table_coords'
301 * @global string $cfg['Servers'][$i]['table_coords']
303 $cfg['Servers'][$i]['table_coords'] = '';
306 * table to describe pages of relationpdf
307 * - leave blank if you don't want to use this
308 * SUGGESTED: 'pma_pdf_pages'
310 * @global string $cfg['Servers'][$i]['pdf_pages']
312 $cfg['Servers'][$i]['pdf_pages'] = '';
315 * table to store column information
316 * - leave blank for no column comments/mime types
317 * SUGGESTED: 'pma_column_info'
319 * @global string $cfg['Servers'][$i]['column_info']
321 $cfg['Servers'][$i]['column_info'] = '';
324 * table to store SQL history
325 * - leave blank for no SQL query history
326 * SUGGESTED: 'pma_history'
328 * @global string $cfg['Servers'][$i]['history']
330 $cfg['Servers'][$i]['history'] = '';
333 * table to store the coordinates for Designer
334 * - leave blank for no Designer feature
335 * SUGGESTED: 'pma_designer_coords'
337 * @global string $cfg['Servers'][$i]['designer_coords']
339 $cfg['Servers'][$i]['designer_coords'] = '';
342 * table to store SQL tracking
343 * - leave blank for no SQL tracking
344 * SUGGESTED: 'pma_tracking'
346 * @global string $cfg['Servers'][$i]['tracking']
348 $cfg['Servers'][$i]['tracking'] = '';
351 * table to store user preferences
352 * - leave blank to disable server storage
353 * SUGGESTED: 'pma_userconfig'
355 * @global string $cfg['Servers'][$i]['userconfig']
357 $cfg['Servers'][$i]['userconfig'] = '';
360 * set to false if you know that your pma_* tables are up to date.
361 * This prevents compatibility checks and thereby increases performance.
363 * @global boolean $cfg['Servers'][$i]['verbose_check']
365 $cfg['Servers'][$i]['verbose_check'] = true;
368 * whether to allow root login
370 * @global boolean $cfg['Servers'][$i]['AllowRoot']
372 $cfg['Servers'][$i]['AllowRoot'] = true;
375 * whether to allow login of any user without a password
377 * @global boolean $cfg['Servers'][$i]['AllowNoPassword']
379 $cfg['Servers'][$i]['AllowNoPassword'] = false;
382 * Host authentication order, leave blank to not use
384 * @global string $cfg['Servers'][$i]['AllowDeny']['order']
386 $cfg['Servers'][$i]['AllowDeny']['order'] = '';
389 * Host authentication rules, leave blank for defaults
391 * @global array $cfg['Servers'][$i]['AllowDeny']['rules']
393 $cfg['Servers'][$i]['AllowDeny']['rules'] = array();
396 * Disable use of INFORMATION_SCHEMA
398 * @see http://sf.net/support/tracker.php?aid=1849494
399 * @see http://bugs.mysql.com/19588
400 * @global boolean $cfg['Servers'][$i]['DisableIS']
402 $cfg['Servers'][$i]['DisableIS'] = true;
405 * SQL command to fetch available databases
407 * by default most user will be fine with SHOW DATABASES,
408 * for servers with a huge amount of databases it is possible to
409 * define a command which executes faster but with less information
411 * especially when accessing database servers from ISPs changing this command
412 * can result in a great speed improvement
414 * false will disable fetching databases from the server, only databases in
415 * $cfg['Servers'][$i]['only_db'] will be displayed
417 * #user# will be replaced by current user
419 * examples:
420 * 'SHOW DATABASES'
421 * "SHOW DATABASES LIKE '#user#\_%'"
422 * 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
423 * 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
424 * false
426 * @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
428 $cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
431 * Whether to count tables when showing database list
433 * @global array $cfg['Servers'][$i]['CountTables']
435 $cfg['Servers'][$i]['CountTables'] = false;
438 * Whether the tracking mechanism creates versions for tables and views automatically.
440 * @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
443 $cfg['Servers'][$i]['tracking_version_auto_create'] = false;
446 * Defines the list of statements the auto-creation uses for new versions.
448 * @global string $cfg['Servers'][$i]['tracking_default_statements']
451 $cfg['Servers'][$i]['tracking_default_statements'] = 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,' .
452 'CREATE INDEX,DROP INDEX,' .
453 'INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,' .
454 'CREATE VIEW,ALTER VIEW,DROP VIEW,' .
455 'CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
458 * Whether a DROP VIEW IF EXISTS statement will be added as first line to the log when creating a view.
460 * @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
463 $cfg['Servers'][$i]['tracking_add_drop_view'] = true;
466 * Whether a DROP TABLE IF EXISTS statement will be added as first line to the log when creating a table.
468 * @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
471 $cfg['Servers'][$i]['tracking_add_drop_table'] = true;
474 * Whether a DROP DATABASE IF EXISTS statement will be added as first line to the log when creating a database.
476 * @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
479 $cfg['Servers'][$i]['tracking_add_drop_database'] = true;
482 * Default server (0 = no default server)
484 * If you have more than one server configured, you can set $cfg['ServerDefault']
485 * to any one of them to auto-connect to that server when phpMyAdmin is started,
486 * or set it to 0 to be given a list of servers without logging in
487 * If you have only one server configured, $cfg['ServerDefault'] *MUST* be
488 * set to that server.
490 * @global integer $cfg['ServerDefault']
492 $cfg['ServerDefault'] = 1;
495 * Other core phpMyAdmin settings
498 * whether Ajax behavior is active
500 * @global boolean $cfg['AjaxEnable']
502 $cfg['AjaxEnable'] = true;
505 * whether version check is active
507 * @global boolean $cfg['VersionCheck']
509 $cfg['VersionCheck'] = VERSION_CHECK_DEFAULT;
512 * maximum number of db's displayed in left frame and database list
514 * @global integer $cfg['MaxDbList']
516 $cfg['MaxDbList'] = 100;
519 * maximum number of tables displayed in table list
521 * @global integer $cfg['MaxTableList']
523 $cfg['MaxTableList'] = 250;
526 * maximum number of characters when a SQL query is displayed
528 * @global integer $cfg['MaxCharactersInDisplayedSQL']
530 $cfg['MaxCharactersInDisplayedSQL'] = 1000;
533 * use GZIP output buffering if possible (true|false|'auto')
535 * @global string $cfg['OBGzip']
537 $cfg['OBGzip'] = 'auto';
540 * use persistent connections to MySQL database
542 * @global boolean $cfg['PersistentConnections']
544 $cfg['PersistentConnections'] = false;
547 * whether to force using HTTPS
549 * @global boolean $cfg['ForceSSL']
551 $cfg['ForceSSL'] = false;
554 * maximum execution time in seconds (0 for no limit)
556 * @global integer $cfg['ExecTimeLimit']
558 $cfg['ExecTimeLimit'] = 300;
561 * Path for storing session data (session_save_path PHP parameter).
563 * @global integer $cfg['SessionSavePath']
565 $cfg['SessionSavePath'] = '';
568 * maximum allocated bytes ('0' for no limit)
569 * this is a string because '16M' is a valid value; we must put here
570 * a string as the default value so that /setup accepts strings
572 * @global string $cfg['MemoryLimit']
574 $cfg['MemoryLimit'] = '0';
577 * mark used tables, make possible to show locked tables (since MySQL 3.23.30)
579 * @global boolean $cfg['SkipLockedTables']
581 $cfg['SkipLockedTables'] = false;
584 * show SQL queries as run
586 * @global boolean $cfg['ShowSQL']
588 $cfg['ShowSQL'] = true;
591 * show a 'Drop database' link to normal users
593 * @global boolean $cfg['AllowUserDropDatabase']
595 $cfg['AllowUserDropDatabase'] = false;
598 * confirm some commands that can result in loss of data
599 * (see "need_confirm" in the parser)
601 * @global boolean $cfg['Confirm']
603 $cfg['Confirm'] = true;
606 * recall previous login in cookie authentication mode or not
608 * @global boolean $cfg['LoginCookieRecall']
610 $cfg['LoginCookieRecall'] = true;
613 * validity of cookie login (in seconds; 1440 matches php.ini's
614 * session.gc_maxlifetime)
616 * @global integer $cfg['LoginCookieValidity']
618 $cfg['LoginCookieValidity'] = 1440;
621 * how long login cookie should be stored (in seconds)
623 * @global integer $cfg['LoginCookieStore']
625 $cfg['LoginCookieStore'] = 0;
628 * whether to delete all login cookies on logout
630 * @global boolean $cfg['LoginCookieDeleteAll']
632 $cfg['LoginCookieDeleteAll'] = true;
635 * whether to enable the "database search" feature or not
637 * @global boolean $cfg['UseDbSearch']
639 $cfg['UseDbSearch'] = true;
642 * if set to true, PMA continues computing multiple-statement queries
643 * even if one of the queries failed
645 * @global boolean $cfg['IgnoreMultiSubmitErrors']
647 $cfg['IgnoreMultiSubmitErrors'] = false;
650 * if set to true, PMA will show the affected rows of EACH statement on
651 * multiple-statement queries. See the libraries/import.php file for
652 * hard coded defaults on how many queries a statement may contain!
654 * @global boolean $cfg['VerboseMultiSubmit']
656 $cfg['VerboseMultiSubmit'] = true;
659 * allow login to any user entered server in cookie based authentication
661 * @global boolean $cfg['AllowArbitraryServer']
663 $cfg['AllowArbitraryServer'] = false;
666 /*******************************************************************************
667 * Error handler configuration
669 * this configures phpMyAdmin's own error handler, it is used to avoid information
670 * disclosure, gather errors for logging, reporting and displaying
672 * @global array $cfg['Error_Handler']
674 $cfg['Error_Handler'] = array();
677 * whether to display errors or not
679 * this does not affect errors of type E_USER_*
681 * @global boolean $cfg['Error_Handler']['display']
683 $cfg['Error_Handler']['display'] = false;
686 * (NOT IMPLEMENTED YET)
687 * where to log errors, false or empty to disable
689 * <code>
690 * // EXAMPLE log to std PHP error log
691 * $cfg['Error_Handler']['log'] = array(0);
692 * // EXAMPLE mail errors
693 * $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
694 * // EXAMPLE append to specific file
695 * $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
696 * </code>
698 * @see http://php.net/error_log
699 * @global string $cfg['Error_Handler']['log']
701 //$cfg['Error_Handler']['log'] = false;
704 * gather all errors in session to be displayed on a error reporting page
705 * for viewing and/or sending to phpMyAdmin developer team
707 * @global boolean $cfg['Error_Handler']['gather']
709 $cfg['Error_Handler']['gather'] = false;
712 /*******************************************************************************
713 * Left frame setup
717 * use a select-based menu and display only the current tables in the left frame.
719 * @global boolean $cfg['LeftFrameLight']
721 $cfg['LeftFrameLight'] = true;
724 * turn the select-based light menu into a tree
726 * @global boolean $cfg['LeftFrameDBTree']
728 $cfg['LeftFrameDBTree'] = true;
731 * the separator to sub-tree the select-based light menu tree
733 * @global string $cfg['LeftFrameDBSeparator']
735 $cfg['LeftFrameDBSeparator'] = '_';
738 * Which string will be used to generate table prefixes
739 * to split/nest tables into multiple categories
741 * @global string $cfg['LeftFrameTableSeparator']
743 $cfg['LeftFrameTableSeparator']= '__';
746 * How many sublevels should be displayed when splitting up tables by the above Separator
748 * @global integer $cfg['LeftFrameTableLevel']
750 $cfg['LeftFrameTableLevel'] = 1;
753 * display table comment as tooltip in left frame
755 * @global boolean $cfg['ShowTooltip']
757 $cfg['ShowTooltip'] = true;
760 * if ShowToolTip is enabled, this defines that table/db comments
762 * @global boolean $cfg['ShowTooltipAliasDB']
764 $cfg['ShowTooltipAliasDB'] = false;
767 * are shown (in the left menu and db_structure) instead of table/db names.
768 * Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
769 * descriptors, not the table itself.
771 * @global boolean $cfg['ShowTooltipAliasTB']
773 $cfg['ShowTooltipAliasTB'] = false;
776 * display logo at top of left frame
778 * @global boolean $cfg['LeftDisplayLogo']
780 $cfg['LeftDisplayLogo'] = true;
783 * where should logo link point to (can also contain an external URL)
785 * @global string $cfg['LeftLogoLink']
787 $cfg['LeftLogoLink'] = 'main.php';
790 * whether to open the linked page in the main window ('main') or
791 * in a new window ('new')
793 * @global string $cfg['LeftLogoLinkWindow']
795 $cfg['LeftLogoLinkWindow'] = 'main';
798 * display a JavaScript table filter in the left frame
799 * when more then x tables are present
801 * @global boolean $cfg['LeftDisplayTableFilterMinimum']
803 $cfg['LeftDisplayTableFilterMinimum'] = 30;
806 * display server choice at top of left frame
808 * @global boolean $cfg['LeftDisplayServers']
810 $cfg['LeftDisplayServers'] = false;
813 * server choice as links
815 * @global boolean $cfg['DisplayServersList']
817 $cfg['DisplayServersList'] = false;
820 * database choice in light as links
822 * @global boolean $cfg['DisplayDatabasesList']
824 $cfg['DisplayDatabasesList'] = 'auto';
827 * target of the navigation panel quick access icon
829 * Possible values:
830 * 'tbl_structure.php' = fields list
831 * 'tbl_sql.php' = SQL form
832 * 'tbl_select.php' = search page
833 * 'tbl_change.php' = insert row page
834 * 'sql.php' = browse page
836 * @global string $cfg['LeftDefaultTabTable']
838 $cfg['LeftDefaultTabTable'] = 'tbl_structure.php';
841 /*******************************************************************************
842 * In the main frame, at startup...
846 * allow to display statistics and space usage in the pages about database
847 * details and table properties
849 * @global boolean $cfg['ShowStats']
851 $cfg['ShowStats'] = true;
854 * show PHP info link
856 * @global boolean $cfg['ShowPhpInfo']
858 $cfg['ShowPhpInfo'] = false;
861 * show MySQL server and web server information
863 * @global boolean $cfg['ShowServerInfo']
865 $cfg['ShowServerInfo'] = true;
868 * show change password link
870 * @global boolean $cfg['ShowChgPassword']
872 $cfg['ShowChgPassword'] = true;
875 * show create database form
877 * @global boolean $cfg['ShowCreateDb']
879 $cfg['ShowCreateDb'] = true;
882 * suggest a new DB name if possible (false = keep empty)
884 * @global boolean $cfg['SuggestDBName']
886 $cfg['SuggestDBName'] = true;
889 /*******************************************************************************
890 * In browse mode...
894 * Use icons instead of text for the navigation bar buttons
895 * and on right panel top menu (server db table) (true|false|'both')
897 * @global string $cfg['NavigationBarIconic']
899 $cfg['NavigationBarIconic'] = true;
902 * Defines whether a user should be displayed a "show all (records)"
903 * button in browse mode or not.
905 * @global boolean $cfg['ShowAll']
907 $cfg['ShowAll'] = false;
910 * Number of rows displayed when browsing a result set. If the result
911 * set contains more rows, "Previous" and "Next".
913 * @global integer $cfg['MaxRows']
915 $cfg['MaxRows'] = 30;
918 * default for 'ORDER BY' clause (valid values are 'ASC', 'DESC' or 'SMART' -ie
919 * descending order for fields of type TIME, DATE, DATETIME & TIMESTAMP,
920 * ascending order else-)
922 * @global string $cfg['Order']
924 $cfg['Order'] = 'SMART';
927 * default for 'Show binary contents as HEX'
929 * @global string $cfg['DisplayBinaryAsHex']
931 $cfg['DisplayBinaryAsHex'] = true;
934 /*******************************************************************************
935 * In edit mode...
939 * disallow editing of binary fields
940 * valid values are:
941 * false allow editing
942 * 'blob' allow editing except for BLOB fields
943 * 'all' disallow editing
945 * @global string $cfg['ProtectBinary']
947 $cfg['ProtectBinary'] = 'blob';
950 * Display the function fields in edit/insert mode
952 * @global boolean $cfg['ShowFunctionFields']
954 $cfg['ShowFunctionFields'] = true;
957 * Display the type fields in edit/insert mode
959 * @global boolean $cfg['ShowFieldTypesInDataEditView']
961 $cfg['ShowFieldTypesInDataEditView'] = true;
964 * Which editor should be used for CHAR/VARCHAR fields:
965 * input - allows limiting of input length
966 * textarea - allows newlines in fields
968 * @global string $cfg['CharEditing']
970 $cfg['CharEditing'] = 'input';
973 * How many rows can be inserted at one time
975 * @global integer $cfg['InsertRows']
977 $cfg['InsertRows'] = 2;
980 * Sort order for items in a foreign-key drop-down list.
981 * 'content' is the referenced data, 'id' is the key value.
983 * @global array $cfg['ForeignKeyDropdownOrder']
985 $cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');
988 * A drop-down list will be used if fewer items are present
990 * @global integer $cfg['ForeignKeyMaxLimit']
992 $cfg['ForeignKeyMaxLimit'] = 100;
995 /*******************************************************************************
996 * For the export features...
1000 * Allow for the use of zip compression (requires zip support to be enabled)
1002 * @global boolean $cfg['ZipDump']
1004 $cfg['ZipDump'] = true;
1007 * Allow for the use of gzip compression (requires zlib)
1009 * @global boolean $cfg['GZipDump']
1011 $cfg['GZipDump'] = true;
1014 * Allow for the use of bzip2 compression (requires bz2 extension)
1016 * @global boolean $cfg['BZipDump']
1018 $cfg['BZipDump'] = true;
1021 * Will compress gzip/bzip2 exports on the fly without the need for much memory.
1022 * If you encounter problems with created gzip/bzip2 files disable this feature.
1024 * @global boolean $cfg['CompressOnFly']
1026 $cfg['CompressOnFly'] = true;
1029 /*******************************************************************************
1030 * Tabs display settings
1034 * Use graphically less intense menu tabs
1036 * @global boolean $cfg['LightTabs']
1038 $cfg['LightTabs'] = false;
1041 * Use icons instead of text for the table display of a database (true|false|'both')
1043 * @global boolean $cfg['PropertiesIconic']
1045 $cfg['PropertiesIconic'] = 'both';
1048 * How many columns should be used for table display of a database?
1049 * (a value larger than 1 results in some information being hidden)
1051 * @global integer $cfg['PropertiesNumColumns']
1053 $cfg['PropertiesNumColumns'] = 1;
1056 * Possible values:
1057 * 'main.php' = the welcome page
1058 * (recommended for multiuser setups)
1059 * 'server_databases.php' = list of databases
1060 * 'server_status.php' = runtime information
1061 * 'server_variables.php' = MySQL server variables
1062 * 'server_privileges.php' = user management
1063 * 'server_processlist.php' = process list
1065 * @global string $cfg['DefaultTabServer']
1067 $cfg['DefaultTabServer'] = 'main.php';
1070 * Possible values:
1071 * 'db_structure.php' = tables list
1072 * 'db_sql.php' = SQL form
1073 * 'db_search.php' = search query
1074 * 'db_operations.php' = operations on database
1076 * @global string $cfg['DefaultTabDatabase']
1078 $cfg['DefaultTabDatabase'] = 'db_structure.php';
1081 * Possible values:
1082 * 'tbl_structure.php' = fields list
1083 * 'tbl_sql.php' = SQL form
1084 * 'tbl_select.php' = search page
1085 * 'tbl_change.php' = insert row page
1086 * 'sql.php' = browse page
1088 * @global string $cfg['DefaultTabTable']
1090 $cfg['DefaultTabTable'] = 'sql.php';
1092 /*******************************************************************************
1093 * Export defaults
1095 $cfg['Export'] = array();
1098 * codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
1100 * @global string $cfg['Export']['format']
1102 $cfg['Export']['format'] = 'sql';
1105 * quick/custom/custom-no-form
1107 * @global string $cfg['Export']['format']
1109 $cfg['Export']['method'] = 'quick';
1112 * none/zip/gzip/bzip2
1114 * @global string $cfg['Export']['compression']
1116 $cfg['Export']['compression'] = 'none';
1121 * @global boolean $cfg['Export']['asfile']
1123 $cfg['Export']['asfile'] = true;
1128 * @global string $cfg['Export']['charset']
1130 $cfg['Export']['charset'] = '';
1135 * @global boolean $cfg['Export']['onserver']
1137 $cfg['Export']['onserver'] = false;
1142 * @global boolean $cfg['Export']['onserver_overwrite']
1144 $cfg['Export']['onserver_overwrite'] = false;
1149 * @global boolean $cfg['Export']['quick_export_onserver']
1151 $cfg['Export']['quick_export_onserver'] = false;
1156 * @global boolean $cfg['Export']['quick_export_onserver_overwrite']
1158 $cfg['Export']['quick_export_onserver_overwrite'] = false;
1163 * @global boolean $cfg['Export']['remember_file_template']
1165 $cfg['Export']['remember_file_template'] = true;
1170 * @global string $cfg['Export']['file_template_table']
1172 $cfg['Export']['file_template_table'] = '@TABLE@';
1177 * @global string $cfg['Export']['file_template_database']
1179 $cfg['Export']['file_template_database'] = '@DATABASE@';
1184 * @global string $cfg['Export']['file_template_server']
1186 $cfg['Export']['file_template_server'] = '@SERVER@';
1191 * @global string $cfg['Export']['codegen_structure_or_data']
1193 $cfg['Export']['codegen_structure_or_data'] = 'data';
1198 * @global $cfg['Export']['codegen_format']
1200 $cfg['Export']['codegen_format'] = 0;
1205 * @global boolean $cfg['Export']['ods_columns']
1207 $cfg['Export']['ods_columns'] = false;
1212 * @global string $cfg['Export']['ods_null']
1214 $cfg['Export']['ods_null'] = 'NULL';
1219 * @global string $cfg['Export']['odt_structure_or_data']
1221 $cfg['Export']['odt_structure_or_data'] = 'structure_and_data';
1226 * @global boolean $cfg['Export']['odt_columns']
1228 $cfg['Export']['odt_columns'] = true;
1233 * @global boolean $cfg['Export']['odt_relation']
1235 $cfg['Export']['odt_relation'] = true;
1240 * @global boolean $cfg['Export']['odt_comments']
1242 $cfg['Export']['odt_comments'] = true;
1247 * @global boolean $cfg['Export']['odt_mime']
1249 $cfg['Export']['odt_mime'] = true;
1254 * @global string $cfg['Export']['odt_null']
1256 $cfg['Export']['odt_null'] = 'NULL';
1261 * @global boolean $cfg['Export']['htmlword_structure_or_data']
1263 $cfg['Export']['htmlword_structure_or_data'] = 'structure_and_data';
1268 * @global boolean $cfg['Export']['htmlword_columns']
1270 $cfg['Export']['htmlword_columns'] = false;
1275 * @global string $cfg['Export']['htmlword_null']
1277 $cfg['Export']['htmlword_null'] = 'NULL';
1282 * @global string $cfg['Export']['texytext_structure_or_data']
1284 $cfg['Export']['texytext_structure_or_data'] = 'structure_and_data';
1289 * @global boolean $cfg['Export']['texytext_columns']
1291 $cfg['Export']['texytext_columns'] = FALSE;
1296 * @global string $cfg['Export']['texytext_null']
1298 $cfg['Export']['texytext_null'] = 'NULL';
1303 * @global boolean $cfg['Export']['xls_columns']
1305 $cfg['Export']['xls_columns'] = false;
1310 * @global string $cfg['Export']['xls_structure_or_data']
1312 $cfg['Export']['xls_structure_or_data'] = 'data';
1317 * @global string $cfg['Export']['xls_null']
1319 $cfg['Export']['xls_null'] = 'NULL';
1324 * @global boolean $cfg['Export']['xlsx_columns']
1326 $cfg['Export']['xlsx_columns'] = false;
1331 * @global string $cfg['Export']['xlsx_structure_or_data']
1333 $cfg['Export']['xlsx_structure_or_data'] = 'data';
1338 * @global string $cfg['Export']['xlsx_null']
1340 $cfg['Export']['xlsx_null'] = 'NULL';
1345 * @global boolean $cfg['Export']['csv_columns']
1347 $cfg['Export']['csv_columns'] = false;
1352 * @global string $cfg['Export']['csv_structure_or_data']
1354 $cfg['Export']['csv_structure_or_data'] = 'data';
1359 * @global string $cfg['Export']['csv_null']
1361 $cfg['Export']['csv_null'] = 'NULL';
1366 * @global string $cfg['Export']['csv_separator']
1368 $cfg['Export']['csv_separator'] = ',';
1373 * @global string $cfg['Export']['csv_enclosed']
1375 $cfg['Export']['csv_enclosed'] = '"';
1380 * @global string $cfg['Export']['csv_escaped']
1382 $cfg['Export']['csv_escaped'] = '\\';
1387 * @global string $cfg['Export']['csv_terminated']
1389 $cfg['Export']['csv_terminated'] = 'AUTO';
1394 * @global string $cfg['Export']['csv_removeCRLF']
1396 $cfg['Export']['csv_removeCRLF'] = false;
1401 * @global boolean $cfg['Export']['excel_columns']
1403 $cfg['Export']['excel_columns'] = false;
1408 * @global string $cfg['Export']['excel_null']
1410 $cfg['Export']['excel_null'] = 'NULL';
1413 * win/mac
1415 * @global string $cfg['Export']['excel_edition']
1417 $cfg['Export']['excel_edition'] = 'win';
1422 * @global string $cfg['Export']['excel_removeCRLF']
1424 $cfg['Export']['excel_removeCRLF'] = false;
1429 * @global string $cfg['Export']['excel_structure_or_data']
1431 $cfg['Export']['excel_structure_or_data'] = 'data';
1436 * @global string $cfg['Export']['latex_structure_or_data']
1438 $cfg['Export']['latex_structure_or_data'] = 'structure_and_data';
1443 * @global boolean $cfg['Export']['latex_columns']
1445 $cfg['Export']['latex_columns'] = true;
1450 * @global boolean $cfg['Export']['latex_relation']
1452 $cfg['Export']['latex_relation'] = true;
1457 * @global boolean $cfg['Export']['latex_comments']
1459 $cfg['Export']['latex_comments'] = true;
1464 * @global boolean $cfg['Export']['latex_mime']
1466 $cfg['Export']['latex_mime'] = true;
1471 * @global string $cfg['Export']['latex_null']
1473 $cfg['Export']['latex_null'] = '\textit{NULL}';
1478 * @global boolean $cfg['Export']['latex_caption']
1480 $cfg['Export']['latex_caption'] = true;
1485 * @global string $cfg['Export']['latex_structure_caption']
1487 $cfg['Export']['latex_structure_caption'] = 'strLatexStructure';
1492 * @global string $cfg['Export']['latex_structure_continued_caption']
1494 $cfg['Export']['latex_structure_continued_caption'] = 'strLatexStructure strLatexContinued';
1499 * @global string $cfg['Export']['latex_data_caption']
1501 $cfg['Export']['latex_data_caption'] = 'strLatexContent';
1506 * @global string $cfg['Export']['latex_data_continued_caption']
1508 $cfg['Export']['latex_data_continued_caption'] = 'strLatexContent strLatexContinued';
1513 * @global string $cfg['Export']['latex_data_label']
1515 $cfg['Export']['latex_data_label'] = 'tab:@TABLE@-data';
1520 * @global string $cfg['Export']['latex_structure_label']
1522 $cfg['Export']['latex_structure_label'] = 'tab:@TABLE@-structure';
1527 * @global string $cfg['Export']['mediawiki_structure_or_data']
1529 $cfg['Export']['mediawiki_structure_or_data'] = 'data';
1534 * @global string $cfg['Export']['ods_structure_or_data']
1536 $cfg['Export']['ods_structure_or_data'] = 'data';
1541 * @global string $cfg['Export']['pdf_structure_or_data']
1543 $cfg['Export']['pdf_structure_or_data'] = 'data';
1548 * @global string $cfg['Export']['php_array_structure_or_data']
1550 $cfg['Export']['php_array_structure_or_data'] = 'data';
1555 * @global string $cfg['Export']['json_structure_or_data']
1557 $cfg['Export']['json_structure_or_data'] = 'data';
1562 * @global string $cfg['Export']['sql_structure_or_data']
1564 $cfg['Export']['sql_structure_or_data'] = 'structure_and_data';
1569 * @global string $cfg['Export']['sql_compatibility']
1571 $cfg['Export']['sql_compatibility'] = 'NONE';
1574 * Whether to include comments in SQL export.
1576 * @global string $cfg['Export']['sql_include_comments']
1578 $cfg['Export']['sql_include_comments'] = true;
1583 * @global boolean $cfg['Export']['sql_disable_fk']
1585 $cfg['Export']['sql_disable_fk'] = false;
1590 * @global boolean $cfg['Export']['sql_use_transaction']
1592 $cfg['Export']['sql_use_transaction'] = false;
1597 * @global boolean $cfg['Export']['sql_drop_database']
1599 $cfg['Export']['sql_drop_database'] = false;
1604 * @global boolean $cfg['Export']['sql_drop_table']
1606 $cfg['Export']['sql_drop_table'] = false;
1611 * true by default for correct behavior when dealing with exporting
1612 * of VIEWs and the stand-in table
1613 * @global boolean $cfg['Export']['sql_if_not_exists']
1615 $cfg['Export']['sql_if_not_exists'] = true;
1620 * @global boolean $cfg['Export']['sql_procedure_function']
1622 $cfg['Export']['sql_procedure_function'] = true;
1627 * @global boolean $cfg['Export']['sql_auto_increment']
1629 $cfg['Export']['sql_auto_increment'] = true;
1634 * @global boolean $cfg['Export']['sql_backquotes']
1636 $cfg['Export']['sql_backquotes'] = true;
1641 * @global boolean $cfg['Export']['sql_dates']
1643 $cfg['Export']['sql_dates'] = false;
1648 * @global boolean $cfg['Export']['sql_relation']
1650 $cfg['Export']['sql_relation'] = false;
1655 * @global boolean $cfg['Export']['sql_delayed']
1657 $cfg['Export']['sql_delayed'] = false;
1662 * @global boolean $cfg['Export']['sql_ignore']
1664 $cfg['Export']['sql_ignore'] = false;
1667 * Export time in UTC.
1669 * @global boolean $cfg['Export']['sql_utc_time']
1671 $cfg['Export']['sql_utc_time'] = true;
1676 * @global boolean $cfg['Export']['sql_hex_for_blob']
1678 $cfg['Export']['sql_hex_for_blob'] = true;
1681 * insert/update/replace
1683 * @global string $cfg['Export']['sql_type']
1685 $cfg['Export']['sql_type'] = 'INSERT';
1690 * @global integer $cfg['Export']['sql_max_query_size']
1692 $cfg['Export']['sql_max_query_size'] = 50000;
1697 * @global boolean $cfg['Export']['sql_comments']
1699 $cfg['Export']['sql_comments'] = false;
1704 * @global boolean $cfg['Export']['sql_mime']
1706 $cfg['Export']['sql_mime'] = false;
1709 * \n is replaced by new line
1711 * @global string $cfg['Export']['sql_header_comment']
1713 $cfg['Export']['sql_header_comment'] = '';
1718 * @global boolean $cfg['Export']['sql_create_table_statements']
1720 $cfg['Export']['sql_create_table_statements'] = true;
1723 * Whether to use complete inserts, extended inserts, both, or neither
1725 * @global string $cfg['Export']['sql_insert_syntax']
1727 $cfg['Export']['sql_insert_syntax'] = 'both';
1732 * @global string $cfg['Export']['pdf_report_title']
1734 $cfg['Export']['pdf_report_title'] = '';
1739 *@global string $cfg['Export']['xml_structure_or_data']
1741 $cfg['Export']['xml_structure_or_data'] = 'data';
1744 * Export schema for each structure
1746 * @global string $cfg['Export']['xml_export_struc']
1748 $cfg['Export']['xml_export_struc'] = true;
1751 * Export functions
1753 * @global string $cfg['Export']['xml_export_functions']
1755 $cfg['Export']['xml_export_functions'] = true;
1758 * Export procedures
1760 * @global string $cfg['Export']['xml_export_procedures']
1762 $cfg['Export']['xml_export_procedures'] = true;
1765 * Export schema for each table
1767 * @global string $cfg['Export']['xml_export_tables']
1769 $cfg['Export']['xml_export_tables'] = true;
1772 * Export triggers
1774 * @global string $cfg['Export']['xml_export_triggers']
1776 $cfg['Export']['xml_export_triggers'] = true;
1779 * Export views
1781 * @global string $cfg['Export']['xml_export_views']
1783 $cfg['Export']['xml_export_views'] = true;
1786 * Export contents data
1788 * @global string $cfg['Export']['xml_export_contents']
1790 $cfg['Export']['xml_export_contents'] = true;
1795 * @global string $cfg['Export']['yaml_structure_or_data']
1797 $cfg['Export']['yaml_structure_or_data'] = 'data';
1799 /*******************************************************************************
1800 * Import defaults
1802 $cfg['Import'] = array();
1807 * @global string $cfg['Import']['format']
1809 $cfg['Import']['format'] = 'sql';
1812 * Default charset for import.
1814 * @global string $cfg['Import']['charset']
1816 $cfg['Import']['charset'] = '';
1821 * @global boolean $cfg['Import']['allow_interrupt']
1823 $cfg['Import']['allow_interrupt'] = true;
1828 * @global integer $cfg['Import']['skip_queries']
1830 $cfg['Import']['skip_queries'] = 0;
1835 * @global string $cfg['Import']['sql_compatibility']
1837 $cfg['Import']['sql_compatibility'] = 'NONE';
1842 * @global string $cfg['Import']['sql_no_auto_value_on_zero']
1844 $cfg['Import']['sql_no_auto_value_on_zero'] = true;
1849 * @global boolean $cfg['Import']['csv_replace']
1851 $cfg['Import']['csv_replace'] = false;
1856 * @global boolean $cfg['Import']['csv_ignore']
1858 $cfg['Import']['csv_ignore'] = false;
1863 * @global string $cfg['Import']['csv_terminated']
1865 $cfg['Import']['csv_terminated'] = ',';
1870 * @global string $cfg['Import']['csv_enclosed']
1872 $cfg['Import']['csv_enclosed'] = '"';
1877 * @global string $cfg['Import']['csv_escaped']
1879 $cfg['Import']['csv_escaped'] = '\\';
1884 * @global string $cfg['Import']['csv_new_line']
1886 $cfg['Import']['csv_new_line'] = 'auto';
1891 * @global string $cfg['Import']['csv_columns']
1893 $cfg['Import']['csv_columns'] = '';
1898 * @global string $cfg['Import']['csv_col_names']
1900 $cfg['Import']['csv_col_names'] = false;
1905 * @global boolean $cfg['Import']['ldi_replace']
1907 $cfg['Import']['ldi_replace'] = false;
1912 * @global boolean $cfg['Import']['ldi_ignore']
1914 $cfg['Import']['ldi_ignore'] = false;
1919 * @global string $cfg['Import']['ldi_terminated']
1921 $cfg['Import']['ldi_terminated'] = ';';
1926 * @global string $cfg['Import']['ldi_enclosed']
1928 $cfg['Import']['ldi_enclosed'] = '"';
1933 * @global string $cfg['Import']['ldi_escaped']
1935 $cfg['Import']['ldi_escaped'] = '\\';
1940 * @global string $cfg['Import']['ldi_new_line']
1942 $cfg['Import']['ldi_new_line'] = 'auto';
1947 * @global string $cfg['Import']['ldi_columns']
1949 $cfg['Import']['ldi_columns'] = '';
1952 * 'auto' for auto-detection, true or false for forcing
1954 * @global string $cfg['Import']['ldi_local_option']
1956 $cfg['Import']['ldi_local_option'] = 'auto';
1961 * @global string $cfg['Import']['ods_col_names']
1963 $cfg['Import']['ods_col_names'] = false;
1968 * @global string $cfg['Import']['ods_empty_rows']
1970 $cfg['Import']['ods_empty_rows'] = true;
1975 * @global string $cfg['Import']['ods_recognize_percentages']
1977 $cfg['Import']['ods_recognize_percentages'] = true;
1982 * @global string $cfg['Import']['ods_recognize_currency']
1984 $cfg['Import']['ods_recognize_currency'] = true;
1989 * @global string $cfg['Import']['xml_col_names']
1991 $cfg['Import']['xls_col_names'] = false;
1996 * @global string $cfg['Import']['xml_empty_rows']
1998 $cfg['Import']['xls_empty_rows'] = true;
2003 * @global string $cfg['Import']['xlsx_col_names']
2005 $cfg['Import']['xlsx_col_names'] = false;
2008 * Link to the official MySQL documentation.
2009 * Be sure to include no trailing slash on the path.
2010 * See http://dev.mysql.com/doc/ for more information
2011 * about MySQL manuals and their types.
2013 * @global string $cfg['MySQLManualBase']
2015 $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman';
2018 * Type of MySQL documentation:
2019 * viewable - "viewable online", current one used on MySQL website
2020 * searchable - "Searchable, with user comments"
2021 * chapters - "HTML, one page per chapter"
2022 * chapters_old - "HTML, one page per chapter", format used prior to MySQL 5.0 release
2023 * big - "HTML, all on one page"
2024 * old - old style used in phpMyAdmin 2.3.0 and sooner
2025 * none - do not show documentation links
2027 * @global string $cfg['MySQLManualType']
2029 $cfg['MySQLManualType'] = 'viewable';
2032 /*******************************************************************************
2033 * PDF options
2039 * @global array $cfg['PDFPageSizes']
2041 $cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
2046 * @global string $cfg['PDFDefaultPageSize']
2048 $cfg['PDFDefaultPageSize'] = 'A4';
2051 /*******************************************************************************
2052 * Language and character set conversion settings
2056 * Default language to use, if not browser-defined or user-defined
2058 * @global string $cfg['DefaultLang']
2060 $cfg['DefaultLang'] = 'en';
2063 * Default connection collation
2065 * @global string $cfg['DefaultConnectionCollation']
2067 $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
2070 * Force: always use this language
2071 * $cfg['Lang'] = 'en';
2073 * Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
2074 * English only
2076 * @global string $cfg['FilterLanguages']
2078 $cfg['FilterLanguages'] = '';
2081 * You can select here which functions will be used for character set conversion.
2082 * Possible values are:
2083 * auto - automatically use available one (first is tested iconv, then
2084 * recode)
2085 * iconv - use iconv or libiconv functions
2086 * recode - use recode_string function
2087 * none - disable encoding conversion
2089 * @global string $cfg['RecodingEngine']
2091 $cfg['RecodingEngine'] = 'auto';
2094 * Specify some parameters for iconv used in character set conversion. See iconv
2095 * documentation for details:
2096 * http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html
2098 * @global string $cfg['IconvExtraParams']
2100 $cfg['IconvExtraParams'] = '//TRANSLIT';
2103 * Available character sets for MySQL conversion. currently contains all which could
2104 * be found in lang/* files and few more.
2105 * Character sets will be shown in same order as here listed, so if you frequently
2106 * use some of these move them to the top.
2108 * @global array $cfg['AvailableCharsets']
2110 $cfg['AvailableCharsets'] = array(
2111 'iso-8859-1',
2112 'iso-8859-2',
2113 'iso-8859-3',
2114 'iso-8859-4',
2115 'iso-8859-5',
2116 'iso-8859-6',
2117 'iso-8859-7',
2118 'iso-8859-8',
2119 'iso-8859-9',
2120 'iso-8859-10',
2121 'iso-8859-11',
2122 'iso-8859-12',
2123 'iso-8859-13',
2124 'iso-8859-14',
2125 'iso-8859-15',
2126 'windows-1250',
2127 'windows-1251',
2128 'windows-1252',
2129 'windows-1256',
2130 'windows-1257',
2131 'koi8-r',
2132 'big5',
2133 'gb2312',
2134 'utf-16',
2135 'utf-8',
2136 'utf-7',
2137 'x-user-defined',
2138 'euc-jp',
2139 'ks_c_5601-1987',
2140 'tis-620',
2141 'SHIFT_JIS'
2145 /*******************************************************************************
2146 * Customization & design
2148 * The graphical settings are now located in themes/theme-name/layout.inc.php
2152 * enable the left panel pointer
2153 * (used when LeftFrameLight is false)
2154 * see also LeftPointerColor
2155 * in layout.inc.php
2157 * @global boolean $cfg['LeftPointerEnable']
2159 $cfg['LeftPointerEnable'] = true;
2162 * enable the browse pointer
2163 * see also BrowsePointerColor
2164 * in layout.inc.php
2166 * @global boolean $cfg['BrowsePointerEnable']
2168 $cfg['BrowsePointerEnable'] = true;
2171 * enable the browse marker
2172 * see also BrowseMarkerColor
2173 * in layout.inc.php
2175 * @global boolean $cfg['BrowseMarkerEnable']
2177 $cfg['BrowseMarkerEnable'] = true;
2180 * textarea size (columns) in edit mode
2181 * (this value will be emphasized (*2) for SQL
2182 * query textareas and (*1.25) for query window)
2184 * @global integer $cfg['TextareaCols']
2186 $cfg['TextareaCols'] = 40;
2189 * textarea size (rows) in edit mode
2191 * @global integer $cfg['TextareaRows']
2193 $cfg['TextareaRows'] = 15;
2196 * double size of textarea size for LONGTEXT columns
2198 * @global boolean $cfg['LongtextDoubleTextarea']
2200 $cfg['LongtextDoubleTextarea'] = true;
2203 * auto-select when clicking in the textarea of the query-box
2205 * @global boolean $cfg['TextareaAutoSelect']
2207 $cfg['TextareaAutoSelect'] = false;
2210 * textarea size (columns) for CHAR/VARCHAR
2212 * @global integer $cfg['CharTextareaCols']
2214 $cfg['CharTextareaCols'] = 40;
2217 * textarea size (rows) for CHAR/VARCHAR
2219 * @global integer $cfg['CharTextareaRows']
2221 $cfg['CharTextareaRows'] = 2;
2224 * Max field data length in browse mode for all non-numeric fields
2226 * @global integer $cfg['LimitChars']
2228 $cfg['LimitChars'] = 50;
2231 * show edit/delete links on left side of browse
2232 * (or at the top with vertical browse)
2234 * @global boolean $cfg['ModifyDeleteAtLeft']
2236 $cfg['ModifyDeleteAtLeft'] = true;
2239 * show edit/delete links on right side of browse
2240 * (or at the bottom with vertical browse)
2242 * @global boolean $cfg['ModifyDeleteAtRight']
2244 $cfg['ModifyDeleteAtRight'] = false;
2247 * default display direction (horizontal|vertical|horizontalflipped)
2249 * @global string $cfg['DefaultDisplay']
2251 $cfg['DefaultDisplay'] = 'horizontal';
2254 * default display direction for altering/creating columns (tbl_properties)
2255 * (horizontal|vertical|<number>)
2256 * number indicates maximum number for which vertical model is used
2258 * @global integer $cfg['DefaultPropDisplay']
2260 $cfg['DefaultPropDisplay'] = 3;
2263 * table-header rotation via faking or CSS? (css|fake|auto)
2264 * NOTE: CSS only works in IE browsers!
2266 * @global string $cfg['HeaderFlipType']
2268 $cfg['HeaderFlipType'] = 'auto';
2271 * shows stored relation-comments in 'browse' mode.
2273 * @global boolean $cfg['ShowBrowseComments']
2275 $cfg['ShowBrowseComments'] = true;
2278 * shows stored relation-comments in 'table property' mode.
2280 * @global boolean $cfg['ShowPropertyComments']
2282 $cfg['ShowPropertyComments']= true;
2285 * repeat header names every X cells? (0 = deactivate)
2287 * @global integer $cfg['RepeatCells']
2289 $cfg['RepeatCells'] = 100;
2292 * Set to true if Edit link should open the query to edit in the query window
2293 * (assuming JavaScript is enabled), and to false if we should edit in the right panel
2295 * @global boolean $cfg['EditInWindow']
2297 $cfg['EditInWindow'] = true;
2300 * Width of Query window
2302 * @global integer $cfg['QueryWindowWidth']
2304 $cfg['QueryWindowWidth'] = 550;
2307 * Height of Query window
2309 * @global integer $cfg['QueryWindowHeight']
2311 $cfg['QueryWindowHeight'] = 310;
2314 * Set to true if you want DB-based query history.If false, this utilizes
2315 * JS-routines to display query history (lost by window close)
2317 * @global boolean $cfg['QueryHistoryDB']
2319 $cfg['QueryHistoryDB'] = false;
2322 * which tab to display in the querywindow on startup
2323 * (sql|files|history|full)
2325 * @global string $cfg['QueryWindowDefTab']
2327 $cfg['QueryWindowDefTab'] = 'sql';
2330 * When using DB-based query history, how many entries should be kept?
2332 * @global integer $cfg['QueryHistoryMax']
2334 $cfg['QueryHistoryMax'] = 25;
2337 * Use MIME-Types (stored in column comments table) for
2339 * @global boolean $cfg['BrowseMIME']
2341 $cfg['BrowseMIME'] = true;
2344 * When approximate count < this, PMA will get exact count for table rows.
2346 * @global integer $cfg['MaxExactCount']
2348 $cfg['MaxExactCount'] = 20000;
2351 * Zero means that no row count is done for views; see the doc
2353 * @global integer $cfg['MaxExactCountViews']
2355 $cfg['MaxExactCountViews'] = 0;
2358 * Sort table and database in natural order
2360 * @global boolean $cfg['NaturalOrder']
2362 $cfg['NaturalOrder'] = true;
2365 * Initial state for sliders
2366 * (open | closed)
2368 * @global string $cfg['InitialSlidersState']
2370 $cfg['InitialSlidersState'] = 'closed';
2373 * User preferences: disallow these settings
2374 * For possible setting names look in libraries/config/user_preferences.forms.php
2376 * @global array $cfg['UserprefsDisallow']
2378 $cfg['UserprefsDisallow'] = array();
2381 * User preferences: enable the Developer tab
2383 $cfg['UserprefsDeveloperTab'] = false;
2385 /*******************************************************************************
2386 * Window title settings
2390 * title of browser window when a table is selected
2392 * @global string $cfg['TitleTable']
2394 $cfg['TitleTable'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ / @TABLE@ | @PHPMYADMIN@';
2397 * title of browser window when a database is selected
2399 * @global string $cfg['TitleDatabase']
2401 $cfg['TitleDatabase'] = '@HTTP_HOST@ / @VSERVER@ / @DATABASE@ | @PHPMYADMIN@';
2404 * title of browser window when a server is selected
2406 * @global string $cfg['TitleServer']
2408 $cfg['TitleServer'] = '@HTTP_HOST@ / @VSERVER@ | @PHPMYADMIN@';
2411 * title of browser window when nothing is selected
2412 * @global string $cfg['TitleDefault']
2414 $cfg['TitleDefault'] = '@HTTP_HOST@ | @PHPMYADMIN@';
2417 * show some icons for warning, error and information messages (true|false)?
2419 * @global boolean $cfg['ErrorIconic']
2421 $cfg['ErrorIconic'] = true;
2424 * show icons in list on main page and on menu tabs (true|false)?
2426 * @global boolean $cfg['MainPageIconic']
2428 $cfg['MainPageIconic'] = true;
2431 * show help button instead of Documentation text (true|false)?
2433 * @global boolean $cfg['ReplaceHelpImg']
2435 $cfg['ReplaceHelpImg'] = true;
2438 /*******************************************************************************
2439 * theme manager
2443 * using themes manager please set up here the path to 'themes' else leave empty
2445 * @global string $cfg['ThemePath']
2447 $cfg['ThemePath'] = './themes';
2450 * if you want to use selectable themes and if ThemesPath not empty
2451 * set it to true, else set it to false (default is false);
2453 * @global boolean $cfg['ThemeManager']
2455 $cfg['ThemeManager'] = true;
2458 * set up default theme, if ThemePath not empty you can set up here an valid
2459 * path to themes or 'original' for the original pma-theme
2461 * @global string $cfg['ThemeDefault']
2463 $cfg['ThemeDefault'] = 'pmahomme';
2466 * allow different theme for each configured server
2468 * @global boolean $cfg['ThemePerServer']
2470 $cfg['ThemePerServer'] = false;
2473 /*******************************************************************************
2478 * Default query for table
2480 * @global string $cfg['DefaultQueryTable']
2482 $cfg['DefaultQueryTable'] = 'SELECT * FROM @TABLE@ WHERE 1';
2485 * Default query for database
2487 * @global string $cfg['DefaultQueryDatabase']
2489 $cfg['DefaultQueryDatabase'] = '';
2492 /*******************************************************************************
2493 * SQL Query box settings
2494 * These are the links display in all of the SQL Query boxes
2496 * @global array $cfg['SQLQuery']
2498 $cfg['SQLQuery'] = array();
2501 * Edit link to change a query
2503 * @global boolean $cfg['SQLQuery']['Edit']
2505 $cfg['SQLQuery']['Edit'] = true;
2508 * EXPLAIN on SELECT queries
2510 * @global boolean $cfg['SQLQuery']['Explain']
2512 $cfg['SQLQuery']['Explain'] = true;
2515 * Wrap a query in PHP
2517 * @global boolean $cfg['SQLQuery']['ShowAsPHP']
2519 $cfg['SQLQuery']['ShowAsPHP'] = true;
2522 * Validate a query (see $cfg['SQLValidator'] as well)
2524 * @global boolean $cfg['SQLQuery']['Validate']
2526 $cfg['SQLQuery']['Validate'] = false;
2529 * Refresh the results page
2531 * @global boolean $cfg['SQLQuery']['Refresh']
2533 $cfg['SQLQuery']['Refresh'] = true;
2536 /*******************************************************************************
2537 * Web server upload/save/import directories
2541 * Directory for uploaded files that can be executed by phpMyAdmin.
2542 * For example './upload'. Leave empty for no upload directory support.
2543 * Use %u for username inclusion.
2545 * @global string $cfg['UploadDir']
2547 $cfg['UploadDir'] = '';
2550 * Directory where phpMyAdmin can save exported data on server.
2551 * For example './save'. Leave empty for no save directory support.
2552 * Use %u for username inclusion.
2554 * @global string $cfg['SaveDir']
2556 $cfg['SaveDir'] = '';
2559 * Directory where phpMyAdmin can save temporary files.
2560 * This is needed for MS Excel export, see documentation how to enable that.
2562 * @global string $cfg['TempDir']
2564 $cfg['TempDir'] = '';
2568 * Misc. settings
2572 * Is GD >= 2 available? Set to yes/no/auto. 'auto' does auto-detection,
2573 * which is the only safe way to determine GD version.
2575 * @global string $cfg['GD2Available']
2577 $cfg['GD2Available'] = 'auto';
2580 * Lists proxy IP and HTTP header combinations which are trusted for IP allow/deny
2582 * @global array $cfg['TrustedProxies']
2584 $cfg['TrustedProxies'] = array();
2587 * We normally check the permissions on the configuration file to ensure
2588 * it's not world writable. However, phpMyAdmin could be installed on
2589 * a NTFS filesystem mounted on a non-Windows server, in which case the
2590 * permissions seems wrong but in fact cannot be detected. In this case
2591 * a sysadmin would set the following to false.
2593 $cfg['CheckConfigurationPermissions'] = true;
2596 * Limit for length of URL in links. When length would be above this limit, it
2597 * is replaced by form with button.
2598 * This is required as some web servers (IIS) have problems with long URLs.
2600 $cfg['LinkLengthLimit'] = 2000;
2602 /*******************************************************************************
2603 * SQL Parser Settings
2605 * @global array $cfg['SQP']
2607 $cfg['SQP'] = array();
2610 * Pretty-printing style to use on queries (html, text, none)
2612 * @global string $cfg['SQP']['fmtType']
2614 $cfg['SQP']['fmtType'] = 'html';
2617 * Amount to indent each level (floats are valid)
2619 * @global integer $cfg['SQP']['fmtInd']
2621 $cfg['SQP']['fmtInd'] = '1';
2624 * Units for indenting each level (CSS Types - {em, px, pt})
2626 * @global string $cfg['SQP']['fmtIndUnit']
2628 $cfg['SQP']['fmtIndUnit'] = 'em';
2631 /*******************************************************************************
2632 * If you wish to use the SQL Validator service, you should be aware of the
2633 * following:
2634 * All SQL statements are stored anonymously for statistical purposes.
2635 * Mimer SQL Validator, Copyright 2002 Upright Database Technology.
2636 * All rights reserved.
2638 * @global array $cfg['SQLValidator']
2640 $cfg['SQLValidator'] = array();
2643 * Make the SQL Validator available
2645 * @global boolean $cfg['SQLValidator']['use']
2647 $cfg['SQLValidator']['use'] = false;
2650 * If you have a custom username, specify it here (defaults to anonymous)
2652 * @global string $cfg['SQLValidator']['username']
2654 $cfg['SQLValidator']['username'] = '';
2657 * Password for username
2659 * @global string $cfg['SQLValidator']['password']
2661 $cfg['SQLValidator']['password'] = '';
2664 /*******************************************************************************
2665 * Developers ONLY!
2667 * @global array $cfg['DBG']
2669 $cfg['DBG'] = array();
2672 * Output executed queries and their execution times
2674 * @global boolean $cfg['DBG']['sql']
2676 $cfg['DBG']['sql'] = false;
2679 /*******************************************************************************
2680 * MySQL settings
2684 * Column types;
2685 * VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
2687 * @global array $cfg['ColumnTypes']
2689 $cfg['ColumnTypes'] = array(
2690 // most used
2691 'INT',
2692 'VARCHAR',
2693 'TEXT',
2694 'DATE',
2696 // numeric
2697 'NUMERIC' => array(
2698 'TINYINT',
2699 'SMALLINT',
2700 'MEDIUMINT',
2701 'INT',
2702 'BIGINT',
2703 '-',
2704 'DECIMAL',
2705 'FLOAT',
2706 'DOUBLE',
2707 'REAL',
2708 '-',
2709 'BIT',
2710 'BOOLEAN',
2711 'SERIAL',
2715 // Date/Time
2716 'DATE and TIME' => array(
2717 'DATE',
2718 'DATETIME',
2719 'TIMESTAMP',
2720 'TIME',
2721 'YEAR',
2724 // Text
2725 'STRING' => array(
2726 'CHAR',
2727 'VARCHAR',
2728 '-',
2729 'TINYTEXT',
2730 'TEXT',
2731 'MEDIUMTEXT',
2732 'LONGTEXT',
2733 '-',
2734 'BINARY',
2735 'VARBINARY',
2736 '-',
2737 'TINYBLOB',
2738 'MEDIUMBLOB',
2739 'BLOB',
2740 'LONGBLOB',
2741 '-',
2742 'ENUM',
2743 'SET',
2746 'SPATIAL' => array(
2747 'GEOMETRY',
2748 'POINT',
2749 'LINESTRING',
2750 'POLYGON',
2751 'MULTIPOINT',
2752 'MULTILINESTRING',
2753 'MULTIPOLYGON',
2754 'GEOMETRYCOLLECTION',
2759 * Attributes
2761 * @global array $cfg['AttributeTypes']
2763 $cfg['AttributeTypes'] = array(
2765 'BINARY',
2766 'UNSIGNED',
2767 'UNSIGNED ZEROFILL',
2768 'on update CURRENT_TIMESTAMP',
2772 if ($cfg['ShowFunctionFields']) {
2774 * Available functions
2776 * @global array $cfg['Functions']
2778 $cfg['Functions'] = array(
2779 'ABS',
2780 'ACOS',
2781 'ASCII',
2782 'ASIN',
2783 'ATAN',
2784 'BIN',
2785 'BIT_COUNT',
2786 'BIT_LENGTH',
2787 'CEILING',
2788 'CHAR',
2789 'CHAR_LENGTH',
2790 'COMPRESS',
2791 'COS',
2792 'COT',
2793 'CRC32',
2794 'CURDATE',
2795 'CURRENT_USER',
2796 'CURTIME',
2797 'DATE',
2798 'DAYNAME',
2799 'DEGREES',
2800 'DES_DECRYPT',
2801 'DES_ENCRYPT',
2802 'ENCRYPT',
2803 'EXP',
2804 'FLOOR',
2805 'FROM_DAYS',
2806 'FROM_UNIXTIME',
2807 'HEX',
2808 'INET_ATON',
2809 'INET_NTOA',
2810 'LENGTH',
2811 'LN',
2812 'LOG',
2813 'LOG10',
2814 'LOG2',
2815 'LOWER',
2816 'MD5',
2817 'NOW',
2818 'OCT',
2819 'OLD_PASSWORD',
2820 'ORD',
2821 'PASSWORD',
2822 'RADIANS',
2823 'RAND',
2824 'REVERSE',
2825 'ROUND',
2826 'SEC_TO_TIME',
2827 'SHA1',
2828 'SOUNDEX',
2829 'SPACE',
2830 'SQRT',
2831 'STDDEV_POP',
2832 'STDDEV_SAMP',
2833 'TAN',
2834 'TIMESTAMP',
2835 'TIME_TO_SEC',
2836 'UNCOMPRESS',
2837 'UNHEX',
2838 'UNIX_TIMESTAMP',
2839 'UPPER',
2840 'USER',
2841 'UTC_DATE',
2842 'UTC_TIME',
2843 'UTC_TIMESTAMP',
2844 'UUID',
2845 'VAR_POP',
2846 'VAR_SAMP',
2847 'YEAR',
2851 * Which column types will be mapped to which Group?
2853 * @global array $cfg['RestrictColumnTypes']
2855 $cfg['RestrictColumnTypes'] = array(
2856 'TINYINT' => 'FUNC_NUMBER',
2857 'SMALLINT' => 'FUNC_NUMBER',
2858 'MEDIUMINT' => 'FUNC_NUMBER',
2859 'INT' => 'FUNC_NUMBER',
2860 'BIGINT' => 'FUNC_NUMBER',
2861 'DECIMAL' => 'FUNC_NUMBER',
2862 'FLOAT' => 'FUNC_NUMBER',
2863 'DOUBLE' => 'FUNC_NUMBER',
2864 'REAL' => 'FUNC_NUMBER',
2865 'BIT' => 'FUNC_NUMBER',
2866 'BOOLEAN' => 'FUNC_NUMBER',
2867 'SERIAL' => 'FUNC_NUMBER',
2869 'DATE' => 'FUNC_DATE',
2870 'DATETIME' => 'FUNC_DATE',
2871 'TIMESTAMP' => 'FUNC_DATE',
2872 'TIME' => 'FUNC_DATE',
2873 'YEAR' => 'FUNC_DATE',
2875 'CHAR' => 'FUNC_CHAR',
2876 'VARCHAR' => 'FUNC_CHAR',
2877 'TINYTEXT' => 'FUNC_CHAR',
2878 'TEXT' => 'FUNC_CHAR',
2879 'MEDIUMTEXT' => 'FUNC_CHAR',
2880 'LONGTEXT' => 'FUNC_CHAR',
2881 'BINARY' => 'FUNC_CHAR',
2882 'VARBINARY' => 'FUNC_CHAR',
2883 'TINYBLOB' => 'FUNC_CHAR',
2884 'MEDIUMBLOB' => 'FUNC_CHAR',
2885 'BLOB' => 'FUNC_CHAR',
2886 'LONGBLOB' => 'FUNC_CHAR',
2887 'ENUM' => '',
2888 'SET' => '',
2890 'GEOMETRY' => 'FUNC_SPATIAL',
2891 'POINT' => 'FUNC_SPATIAL',
2892 'LINESTRING' => 'FUNC_SPATIAL',
2893 'POLYGON' => 'FUNC_SPATIAL',
2894 'MULTIPOINT' => 'FUNC_SPATIAL',
2895 'MULTILINESTRING' => 'FUNC_SPATIAL',
2896 'MULTIPOLYGON' => 'FUNC_SPATIAL',
2897 'GEOMETRYCOLLECTION' => 'FUNC_SPATIAL',
2902 * Map above defined groups to any function
2904 * @global array $cfg['RestrictFunctions']
2906 $cfg['RestrictFunctions'] = array(
2907 'FUNC_CHAR' => array(
2908 'BIN',
2909 'CHAR',
2910 'CURRENT_USER',
2911 'COMPRESS',
2912 'DAYNAME',
2913 'DES_DECRYPT',
2914 'DES_ENCRYPT',
2915 'ENCRYPT',
2916 'HEX',
2917 'INET_NTOA',
2918 'LOWER',
2919 'MD5',
2920 'OLD_PASSWORD',
2921 'PASSWORD',
2922 'REVERSE',
2923 'SHA1',
2924 'SOUNDEX',
2925 'SPACE',
2926 'UNCOMPRESS',
2927 'UNHEX',
2928 'UPPER',
2929 'USER',
2930 'UUID',
2933 'FUNC_DATE' => array(
2934 'CURDATE',
2935 'CURTIME',
2936 'DATE',
2937 'FROM_DAYS',
2938 'FROM_UNIXTIME',
2939 'NOW',
2940 'SEC_TO_TIME',
2941 'TIMESTAMP',
2942 'UTC_DATE',
2943 'UTC_TIME',
2944 'UTC_TIMESTAMP',
2945 'YEAR',
2948 'FUNC_NUMBER' => array(
2949 'ABS',
2950 'ACOS',
2951 'ASCII',
2952 'ASIN',
2953 'ATAN',
2954 'BIT_LENGTH',
2955 'BIT_COUNT',
2956 'CEILING',
2957 'CHAR_LENGTH',
2958 'COS',
2959 'COT',
2960 'CRC32',
2961 'DEGREES',
2962 'EXP',
2963 'FLOOR',
2964 'INET_ATON',
2965 'LENGTH',
2966 'LN',
2967 'LOG',
2968 'LOG2',
2969 'LOG10',
2970 'OCT',
2971 'ORD',
2972 'RADIANS',
2973 'RAND',
2974 'ROUND',
2975 'SQRT',
2976 'STDDEV_POP',
2977 'STDDEV_SAMP',
2978 'TAN',
2979 'TIME_TO_SEC',
2980 'UNIX_TIMESTAMP',
2981 'VAR_POP',
2982 'VAR_SAMP',
2985 'FUNC_SPATIAL' => array(
2986 'GeomFromText',
2987 'GeomFromWKB',
2989 'GeomCollFromText',
2990 'LineFromText',
2991 'MLineFromText',
2992 'PointFromText',
2993 'MPointFromText',
2994 'PolyFromText',
2995 'MPolyFromText',
2997 'GeomCollFromWKB',
2998 'LineFromWKB',
2999 'MLineFromWKB',
3000 'PointFromWKB',
3001 'MPointFromWKB',
3002 'PolyFromWKB',
3003 'MPolyFromWKB',
3008 * Default functions for above defined groups
3010 * @global array $cfg['DefaultFunctions']
3012 $cfg['DefaultFunctions'] = array(
3013 'FUNC_CHAR' => '',
3014 'FUNC_DATE' => '',
3015 'FUNC_NUMBER' => '',
3016 'first_timestamp' => 'NOW',
3017 'pk_char36' => 'UUID',
3021 } // end if
3024 * Search operators
3026 * @global array $cfg['NumOperators']
3028 $cfg['NumOperators'] = array(
3029 '=',
3030 '>',
3031 '>=',
3032 '<',
3033 '<=',
3034 '!=',
3035 'LIKE',
3036 'NOT LIKE',
3037 'IN (...)',
3038 'NOT IN (...)',
3039 'BETWEEN',
3040 'NOT BETWEEN',
3044 * Search operators
3046 * @global array $cfg['TextOperators']
3048 $cfg['TextOperators'] = array(
3049 'LIKE',
3050 'LIKE %...%',
3051 'NOT LIKE',
3052 '=',
3053 '!=',
3054 'REGEXP',
3055 'REGEXP ^...$',
3056 'NOT REGEXP',
3057 "= ''",
3058 "!= ''",
3059 'IN (...)',
3060 'NOT IN (...)',
3061 'BETWEEN',
3062 'NOT BETWEEN',
3066 * Search operators
3068 * @global array $cfg['EnumOperators']
3070 $cfg['EnumOperators'] = array(
3071 '=',
3072 '!=',
3076 * Search operators
3078 * @global array $cfg['SetOperators']
3080 $cfg['SetOperators'] = array(
3081 'IN',
3082 'NOT IN',
3086 * Search operators
3088 * @global array $cfg['NullOperators']
3090 $cfg['NullOperators'] = array(
3091 'IS NULL',
3092 'IS NOT NULL',
3096 * Search operators
3098 * @global array $cfg['UnaryOperators']
3100 $cfg['UnaryOperators'] = array(
3101 'IS NULL' => 1,
3102 'IS NOT NULL' => 1,
3103 "= ''" => 1,
3104 "!= ''" => 1