Unable to connect to mongo on Ubuntu 16.04 using command 'mongo'

Views: 169 Ask New Question

When I try to connect to mongo using command 'mongo' i am getting the following exception

Failed global initialization: BadValue Invalid or no user locale set.
Please ensure LANG and/or LC_* environment variables are set correctly.
On By

1 Answer

Run the following command before connecting to mongo-shell

export LC_ALL=C
On By

Answer This Question