29.06.2016 Views

phpmyadmin-chinese-china

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

phpMyAdmin Documentation, Release 4.5.0-dev<br />

Set the number of bytes a script is allowed to allocate. If set to ’-1’, no limit is imposed.<br />

This setting is used while importing/exporting dump files and at some other places in phpMyAdmin so you<br />

definitely don’t want to put here a too low value. It has no effect when PHP is running in safe mode.<br />

You can also use any string as in php.ini, eg. ‘16M’. Ensure you don’t omit the suffix (16 means 16 bytes!)<br />

$cfg[’SkipLockedTables’]<br />

Type boolean<br />

Default value false<br />

Mark used tables and make it possible to show databases with locked tables (since MySQL 3.23.30).<br />

$cfg[’ShowSQL’]<br />

Type boolean<br />

Default value true<br />

Defines whether SQL queries generated by phpMyAdmin should be displayed or not.<br />

$cfg[’RetainQueryBox’]<br />

Type boolean<br />

Default value false<br />

Defines whether the SQL query box should be kept displayed after its submission.<br />

$cfg[’CodemirrorEnable’]<br />

Type boolean<br />

Default value true<br />

Defines whether to use a Javascript code editor for SQL query boxes. CodeMirror provides syntax highlighting<br />

and line numbers. However, middle-clicking for pasting the clipboard contents in some Linux distributions<br />

(such as Ubuntu) is not supported by all browsers.<br />

$cfg[’DefaultForeignKeyChecks’]<br />

Type string<br />

Default value ’default’<br />

Default value of the checkbox for foreign key checks, to disable/enable foreign key checks for certain queries.<br />

The possible values are ’default’, ’enable’ or ’disable’. If set to ’default’, the value of the<br />

MySQL variable FOREIGN_KEY_CHECKS is used.<br />

$cfg[’AllowUserDropDatabase’]<br />

Type boolean<br />

Default value false<br />

Defines whether normal users (non-administrator) are allowed to delete their own database or not. If set as false,<br />

the link Drop Database will not be shown, and even a DROP DATABASE mydatabase will be rejected.<br />

Quite practical for ISP ‘s with many customers.<br />

Note: This limitation of SQL queries is not as strict as when using MySQL privileges. This is due to nature<br />

of SQL queries which might be quite complicated. So this choice should be viewed as help to avoid accidental<br />

dropping rather than strict privilege limitation.<br />

$cfg[’Confirm’]<br />

4.3. Generic settings 35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!