Support the ongoing development of Laravel.io →

December

Joined 22 Nov 2016

Statistics

Threads 1
Replies 3
Solutions 0
Articles 0

Change MySQL connection of Laravel migrate command

I'm using laravel 5 and I have problem with migrations. The migrate command has a --database option...

0 Likes
7 Replies
replied 7 years ago

Change MySQL connection of Laravel migrate command

astroanu said: You can set the database connection settings at run time. How i did this was create...

0 Likes
replied 7 years ago

Change MySQL connection of Laravel migrate command

astroanu said: are you wanting to keep separate databases and credentials for each user ? multi ten...

0 Likes
replied 8 years ago

Change MySQL connection of Laravel migrate command

astroanu said: you can use the connection method to change it, but user input? not sure Schema::con...

0 Likes

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.