Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 为什么我的phpMyAdmin总是出错呢

[复制链接]
soniry 发表于 2009-7-2 08:32:01 | 显示全部楼层 |阅读模式
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/';

/**
* MySQL hostname or IP address
*
* @global string $cfg['Servers'][$i]['host']
*/
$cfg['Servers'][$i]['host'] = 'localhost';

/**
* MySQL port - leave blank for default port
*
* @global string $cfg['Servers'][$i]['port']
*/
$cfg['Servers'][$i]['port'] = '3306';

/**
* Path to the socket - leave blank for default socket
*
* @global string $cfg['Servers'][$i]['socket']
*/
$cfg['Servers'][$i]['socket'] = '';

/**
* Use SSL for connecting to MySQL server?
*
* @global boolean $cfg['Servers'][$i]['ssl']
*/
$cfg['Servers'][$i]['ssl'] = false;

/**
* How to connect to MySQL server ('tcp' or 'socket')
*
* @global string $cfg['Servers'][$i]['connect_type']
*/
$cfg['Servers'][$i]['connect_type'] = 'tcp';

/**
* The PHP MySQL extension to use ('mysql' or 'mysqli')
*
* @global string $cfg['Servers'][$i]['extension']
*/
$cfg['Servers'][$i]['extension'] = 'mysql';

/* rajk - added for blobstreaming */
$cfg['Servers'][$i]['bs_garbage_threshold'] = '';
$cfg['Servers'][$i]['bs_repository_threshold'] = '';
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = '';
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '';

/**
* Use compressed protocol for the MySQL connection (requires PHP >= 4.3.0)
*
* @global boolean $cfg['Servers'][$i]['compress']
*/
$cfg['Servers'][$i]['compress'] = false;

/**
* MySQL control user settings (this user must have read-only
* access to the "mysql/user" and "mysql/db" tables). The controluser is also
* used for all relational features (pmadb)
*
* @global string $cfg['Servers'][$i]['controluser']
*/
$cfg['Servers'][$i]['controluser'] = '';

/**
* MySQL control user settings (this user must have read-only
* access to the "mysql/user" and "mysql/db" tables). The controluser is also
* used for all relational features (pmadb)
*
* @global string $cfg['Servers'][$i]['controlpass']
*/
$cfg['Servers'][$i]['controlpass'] = '';

/**
* Authentication method (valid choices: config, http, signon or cookie)
*
* @global string $cfg['Servers'][$i]['auth_type']
*/
$cfg['Servers'][$i]['auth_type'] = 'cookie';

/**
* File containing Swekey ids and login names (see /contrib);
* leave empty to deactivate Swekey hardware authentication
*
* @global string $cfg['Servers'][$i]['auth_swekey_config']
*/
$cfg['Servers'][$i]['auth_swekey_config'] = '';

/**
* MySQL user
*
* @global string $cfg['Servers'][$i]['user']
*/
$cfg['Servers'][$i]['user'] = 'root';

/**
* MySQL password (only needed with 'config' auth_type)
*
* @global string $cfg['Servers'][$i]['password']
*/
$cfg['Servers'][$i]['password'] = '123456';

/**
* Session to use for 'signon' authentication method
*
* @global string $cfg['Servers'][$i]['SignonSession']
*/
$cfg['Servers'][$i]['SignonSession'] = '';

/**
* URL where to redirect user to login for 'signon' authentication method
*
* @global string $cfg['Servers'][$i]['SignonURL']
*/
$cfg['Servers'][$i]['SignonURL'] = '';

/**
* URL where to redirect user after logout
*
* @global string $cfg['Servers'][$i]['LogoutURL']
*/
$cfg['Servers'][$i]['LogoutURL'] = '';

/**
* Whether to try to connect without password
*
* @global boolean $cfg['Servers'][$i]['nopassword']
*/
$cfg['Servers'][$i]['nopassword'] = false;

/**
* If set to a db-name, only this db is displayed in left frame
* It may also be an array of db-names, where sorting order is relevant.
*
* @global string $cfg['Servers'][$i]['only_db']
*/
$cfg['Servers'][$i]['only_db'] = '';

/**
* Database name to be hidden from listings
*
* @global string $cfg['Servers'][$i]['hide_db']
*/
$cfg['Servers'][$i]['hide_db'] = '';

