Sharding even with Admin access - (Unauthorized) not authorized on admin to execute command { enableSharding

Hi @D_M2,
Let’s do this, to create a temporary solution, we can create a root user in the admin db.
So in the connection string you will have to put:
mongodb+srv://weather.xdeoqms.mongodb.net/admin
And log in with the new user name.

Regards

1 Like