kay899
1 year ago
129
10
Eloquent

2nd DB connection crashes site

Posted 1 year ago by kay899

Hi,

I try to use a second DB connection for one of my Models.

The database.php has now two mysql connections.

When I now add "protected $connection = ..." to my Model, the whole Application breaks and I get a blank screen. I even don't get anything logged into the error protocols.

Does someone has an idea, what goes wrong?

Thanks

kay899

Please sign in or create an account to participate in this conversation.