how to set connection database inside admin panel

I have a design with 2 panel
1.main panel
2.training panel

and want to separated database name but have a same table
please show me how to do that
thx u
Was this page helpful?