/**
* Verbose name for this host - leave blank to show the hostname
* (for HTTP authentication, all non-US-ASCII characters will be stripped)
*
* @global string $cfg['Servers'][$i]['verbose']
*/
$cfg['Servers'][$i]['verbose'] = '';

/**
* Database used for Relation, Bookmark and PDF Features
* (see scripts/create_tables.sql)
*   - leave blank for no support
*     DEFAULT: 'phpmyadmin'
*
* @global string $cfg['Servers'][$i]['pmadb']
*/
$cfg['Servers'][$i]['pmadb'] = '';

/**
* Bookmark table
*   - leave blank for no bookmark support
*     DEFAULT: 'pma_bookmark'
*
* @global string $cfg['Servers'][$i]['bookmarktable']
*/
$cfg['Servers'][$i]['bookmarktable'] = '';

/**
* table to describe the relation between links (see doc)
*   - leave blank for no relation-links support
*     DEFAULT: 'pma_relation'
*
* @global string $cfg['Servers'][$i]['relation']
*/
$cfg['Servers'][$i]['relation'] = '';

/**
* table to describe the display fields
*   - leave blank for no display fields support
*     DEFAULT: 'pma_table_info'
*
* @global string $cfg['Servers'][$i]['table_info']
*/
$cfg['Servers'][$i]['table_info'] = '';

/**
* table to describe the tables position for the PDF schema
*   - leave blank for no PDF schema support
*     DEFAULT: 'pma_table_coords'
*
* @global string $cfg['Servers'][$i]['table_coords']
*/
$cfg['Servers'][$i]['table_coords'] = '';

/**
* table to describe pages of relationpdf
*   - leave blank if you don't want to use this
*     DEFAULT: 'pma_pdf_pages'
*
* @global string $cfg['Servers'][$i]['pdf_pages']
*/
$cfg['Servers'][$i]['pdf_pages'] = '';

/**
* table to store column information
*   - leave blank for no column comments/mime types
*     DEFAULT: 'pma_column_info'
*
* @global string $cfg['Servers'][$i]['column_info']
*/
$cfg['Servers'][$i]['column_info'] = '';

/**
* table to store SQL history
*   - leave blank for no SQL query history
*     DEFAULT: 'pma_history'
*
* @global string $cfg['Servers'][$i]['history']
*/
$cfg['Servers'][$i]['history'] = '';

/**
* table to store the coordinates for Designer
*   - leave blank for no Designer feature
*     DEFAULT: 'pma_designer_coords'
*
* @global string $cfg['Servers'][$i]['designer_coords']
*/
$cfg['Servers'][$i]['designer_coords'] = '';

/**
* set to false if you know that your pma_* tables are up to date.
* This prevents compatibility checks and thereby increases performance.
*
* @global boolean $cfg['Servers'][$i]['verbose_check']
*/
$cfg['Servers'][$i]['verbose_check'] = true;

/**
* whether to allow root login
*
* @global boolean $cfg['Servers'][$i]['AllowRoot']
*/
$cfg['Servers'][$i]['AllowRoot'] = true;

/**
* whether to allow login of any user without a password
*
* @global boolean $cfg['Servers'][$i]['AllowNoPassword']
*/
$cfg['Servers'][$i]['AllowNoPassword'] = false;

/**
* Host authentication order, leave blank to not use
*
* @global string $cfg['Servers'][$i]['AllowDeny']['order']
*/
$cfg['Servers'][$i]['AllowDeny']['order'] = '';

/**
* Disable use of INFORMATION_SCHEMA
*
* @see http://sf.net/support/tracker.php?aid=1849494
* @see http://bugs.mysql.com/19588
* @global boolean $cfg['Servers'][$i]['DisableIS']
*/
$cfg['Servers'][$i]['DisableIS'] = true;

/**
* Host authentication rules, leave blank for defaults
*
* @global array $cfg['Servers'][$i]['AllowDeny']['rules']
*/
$cfg['Servers'][$i]['AllowDeny']['rules'] = array();

