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

try 'host' => 'localhost'

Last updated 2 years ago.
0

neilpato22 said:

try 'host' => 'localhost'

Hi Thanks neilpato22 for the suggestion. Just tried that, but still using a simple route in routes.php it creates the table in homestead instead of distribution.

Route::get('/', function() { Schema::create('frog', function($table) { $table->increments('id'); }); });

Last updated 2 years ago.
0

Alright figured it out, my problem was in app/config/local there is another database.php config file that must have come pre-configured. Change that and it works, like a charm

Thanks for the quick response neilpato22.

:-)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

joyjas77 joyjas77 Joined 17 Sep 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.