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.

Not enough arguments in call to mysql.NewAuthServerStatic #868

@tomasgvivo

Description

@tomasgvivo

I get the following error after running a copy of the _example directory in my local machine.

$ cd ~/Projects/mysql_server_example
$ wget https://raw.githubusercontent.com/src-d/go-mysql-server/master/_example/main.go
$ go get github.com/src-d/go-mysql-server
$ go run main.go
# github.com/src-d/go-mysql-server/auth
src/github.com/src-d/go-mysql-server/auth/native.go:133:35: not enough arguments in call to mysql.NewAuthServerStatic
        have ()
        want (string, string, time.Duration)
src/github.com/src-d/go-mysql-server/auth/native.go:136:7: auth.Entries undefined (type *mysql.AuthServerStatic has no field or method Entries)
# github.com/src-d/go-mysql-server/sql/parse
src/github.com/src-d/go-mysql-server/sql/parse/parse.go:274:77: undefined: sqlparser.SCHEMAS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions