. * * @version $Id: config.sample.inc.php 12304 2009-03-24 12:56:58Z nijel $ * @package phpMyAdmin */ /* * This is needed for cookie based authentication to encrypt password in * cookie */ $cfg['blowfish_secret'] = 'Jp8q3sgu'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ $cfg['PmaAbsoluteUri'] = ''; $cfg['PmaAbsoluteUri_DisableWarning'] = TRUE; $cfg['PmaNoRelation_DisableWarning'] = TRUE; /* * Servers configuration */ $i = 0; /* * First server */ $i++; /* Authentication type */ $cfg['Servers'][$i]['auth_type'] = 'cookie'; $cfg['Servers'][$i]['user'] = ''; $cfg['Servers'][$i]['password'] = ''; /* Server parameters */ $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['port'] = ''; $cfg['Servers'][$i]['socket'] = ''; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['compress'] = false; /* Select mysqli if your server has it */ $cfg['Servers'][$i]['extension'] = 'mysql'; /* rajk - for blobstreaming */ $cfg['Servers'][$i]['bs_garbage_threshold'] = 50; $cfg['Servers'][$i]['bs_repository_threshold'] = '32M'; $cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600; $cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M'; /* User for advanced features */ // $cfg['Servers'][$i]['controluser'] = 'pma'; // $cfg['Servers'][$i]['controlpass'] = 'pmapass'; /* Advanced phpMyAdmin features */ // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; // $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; // $cfg['Servers'][$i]['relation'] = 'pma_relation'; // $cfg['Servers'][$i]['table_info'] = 'pma_table_info'; // $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; // $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages'; // $cfg['Servers'][$i]['column_info'] = 'pma_column_info'; // $cfg['Servers'][$i]['history'] = 'pma_history'; // $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords'; /* Contrib / Swekey authentication */ // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf'; /* * End of servers configuration */ /* * Directories for saving/loading files from server */ $cfg['UploadDir'] = ''; $cfg['SaveDir'] = ''; /** * Other core phpMyAdmin settings */ $cfg['OBGzip'] = 'auto'; // use GZIP output buffering if possible (TRUE|FALSE|'auto') $cfg['PersistentConnections'] = FALSE; // use persistent connections to MySQL database $cfg['ExecTimeLimit'] = 300; // maximum execution time in seconds (0 for no limit) $cfg['SkipLockedTables'] = FALSE; // mark used tables, make possible to show // locked tables (since MySQL 3.23.30) $cfg['ShowSQL'] = TRUE; // show SQL queries as run $cfg['AllowUserDropDatabase'] = FALSE; // show a 'Drop database' link to normal users $cfg['Confirm'] = TRUE; // confirm 'DROP TABLE' & 'DROP DATABASE' $cfg['LoginCookieRecall'] = TRUE; // recall previous login in cookie auth. mode or not $cfg['UseDbSearch'] = TRUE; // whether to enable the "database search" feature $cfg['IgnoreMultiSubmitErrors'] = FALSE; // if set to true, PMA continues computing multiple-statement queries // even if one of the queries failed $cfg['VerboseMultiSubmit'] = TRUE; // if set to true, PMA will show the affected rows of EACH statement on // multiple-statement queries. See the read_dump.php file for hardcoded // defaults on how many queries a statement may contain! // Left frame setup $cfg['LeftFrameLight'] = TRUE; // use a select-based menu and display only the // current tables in the left frame. $cfg['LeftFrameTableSeparator']= '__'; // Which string will be used to generate table prefixes // to split tables into multiple categories $cfg['LeftFrameTableLevel'] = '1'; // How many sublevels should be displayed when splitting // up tables by the above Separator $cfg['ShowTooltip'] = TRUE; // display table comment as tooltip in left frame $cfg['ShowTooltipAliasDB'] = FALSE; // if ShowToolTip is enabled, this defines that table/db comments $cfg['ShowTooltipAliasTB'] = FALSE; // are shown (in the left menu and db_details_structure) instead of // table/db names $cfg['LeftDisplayLogo'] = FALSE; // display logo at top of left frame $cfg['LeftDisplayServers'] = FALSE; // display server choice at top of left frame // In the main frame, at startup... $cfg['ShowStats'] = TRUE; // allow to display statistics and space usage in // the pages about database details and table // properties $cfg['ShowMysqlInfo'] = FALSE; // whether to display the "MySQL runtime $cfg['ShowMysqlVars'] = FALSE; // information", "MySQL system variables", "PHP $cfg['ShowPhpInfo'] = FALSE; // information" and "change password" links for $cfg['ShowChgPassword'] = TRUE; // simple users or not $cfg['SuggestDBName'] = TRUE; // suggest a new DB name if possible (false = keep empty) // In browse mode... $cfg['ShowBlob'] = FALSE; // display blob field contents $cfg['NavigationBarIconic'] = TRUE; // do not display text inside navigation bar buttons $cfg['ShowAll'] = FALSE; // allows to display all the rows $cfg['MaxRows'] = 60; // maximum number of rows to display $cfg['Order'] = 'ASC'; // default for 'ORDER BY' clause (valid // values are 'ASC', 'DESC' or 'SMART' -ie // descending order for fields of type // TIME, DATE, DATETIME & TIMESTAMP, // ascending order else-) // In edit mode... $cfg['ProtectBinary'] = 'blob'; // disallow editing of binary fields // valid values are: // FALSE allow editing // 'blob' allow editing except for BLOB fields // 'all' disallow editing $cfg['ShowFunctionFields'] = TRUE; // Display the function fields in edit/insert mode $cfg['CharEditing'] = 'input'; // Which editor should be used for CHAR/VARCHAR fields: // input - allows limiting of input length // textarea - allows newlines in fields // For the export features... $cfg['ZipDump'] = TRUE; // Allow the use of zip/gzip/bzip $cfg['GZipDump'] = TRUE; // compression for $cfg['BZipDump'] = TRUE; // dump files // Tabs display settings $cfg['LightTabs'] = FALSE; // use graphically less intense menu tabs $cfg['PropertiesIconic'] = TRUE; // Use icons instead of text for the table display of a database (TRUE|FALSE|'both') $cfg['PropertiesNumColumns'] = 1; // How many columns should be used for table display of a database? // (a value larger than 1 results in some information being hidden) /** * Export defaults */ $cfg['Export']['format'] = 'sql'; // sql/latex/excel/csv/xml $cfg['Export']['compression'] = 'none'; // none/zip/gzip/bzip2 $cfg['Export']['asfile'] = FALSE; $cfg['Export']['onserver'] = FALSE; $cfg['Export']['onserver_overwrite'] = FALSE; $cfg['Export']['remember_file_template'] = TRUE; $cfg['Export']['csv_columns'] = FALSE; $cfg['Export']['csv_null'] = 'NULL'; $cfg['Export']['csv_separator'] = ';'; $cfg['Export']['csv_enclosed'] = '"'; $cfg['Export']['csv_escaped'] = '\\'; $cfg['Export']['csv_terminated'] = 'AUTO'; $cfg['Export']['excel_columns'] = FALSE; $cfg['Export']['excel_null'] = 'NULL'; $cfg['Export']['latex_structure'] = TRUE; $cfg['Export']['latex_data'] = TRUE; $cfg['Export']['latex_columns'] = TRUE; $cfg['Export']['latex_relation'] = TRUE; $cfg['Export']['latex_comments'] = TRUE; $cfg['Export']['latex_mime'] = TRUE; $cfg['Export']['latex_null'] = '\textit{NULL}'; $cfg['Export']['sql_structure'] = TRUE; $cfg['Export']['sql_data'] = TRUE; $cfg['Export']['sql_drop_database'] = FALSE; $cfg['Export']['sql_drop_table'] = FALSE; $cfg['Export']['sql_auto_increment'] = TRUE; $cfg['Export']['sql_backquotes'] = TRUE; $cfg['Export']['sql_relation'] = FALSE; $cfg['Export']['sql_columns'] = FALSE; $cfg['Export']['sql_extended'] = FALSE; $cfg['Export']['sql_comments'] = FALSE; $cfg['Export']['sql_mime'] = FALSE; ?>