2 / 2
Feb 13

Hello everyone. I have been tasked with upgrading our mongod from v4 to v6. Following the instructions provided by AI, I get this error:

db.adminCommand({ getParameter: 1, featureCompatibilityVersion: 1 })

-bash: syntax error near unexpected token `{’

I appreciate your help with this. Many thanks.