/**
* SQL command to fetch available databases
*
* by default most user will be fine with SHOW DATABASES,
* for servers with a huge amount of databases it is possible to
* define a command which executes faster but with less information
*
* especially when accessing database servers from ISPs changing this command
* can result in a great speed improvement
*
* false will disable fetching databases from the server, only databases in
* $cfg['Servers'][$i]['only_db'] will be displayed
*
* #user# will be replaced by current user
*
* examples:
* 'SHOW DATABASES'
* "SHOW DATABASES LIKE '#user#\_%'"
* 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
* 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
* false
*
* @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
*/
$cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';

/**
* Whether to count tables when showing database list
*
* @global array $cfg['Servers'][$i]['CountTables']
*/
$cfg['Servers'][$i]['CountTables'] = true;

/**
* Default server (0 = no default server)
*
* If you have more than one server configured, you can set $cfg['ServerDefault']
* to any one of them to auto-connect to that server when phpMyAdmin is started,
* or set it to 0 to be given a list of servers without logging in
* If you have only one server configured, $cfg['ServerDefault'] *MUST* be
* set to that server.
*
* @global integer $cfg['ServerDefault']
*/
$cfg['ServerDefault'] = 1;

/*
* Other core phpMyAdmin settings
*/
/**
* maximum number of db's displayed in left frame and database list
*
* @global integer $cfg['MaxDbList']
*/
$cfg['MaxDbList'] = 100;

/**
* maximum number of tables displayed in table list
*
* @global integer $cfg['MaxTableList']
*/
$cfg['MaxTableList'] = 250;

/**
* maximum number of characters when a SQL query is displayed
*
* @global integer $cfg['MaxCharactersInDisplayedSQL']
*/
$cfg['MaxCharactersInDisplayedSQL'] = 1000;

/**
* use GZIP output buffering if possible (true|false|'auto')
*
* @global string $cfg['OBGzip']
*/
$cfg['OBGzip'] = 'auto';

/**
* use persistent connections to MySQL database
*
* @global boolean $cfg['PersistentConnections']
*/
$cfg['PersistentConnections'] = false;

/**
* whether to force using HTTPS
*
* @global boolean $cfg['ForceSSL']
*/
$cfg['ForceSSL'] = false;

/**
* maximum execution time in seconds (0 for no limit)
*
* @global integer $cfg['ExecTimeLimit']
*/
$cfg['ExecTimeLimit'] = 300;

/**
* maximum allocated bytes (0 for no limit)
*
* @global integer $cfg['MemoryLimit']
*/
$cfg['MemoryLimit'] = 0;

/**
* mark used tables, make possible to show locked tables (since MySQL 3.23.30)
*
* @global boolean $cfg['SkipLockedTables']
*/
$cfg['SkipLockedTables'] = false;

/**
* show SQL queries as run
*
* @global boolean $cfg['ShowSQL']
*/
$cfg['ShowSQL'] = true;

/**
* show a 'Drop database' link to normal users
*
* @global boolean $cfg['AllowUserDropDatabase']
*/
$cfg['AllowUserDropDatabase'] = false;

/**
* confirm 'DROP TABLE' & 'DROP DATABASE'
*
* @global boolean $cfg['Confirm']
*/
$cfg['Confirm'] = true;

/**
* recall previous login in cookie authentication mode or not
*
* @global boolean $cfg['LoginCookieRecall']
*/
$cfg['LoginCookieRecall'] = true;

/**
* validity of cookie login (in seconds)
*
* @global integer $cfg['LoginCookieValidity']
*/
$cfg['LoginCookieValidity'] = 1440;

/**
* how long login cookie should be stored (in seconds)
*
* @global integer $cfg['LoginCookieStore']
*/
$cfg['LoginCookieStore'] = 0;

/**
* whether to delete all login cookies on logout
*
* @global boolean $cfg['LoginCookieDeleteAll']
*/
$cfg['LoginCookieDeleteAll'] = true;

/**
* whether to enable the "database search" feature or not
*
* @global boolean $cfg['UseDbSearch']
*/
$cfg['UseDbSearch'] = true;

/**
* if set to true, PMA continues computing multiple-statement queries
* even if one of the queries failed
*
* @global boolean $cfg['IgnoreMultiSubmitErrors']
*/
$cfg['IgnoreMultiSubmitErrors'] = false;

/**
* if set to true, PMA will show the affected rows of EACH statement on
* multiple-statement queries. See the libraries/import.php file for
* hard coded defaults on how many queries a statement may contain!
*
* @global boolean $cfg['VerboseMultiSubmit']
*/
$cfg['VerboseMultiSubmit'] = true;

