drush sql:createfor drush 9x
Create a database.
drush sql:create
-
Aliases
sql:create has 1 alias/es:
drush sql-create
-
Options
sql:create accepts 8 option/s:
--db-su
--db-su : db-su
--db-su-pw
--db-su-pw : db-su-pw
--database
--database : database
--target
--target : target
--db-url
--db-url : db-url
--notify
--notify : notify
--druplicon
--druplicon : druplicon
--xh-link
--xh-link : xh-link
-
Examples
Create the database for the current site.
drush sql:create
Create the database as specified for @site.test.
drush @site.test sql-create
Create the database as specified in the db-url option.
drush sql:create --db-su=root --db-su-pw=rootpassword --db-url="mysql://drupal_db_user:drupal_db_password@127.0.0.1/drupal_db"
-
Comments
comments powered by Disqus