Are there any other configs / env files?
The address 192.168.0.106 must be coming from somewhere, maybe do a text search if you're unsure?
Ok, now it gets really mystical :D
I just tried again to use the artisan-CMD, but the DB-Server was shut down. I got a TimeOut, so it tried to connect to the remote DB-server. So i started the server and hoped it would be solved. As it ran again, I ran the CMD again and got the exact same error as before.
Kind regards,
Tim
try to connect to the mysql server using cli, if it works then there's something wrong in the app configuration
on your vagrant or linux shell type env press enter see what environment variables are set, have you set you DB_HOST there?
clear your laravel config cache.. php artisan config:clear
check your env file, and check the config/database.php, the uppsercase parameter names in the config and the .env should match
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community