how can I change the database in Laravel dynamic? Lets say we have the following variables:
- $host (MySQL hostname / IP)
- $user (MySQL user name)
- $name (MySQL database name)
- $pass (MySQL user password)
How can I connect to this mysql server in Laravel 5 without setting it every time in the config?
Greetings
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2gzeRzb
via IFTTT
Aucun commentaire:
Enregistrer un commentaire