Support the ongoing development of Laravel.io →
posted 8 years ago
Database
Last updated 2 years ago.
0

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?

0

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

0
  1. try to connect to the mysql server using cli, if it works then there's something wrong in the app configuration

  2. on your vagrant or linux shell type env press enter see what environment variables are set, have you set you DB_HOST there?

  3. clear your laravel config cache.. php artisan config:clear

  4. check your env file, and check the config/database.php, the uppsercase parameter names in the config and the .env should match

0

Sign in to participate in this thread!

Eventy

Your banner here too?

pasterntt pasterntt Joined 8 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.