专注于Magento开发与外贸SEO推广
Magento主题|Magento插件|Magento教程

bin/magento setup:config:set 命令

bin/magento setup:config:set --help
Usage:
 setup:config:set [--backend-frontname="..."] [--key="..."] [--session-save="..."] [--definition-format="..."] [--db-host="..."] [--db-name="..."] [--db-user="..."] [--db-engine="..."] [--db-password="..."] [--db-prefix="..."] [--db-model="..."] [--db-init-statements="..."] [-s|--skip-db-validation] [--http-cache-hosts="..."] [--magento-init-params="..."]

Options:
 --backend-frontname       Backend frontname (will be autogenerated if missing)
 --key                     Encryption key
 --session-save            Session save handler (default: "files")
 --definition-format       Type of definitions used by Object Manager
 --db-host                 Database server host (default: "localhost")
 --db-name                 Database name (default: "magento2")
 --db-user                 Database server username (default: "root")
 --db-engine               Database server engine (default: "innodb")
 --db-password             Database server password (default: "")
 --db-prefix               Database table prefix (default: "")
 --db-model                Database type (default: "mysql4")
 --db-init-statements      Database  initial set of commands (default: "SET NAMES utf8;")
 --skip-db-validation (-s) If specified, then db connection validation will be skipped
 --http-cache-hosts        http Cache hosts
 --magento-init-params     Add to any command to customize Magento initialization parameters
                           For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)               Display this help message
 --quiet (-q)              Do not output any message
 --verbose (-v|vv|vvv)     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)            Display this application version
 --ansi                    Force ANSI output
 --no-ansi                 Disable ANSI output
 --no-interaction (-n)     Do not ask any interactive question

 

未经允许不得转载:Magento|Magento2|magento开发|magento插件|magento主题|magento模板|magento商城|magento维护 » bin/magento setup:config:set 命令
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

Magento开发|Magento咨询QQ283475615

联系我们