I am following the tutorial https://symfony.es/noticias/2017/05/02/symfony-4-un-example-practico/ , to start with Flex and they are Symfony.
The thing is that when executing: ./bin/console doctrine:database:create
it returns me: ``` [Doctrine\DBAL\Exception\ConnectionException]
An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
[PDOException]
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
```
The thing is that I don't know where I have to indicate the connection values to the database.
Can someone explain to me where the connection values of the database are configured?
Thanks.
In Symfony4 and in the development environment it is recommended to indicate the connection in the .env file:
https://symfony.com/doc/current/doctrine.html#content_wrapper