I’m trying to use bedrock for first time but I have a problem with connecting to the mysql database. My database connection section in .env file looks like this
The credentials are working. I also tried to use the DATABASE_URL method. I also tried changing localhost to 127.0.0.1 and 127.0.0.1::3306 but it doesnt work either.
The weirdest part is it looks like these values aren’t even used - my mysql log shows this:
Connect @localhost on
Connect Access denied for user ‘’@‘localhost’ (using password: NO)
But the .env file should be processed by the sever, because if I try and remove database section from .env file I get a 500 error saying I’m missing DB_NAME for example in my config file.
Do you have any idea what could be causing this problem?
MariaDB 10.1.45, Apache 2.4.25, Debian 9.12