Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

mysql.NewAuthServerStatic does not implement auth.Auth interface #622

Closed
@dgrr

Description

@dgrr

Hello,

The following code extracted from the README.md does not compile:

    auth := mysql.NewAuthServerStatic()
    auth.Entries["user"] = []*mysql.AuthServerStaticEntry{{
        Password: "pass",
    }}

    config := server.Config{
        Protocol: "tcp",
        Address:  "localhost:3306",
        Auth:     auth,
    }

The error is produced because the function gopkg.in/src-d/go-vitess.v1/mysql.NewAuthServerStatic() does not implement gopkg.in/src-d/go-mysql-server.v0/auth.

Thanks.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationThis is a documentation issue or pull request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions