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

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

Closed
dgrr opened this issue Feb 24, 2019 · 1 comment
Closed

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

dgrr opened this issue Feb 24, 2019 · 1 comment
Assignees
Labels
bug Something isn't working documentation This is a documentation issue or pull request

Comments

@dgrr
Copy link

dgrr commented Feb 24, 2019

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.

@ajnavarro ajnavarro added bug Something isn't working documentation This is a documentation issue or pull request labels Feb 25, 2019
@ajnavarro
Copy link
Contributor

Thanks for the heads up, we will fix it ASAP.

@kuba-- kuba-- self-assigned this Feb 25, 2019
@kuba-- kuba-- mentioned this issue Feb 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working documentation This is a documentation issue or pull request
Projects
None yet
Development

No branches or pull requests

3 participants