how to set connection database inside admin panel

I have a design with 2 panel 1.main panel panel and want to separated database name but have a same table please show me how to do that thx u
2 Replies
LeandroFerreira5mo ago
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
jepewsykes5mo ago
Solved Bro Im Using bootUsing() like this ->bootUsing(function (Panel $panel) { DB::setDefaultConnection('training'); })