How to use more than one type of database like mysql with mongodb or postgres and how to connect those to each other