Create database in Symfony4

0

I'm trying to create a database in Symfony 4 with php bin/console doc:data:create but I get this error:

In AbstractMySQLDriver.php line 93:

  An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user 'db_user'@'localhost' (using pa
  ssword: YES)


In PDOConnection.php line 31:

  SQLSTATE[HY000] [1045] Access denied for user 'db_user'@'localhost' (using password: YES)


In PDOConnection.php line 27:

  SQLSTATE[HY000] [1045] Access denied for user 'db_user'@'localhost' (using password: YES)


doctrine:database:create [--shard SHARD] [--connection [CONNECTION]] [--if-not-exists] [-h|--help] [-q|--quiet] [-
|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <com
and>

What can I do to allow me to create this database?

    
asked by RicardoKra 22.12.2018 в 20:39
source

0 answers