Probleme connexion


I am trying to install wordpress with bedrock, I have to download the files via composer, I have done all the configuration but when I put the link to make the installation I encounter this problem.

Warning: mysqli_real_connect(): (HY000/1045):
Error establishing a database connection

If i set variables directely in development.php it’s work but in .env not working
I understand .env not reading.
Think you