Fix: Username containing an unescaped at-sign Issue [MongoDB]

Getting issue when connecting to your MongoDB using mongoose or some other ORM?

wp content uploads 2018 05 fix username containing an unescaped at sign issue 300x92

Well, it turns out your password has @ or another unsupported character in it.

We need to escape that password. In our case, it’s @ in the password.

Just replace @ sign to %40 (in your password string)



After excaping


That’s all :)