0

For each user there will be different connection settings in global database in user table and on successful login of a particular user i will get his respective database settings such as database name,username,password but how do i configure that user database settings into laravel database.php file? Thanks in advance.

Chiru Adi
  • 647
  • 4
  • 21

1 Answers1

0

The solution to connecting your laravel application to multiple database can be found on this link. http://fideloper.com/laravel-multiple-database-connections I hope that helps

donztobs
  • 1
  • 1
  • thanks for the solution. but this above link is to configure the multiple database connection. but i want to configure or connect to that particular database of each user on the flow to do some database related operation. – Chiru Adi Jun 01 '16 at 12:44