/**
* allow login to any user entered server in cookie based authentication
*
* @global boolean $cfg['AllowArbitraryServer']
*/
$cfg['AllowArbitraryServer'] = false;


/*******************************************************************************
* Error handler configuration
*
* this configures phpMyAdmin's own error handler, it is used to avoid information
* disclosure, gather errors for logging, reporting and displaying
*
* @global array $cfg['Error_Handler']
*/
$cfg['Error_Handler'] = array();

/**
* whether to display errors or not
*
* this does not affect errors of type  E_USER_*
*
* @global boolean $cfg['Error_Handler']['display']
*/
$cfg['Error_Handler']['display'] = false;

/**
* (NOT IMPLEMENTED YET)
* where to log errors, false or empty to disable
*
* <code>
* // EXAMPLE log to std PHP error log
* $cfg['Error_Handler']['log'] = array(0);
* // EXAMPLE mail errors
* $cfg['Error_Handler']['log'] = array(1, 'admin@example.org');
* // EXAMPLE append to specific file
* $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
* </code>
*
* @see     http://php.net/error_log
* @global  string $cfg['Error_Handler']['log']
*/
//$cfg['Error_Handler']['log'] = false;

/**
* gather all errors in session to be displayed on a error reporting page
* for viewing and/or sending to phpMyAdmin developer team
*
* @global boolean $cfg['Error_Handler']['gather']
*/
$cfg['Error_Handler']['gather'] = false;


/*******************************************************************************
* Left frame setup
*/

/**
* use a select-based menu and display only the current tables in the left frame.
*
* @global boolean $cfg['LeftFrameLight']
*/
$cfg['LeftFrameLight'] = true;

/**
* turn the select-based light menu into a tree
*
* @global boolean $cfg['LeftFrameDBTree']
*/
$cfg['LeftFrameDBTree'] = true;

/**
* the separator to sub-tree the select-based light menu tree
*
* @global string $cfg['LeftFrameDBSeparator']
*/
$cfg['LeftFrameDBSeparator'] = '_';

/**
* Which string will be used to generate table prefixes
* to split/nest tables into multiple categories
*
* @global string $cfg['LeftFrameTableSeparator']
*/
$cfg['LeftFrameTableSeparator']= '__';

/**
* How many sublevels should be displayed when splitting up tables by the above Separator
*
* @global integer $cfg['LeftFrameTableLevel']
*/
$cfg['LeftFrameTableLevel'] = 1;

/**
* display table comment as tooltip in left frame
*
* @global boolean $cfg['ShowTooltip']
*/
$cfg['ShowTooltip'] = true;

/**
* if ShowToolTip is enabled, this defines that table/db comments
*
* @global boolean $cfg['ShowTooltipAliasDB']
*/
$cfg['ShowTooltipAliasDB'] = false;

/**
* are shown (in the left menu and db_structure) instead of table/db names.
* Setting ShowTooltipAliasTB to 'nested' will only use the Aliases for nested
* descriptors, not the table itself.
*
* @global boolean $cfg['ShowTooltipAliasTB']
*/
$cfg['ShowTooltipAliasTB'] = false;

/**
* display logo at top of left frame
*
* @global boolean $cfg['LeftDisplayLogo']
*/
$cfg['LeftDisplayLogo'] = true;

/**
* where should logo link point to (can also contain an external URL)
*
* @global string $cfg['LeftLogoLink']
*/
$cfg['LeftLogoLink'] = 'main.php';

/**
* whether to open the linked page in the main window ('main') or
* in a new window ('new')
*
* @global string $cfg['LeftLogoLinkWindow']
*/
$cfg['LeftLogoLinkWindow'] = 'main';

/**
* display server choice at top of left frame
*
* @global boolean $cfg['LeftDisplayServers']
*/
$cfg['LeftDisplayServers'] = false;

/**
* server choice as links
*
* @global boolean $cfg['DisplayServersList']
*/
$cfg['DisplayServersList'] = false;

/**
* database choice in light as links
*
* @global boolean $cfg['DisplayDatabasesList']
*/
$cfg['DisplayDatabasesList'] = 'auto';

/**
* target of the navigation panel quick access icon
*
* Possible values:
* 'tbl_structure.php' = fields list
* 'tbl_sql.php' = SQL form
* 'tbl_select.php' = search page
* 'tbl_change.php' = insert row page
* 'sql.php' = browse page
*
* @global string $cfg['LeftDefaultTabTable']
*/
$cfg['LeftDefaultTabTable'] = 'tbl_structure.php';


/*******************************************************************************
* In the main frame, at startup...
*/

/**
* allow to display statistics and space usage in the pages about database
* details and table properties
*
* @global boolean $cfg['ShowStats']
*/
$cfg['ShowStats'] = true;

/**
* show PHP info link
*
* @global boolean $cfg['ShowPhpInfo']
*/
$cfg['ShowPhpInfo'] = false;

/**
* show MySQL server information
*
* @global boolean $cfg['ShowServerInfo']
*/
$cfg['ShowServerInfo'] = true;

/**
* show change password link
*
* @global boolean $cfg['ShowChgPassword']
*/
$cfg['ShowChgPassword'] = true;

/**
* show create database form
*
* @global boolean $cfg['ShowCreateDb']
*/
$cfg['ShowCreateDb'] = true;

/**
* suggest a new DB name if possible (false = keep empty)
*
* @global boolean $cfg['SuggestDBName']
*/
$cfg['SuggestDBName'] = true;


/*******************************************************************************
* In browse mode...
*/

/**
* Use icons instead of text for the navigation bar buttons
* and on right panel top menu (server db table) (true|false|'both')
*
* @global string $cfg['NavigationBarIconic']
*/
$cfg['NavigationBarIconic'] = 'both';

/**
* allows to display all the rows
*
* @global boolean $cfg['ShowAll']
*/
$cfg['ShowAll'] = false;

/**
* maximum number of rows to display
*
* @global integer $cfg['MaxRows']
*/
$cfg['MaxRows'] = 30;

/**
* 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-)
*
* @global string $cfg['Order']
*/
$cfg['Order'] = 'ASC';


/*******************************************************************************
* In edit mode...
*/

/**
* disallow editing of binary fields
* valid values are:
*   false  allow editing
*   'blob' allow editing except for BLOB fields
*   'all'  disallow editing
*
* @global string $cfg['ProtectBinary']
*/
$cfg['ProtectBinary'] = 'blob';

/**
* Display the function fields in edit/insert mode
*
* @global boolean $cfg['ShowFunctionFields']
*/
$cfg['ShowFunctionFields'] = true;

/**
* Which editor should be used for CHAR/VARCHAR fields:
*  input - allows limiting of input length
*  textarea - allows newlines in fields
*
* @global string $cfg['CharEditing']
*/
$cfg['CharEditing'] = 'input';

/**
* How many rows can be inserted at one time
*
* @global integer $cfg['InsertRows']
*/
$cfg['InsertRows'] = 2;

/**
* Sort order for items in a foreign-key drop-down list.
* 'content' is the referenced data, 'id' is the key value.
*
* @global array $cfg['ForeignKeyDropdownOrder']
*/
$cfg['ForeignKeyDropdownOrder'] = array('content-id', 'id-content');

/**
* A drop-down list will be used if fewer items are present
*
* @global integer $cfg['ForeignKeyMaxLimit']
*/
$cfg['ForeignKeyMaxLimit'] = 100;


/*******************************************************************************
* For the export features...
*/

/**
* Allow for the use of zip compression (requires zip support to be enabled)
*
* @global boolean $cfg['ZipDump']
*/
$cfg['ZipDump'] = true;

/**
* Allow for the use of gzip compression (requires zlib)
*
* @global boolean $cfg['GZipDump']
*/
$cfg['GZipDump'] = true;

/**
* Allow for the use of bzip2 compression (requires bz2 extension)
*
* @global boolean $cfg['BZipDump']
*/
$cfg['BZipDump'] = true;

/**
* Will compress gzip/bzip2 exports on the fly without the need for much memory.
* If you encounter problems with created gzip/bzip2 files disable this feature.
*
* @global boolean $cfg['CompressOnFly']
*/
$cfg['CompressOnFly'] = true;


/*******************************************************************************
* Tabs display settings
*/

/**
* use graphically less intense menu tabs
*
* @global boolean $cfg['LightTabs']
*/
$cfg['LightTabs'] = false;

/**
* Use icons instead of text for the table display of a database (true|false|'both')
*
* @global boolean $cfg['PropertiesIconic']
*/
$cfg['PropertiesIconic'] = true;

/**
* How many columns should be used for table display of a database?
* (a value larger than 1 results in some information being hidden)
*
* @global integer $cfg['PropertiesNumColumns']
*/
$cfg['PropertiesNumColumns'] = 1;

/**
* Possible values:
* 'main.php' = the welcome page
* (recommended for multiuser setups)
* 'server_databases.php' = list of databases
* 'server_status.php' = runtime information
* 'server_variables.php' = MySQL server variables
* 'server_privileges.php' = user management
* 'server_processlist.php' = process list
*
* @global string $cfg['DefaultTabServer']
*/
$cfg['DefaultTabServer'] = 'main.php';

/**
* Possible values:
* 'db_structure.php' = tables list
* 'db_sql.php' = SQL form
* 'db_search.php' = search query
* 'db_operations.php' = operations on database
*
* @global string $cfg['DefaultTabDatabase']
*/
$cfg['DefaultTabDatabase'] = 'db_structure.php';

/**
* Possible values:
* 'tbl_structure.php' = fields list
* 'tbl_sql.php' = SQL form
* 'tbl_select.php' = search page
* 'tbl_change.php' = insert row page
* 'sql.php' = browse page
*
* @global string $cfg['DefaultTabTable']
*/
$cfg['DefaultTabTable'] = 'sql.php';

/**
* Mapping between script filenames and translation keys
*
* Lookup can be performed by PMA_getTitleForTarget()
*
* @global string $cfg['DefaultTabTranslationMapping']
*/
$cfg['DefaultTabTranslationMapping'] = array(

        // Values for $cfg['DefaultTabTable']
        'tbl_structure.php' =>  'strStructure',
        'tbl_sql.php' => 'strSQL',
        'tbl_select.php' => 'strSearch',
        'tbl_change.php' => 'strInsert',
        'sql.php' => 'strBrowse',

        // Values for $cfg['DefaultTabDatabase']
        'db_structure.php' => 'strStructure',
        'db_sql.php' => 'strSQL',
        'db_search.php' => 'strSearch',
        'db_operations.php' => 'strOperations',
);

/*******************************************************************************
* Export defaults
*/
$cfg['Export'] = array();

/**
* codegen/csv/excel/htmlexcel/htmlword/latex/ods/odt/pdf/sql/texytext/xls/xml/yaml
*
* @global string $cfg['Export']['format']
*/
$cfg['Export']['format'] = 'sql';

/**
* none/zip/gzip/bzip2
*
* @global string $cfg['Export']['compression']
*/
$cfg['Export']['compression'] = 'none';

/**
*
*
* @global boolean $cfg['Export']['asfile']
*/
$cfg['Export']['asfile'] = false;

/**
*
*
* @global string $cfg['Export']['charset']
*/
$cfg['Export']['charset'] = '';

/**
*
*
* @global boolean $cfg['Export']['onserver']
*/
$cfg['Export']['onserver'] = false;

/**
*
*
* @global boolean $cfg['Export']['onserver_overwrite']
*/
$cfg['Export']['onserver_overwrite'] = false;

/**
*
*
* @global boolean $cfg['Export']['remember_file_template']
*/
$cfg['Export']['remember_file_template'] = true;

/**
*
*
* @global string $cfg['Export']['file_template_table']
*/
$cfg['Export']['file_template_table'] = '__TABLE__';

/**
*
*
* @global string $cfg['Export']['file_template_database']
*/
$cfg['Export']['file_template_database'] = '__DB__';

/**
*
*
* @global string $cfg['Export']['file_template_server']
*/
$cfg['Export']['file_template_server'] = '__SERVER__';

/**
*
*
* @global boolean $cfg['Export']['ods_columns']
*/
$cfg['Export']['ods_columns'] = false;

/**
*
*
* @global string $cfg['Export']['ods_null']
*/
$cfg['Export']['ods_null'] = 'NULL';

/**
*
*
* @global boolean $cfg['Export']['odt_structure']
*/
$cfg['Export']['odt_structure'] = true;

/**
*
*
* @global boolean $cfg['Export']['odt_data']
*/
$cfg['Export']['odt_data'] = true;

