mongdb database can not be backed up after adding user name and password, it has been suggested that the verification failed. Finally found that their database password with a special character reason.
Failed: error connecting to db server: server returned error on SASL authentication step: Authentication failed.
The solution given on
network is to add — authenticationDatabase, but I still can’t add it.
~ $ mongodump -h 127.0.0.1 --port 27017 --authenticationDatabase manager -u LorettaLei -p LorettaLei$001 -o db
2019-11-26T16:30:21.206+0800 Failed: error connecting to db server: server returned error on SASL authentication step: Authentication failed.
finally figured out that it might be because I had a special character in my password. I put a backslash before the special character, and it succeeded immediately. I was so clever!
Read More:
- 530 user cannot log in. Problem connecting to FTP server
- SQL Server 2005, unable to log in, forget sa password, 15405 error!
- SQL Server 2008 18456 error and SA unable to login solution
- MYSQL:ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
- Pikachu vulnerability is installed in the shooting range, and an error is reported when connecting to the MySQL database
- Mongodb connection authentication auth failed solution
- Perfectly solve the 1366 error of saving Chinese in MySQL
- Spring boot integrates Mongo to solve some common connection and permission problems. Docker compose installs Mongo
- [Solved] Access /oauth/token in SpringCloud OAuth2 and report server_error
- MySql Error1067:Invalid default value for ‘c_Gender‘
- Git push “fatal: Authentication failed ”
- 【Linux】psql: FATAL: Ident authentication failed for user “username” Error and Solution
- SQL Server SSPI handshake failed Error
- Error loading pscopg2 module: no module named pscopg2
- Linux-mysql8.0 password reset problem – error 1396 (HY000): Operation alter user failed for ‘root’ @’localhost ‘
- Running setup.py install for sasl … error
- ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
- Solution to SQL Server Error: 4064
- Zookeeper will not attempt to authenticate using SASL (unknown error)
- Spring security failed to log in, error: there is no passwordencoder mapped for the ID “null”