---
title: "Comment by Hussain Bhagat on \"Next JS - MongoDB Connection\" | Hashnode"
description: "Hi Manas, I wanted to know how to connect to multiple clusters? And switch between multiple DBs in a cluster?"
url: "https://hashnode.com/posts/next-js-mongodb-connection/6426da911bc71ef1cf980677/comment/662a753306deccab2596b1a3"
---

[Discussion](https://hashnode.com/posts/next-js-mongodb-connection/6426da911bc71ef1cf980677)

Comment [Next JS - MongoDB Connection](https://hashnode.com/posts/next-js-mongodb-connection/6426da911bc71ef1cf980677)

[Hussain Bhagat](https://hashnode.com/@Husain01)

[Apr 25, 2024](https://hashnode.com/posts/next-js-mongodb-connection/6426da911bc71ef1cf980677/comment/662a753306deccab2596b1a3)

Hi Manas, I wanted to know how to connect to multiple clusters? And switch between multiple DBs in a cluster?
