Skip to content

[client] Unknown command #13

@btfak

Description

@btfak

This is the error message:

MCResponse status=UNKNOWN_COMMAND, opcode=SASL_LIST_MECHS,
 opaque=0, msg: Unknown command

This is the code:


func Memcache() {
    client, err := memcached.Connect("tcp", "127.0.0.1:11211")
    if err != nil {
        log.Fatalf("Error connecting: %v", err)
    }

    resp, err := client.Auth("memcache", "password")
    if err != nil {
        log.Fatalf("auth error: %v", err)
    }
    log.Printf("Auth response = %v", resp)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions