Export and import settings

$cfg['ZipDump']

Type:布尔值
Default value:true

$cfg['GZipDump']

Type:布尔值
Default value:true

$cfg['BZipDump']

Type:布尔值
Default value:true

设置在创建转储文件时是否允许使用 zip/GZip/BZip2 压缩

$cfg['CompressOnFly']

Type:布尔值
Default value:true

Defines whether to allow on the fly compression for GZip/BZip2 compressed exports. This doesn’t affect smaller dumps and allows users to create larger dumps that won’t otherwise fit in memory due to php memory limit. Produced files contain more GZip/BZip2 headers, but all normal programs handle this correctly.

$cfg['Export']

Type:数组
Default value:array(…)

In this array are defined default parameters for export, names of items are similar to texts seen on export page, so you can easily identify what they mean.

$cfg['Export']['format']

Type:文本
Default value:‘sql’

Default export format.

$cfg['Export']['method']

Type:文本
Default value:‘quick’

Defines how the export form is displayed when it loads. Valid values are:

  • quick to display the minimum number of options to configure
  • custom to display every available option to configure
  • custom-no-form same as custom but does not display the option of using quick export

$cfg['Export']['charset']

Type:文本
Default value:‘’

Defines charset for generated export. By default no charset conversion is done assuming UTF-8.

$cfg['Export']['file_template_table']

Type:文本
Default value:‘@TABLE@’

Default filename template for table exports.

参见

6.27 What format strings can I use?

$cfg['Export']['file_template_database']

Type:文本
Default value:‘@DATABASE@’

Default filename template for database exports.

参见

6.27 What format strings can I use?

$cfg['Export']['file_template_server']

Type:文本
Default value:‘@SERVER@’

Default filename template for server exports.

参见

6.27 What format strings can I use?

$cfg['Import']

Type:数组
Default value:array(…)

In this array are defined default parameters for import, names of items are similar to texts seen on import page, so you can easily identify what they mean.

$cfg['Import']['charset']

Type:文本
Default value:‘’

Defines charset for import. By default no charset conversion is done assuming UTF-8.