If it's not getting the configuration from your .env, maybe the configuration cached, try this:
php artisan config:clear
I have Laravel 5.4 on Ubuntu 16.04 with MariaDb, but I cant connect to the db. I see SQLSTATE[HY000] [1698] Access denied for user 'homestead'@'localhost' error, but in .env i have another data then is right ... Where I can rewrite them ... ? Right place for the database configuration is .env thats right?
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3307 DB_DATABASE=dokumenty DB_USERNAME=phpmyadmin DB_PASSWORD=petr
Please or to participate in this conversation.