/**
*
*
* @global boolean $cfg['Export']['odt_columns']
*/
$cfg['Export']['odt_columns'] = true;

/**
*
*
* @global boolean $cfg['Export']['odt_relation']
*/
$cfg['Export']['odt_relation'] = true;

/**
*
*
* @global boolean $cfg['Export']['odt_comments']
*/
$cfg['Export']['odt_comments'] = true;

/**
*
*
* @global boolean $cfg['Export']['odt_mime']
*/
$cfg['Export']['odt_mime'] = true;

/**
*
*
* @global string $cfg['Export']['odt_null']
*/
$cfg['Export']['odt_null'] = 'NULL';

/**
*
*
* @global boolean $cfg['Export']['htmlexcel_columns']
*/
$cfg['Export']['htmlexcel_columns'] = false;

/**
*
*
* @global string $cfg['Export']['htmlexcel_null']
*/
$cfg['Export']['htmlexcel_null'] = 'NULL';

/**
*
*
* @global boolean $cfg['Export']['htmlword_structure']
*/
$cfg['Export']['htmlword_structure'] = true;

/**
*
*
* @global boolean $cfg['Export']['htmlword_data']
*/
$cfg['Export']['htmlword_data'] = true;

/**
*
*
* @global boolean $cfg['Export']['htmlword_columns']
*/
$cfg['Export']['htmlword_columns'] = false;

/**
*
*
* @global string $cfg['Export']['htmlword_null']
*/
$cfg['Export']['htmlword_null'] = 'NULL';

/**
*
*
* @global boolean $cfg['Export']['texytext_structure']
*/
$cfg['Export']['texytext_structure'] = TRUE;

/**
*
*
* @global boolean $cfg['Export']['texytext_data']
*/
$cfg['Export']['texytext_data'] = TRUE;

/**
*
*
* @global boolean $cfg['Export']['texytext_columns']
*/
$cfg['Export']['texytext_columns'] = FALSE;

/**
*
*
* @global string $cfg['Export']['texytext_null']
*/
$cfg['Export']['texytext_null'] = 'NULL';

/**
*
*
* @global boolean $cfg['Export']['xls_columns']
*/
$cfg['Export']['xls_columns'] = false;

/**
*
*
* @global string $cfg['Export']['xls_null']
*/
$cfg['Export']['xls_null'] = 'NULL';

/**
*
*
* @global boolean $cfg['Export']['csv_columns']
*/
$cfg['Export']['csv_columns'] = false;

/**
*
*
* @global string $cfg['Export']['csv_null']
*/
$cfg['Export']['csv_null'] = 'NULL';

/**
*
*
* @global string $cfg['Export']['csv_separator']
*/
$cfg['Export']['csv_separator'] = ';';
 楼主| soniry 发表于 2009-7-2 08:32:32 | 显示全部楼层
请大家帮我看一下,先谢了
回复

使用道具 举报

abc2004af008 发表于 2009-7-2 08:40:49 | 显示全部楼层
错误提示是什么?
回复

使用道具 举报

 楼主| soniry 发表于 2009-7-2 08:46:50 | 显示全部楼层
phpMyAdmin - 错误
无法在发生错误时创建会话,请检查 PHP 或网站服务器日志,并正确配置 PHP 安装。
回复

使用道具 举报

 楼主| soniry 发表于 2009-7-2 08:51:09 | 显示全部楼层
我看了个贴子跟我的症状有点像,但我看不懂

症状:
  在升级php后,访问phpMyAdmin的登录界面,出现

“无法在发生错误时创建会话,请检查 PHP 或网站服务器日志,并正确配置 PHP 安装。”,

  或者

"Cannot start session without errors"

  错误。

解决办法:

chown -R root:username /var/lib/php/session

  其中,username部分是服务器运行apache的用户名(如apache、daemon等);

  /var/lib/php/session是php.ini文件中session.save_path = 后面的值,视具体情况而定。

错误原因:

  php更新后,覆盖了原有的/var/lib/php/session的权限,导致apache用户无法写入session,产生此错误
回复

使用道具 举报

 楼主| soniry 发表于 2009-7-2 10:06:18 | 显示全部楼层
来人解决呀,
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-17 16:16 , Processed in 0.029981 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表