mongodb-报错FailedToParse: Password must be URL Encoded for mongodb:// URL:

问题背景:
当你使用 @的密码登录mongodb报错FailedToParse: Password must be URL Encoded for mongodb:// URL:

问题分析:
官方:https://docs.mongodb.com/manual/reference/connection-string/#examples

If the username or password includes the following characters:

@为%40

解决方案:
我们登录密码@替换为%40即可。

创建完 iam 普通用户后,可以执行以下命令,通过 iam 用户登录 MongoDB:

$ mongo --quiet mongodb://iam:'aaa%40intah'@127.0.0.1:27017/iam_analytics?authSource=iam_analytics

mongodb-报错FailedToParse: Password must be URL Encoded for mongodb:// URL:相关推荐

  1. 报错信息为:Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource

    报错信息为:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource ...

  2. mongodb报错:Problem inserting to mongo collection: no reachable servers

    文章目录 mongodb报错:Problem inserting to mongo collection: no reachable servers mongodb报错:Problem inserti ...

  3. [mongoDB]使用Studio 3T连接MongoDB报错Illegal argument: For input string: “23-28-g865b4f6a96“

    使用Studio 3T做MongoDB客户端连接报错,但是使用robo3t正常连接 如图,MongoDB正常启动: 但Studio 3T连接报错: 通过报错我们可以明白,这是由于MongoDB的版本中 ...

  4. 解决MongoDB报错:Cannot create collection “None“ as a capped collection as it already exist

    解决MongoDB报错:Cannot create collection "None" as a capped collection as it already exist Roo ...

  5. WSL2使用Python访问Windows 10上的MongoDB报错:pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Er

    WSL2使用Python访问Windows 10上的MongoDB报错:pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Er ...

  6. sudo brew install mongodb报错

    报错信息如下: Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew ...

  7. php mongodb 连接失败,解决PHP使用普通账号连接mongodb报错问题

    起先使用mongodb来开发,未加上账号密码验证功能. mongodb一直正常,准备放到线上之时加上账号密码功能,整个过程如下 增加mongodb账号 增加用户a_ttlsa_com对a_ttlsa_ ...

  8. mongodb报错一例

    开发程序报错信息: Caused by: com.mongodb.MongoException: Executor error: OperationFailed: Sort operation use ...

  9. mongodb报错 An error occurred while loading navigation: topology was destroyed

    情况描述,关了电脑,第二天查询数据,报错An error occurred while loading navigation: topology was destroyed 我的数据库连接代码如下: ...

  10. zabbix server报错:FATAL: password authentication failed for user zabbix

    zabbix agent日志 [root@localhost zabbix]# cat zabbix_server.log FATAL: password authentication failed ...

最新文章

  1. Linux云服务器上python画图并保存
  2. 标 题: 腾讯面试题目(PHP程序员)
  3. 使用文本挖掘实现站点个性化推荐
  4. ipv6 ospf配置方法_网络工程师(22):应用最广泛的路由协议OSPF
  5. 创意促销海报设计思路,年底忙的设计师来看!
  6. java 重载、重写、重构的区别
  7. 玛莎拉蒂品牌与酷客多小程序达成官方合作!
  8. ubuntu安装python和pycharm_在Ubuntu 20.04中安装Pycharm 2020.1的图文教程
  9. SVS为某大学打造无纸化会议室
  10. oracle闰年,oracle 闰年判断
  11. Digital Photo Professional 4 如何导出jpg
  12. openwrt广告屏蔽大师修复补丁luci-app-adbyby plus + lite
  13. CSS——网易云音乐首页之热门推荐歌单的制作
  14. 修改hosts不管用 为什么修改127 0 0 1指向的域名,访问域名却弹出别的网站
  15. Jupyter制作slides(幻灯片)
  16. Canvas响应 -岛岛还存活在代码的第79天-
  17. VS2019_Windows桌面应用程序_01
  18. C语言中最难啃的硬骨头非这三个莫属
  19. 为什么要选择106短信接口?
  20. Hybrid APP 混合开发经验总结《三》

热门文章

  1. 论文阅读“Automatic detection of hardhats worn by construction personnel”
  2. Cesium 绘制不同的形状(Entity)
  3. 2014春晚小品《扶不扶》台词集锦
  4. 编程序找出1000之内的所有完数
  5. 建议65:总是处理未捕获的异常
  6. 产品生命周期管理(PLM)的内涵
  7. eclipse配置tomcat9.0
  8. 线性代数学习笔记——第三十九讲——直线与平面的位置关系
  9. NIO和BIO的比较
  10. 学习笔记-测试利器Mocha