XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • golang 1.1.0
      driver:master


    Description

      mongo_url : mongodb://abcd:abc%40abc@127.0.0.1:4002

       

      code:

      info := config.EngRds.Info()

      m := DealRedisInfo(fmt.Sprintf("%s", info))
      c := config.EngMgo.Database("rules").Collection("RedisInfo")
      ctx, _ := context.WithTimeout(context.Background(), 5*time.Second)

      one, err := c.InsertOne(ctx, m)
      fmt.Println(one, err)

       

       

       

      error:

          <nil> auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.

      Attachments

        Activity

          People

            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            xiaohan xiaohan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: