php bin/console doctrine:database:create

Creates the configured database

Usage

doctrine:database:create [--shard SHARD] [--connection [CONNECTION]] [--if-not-exists]

Options

      --shard           The shard connection to use for this command 
      --connection      The connection to use for this command 
      --if-not-exists   Don't trigger an error, when the database already exists 

Help

The doctrine:database:create command creates the default connections database:

    php bin/console doctrine:database:create

You can also optionally specify the name of a connection to create the database for:

    php bin/console doctrine:database:create --connection=default