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

ERROR 1105 (HY000) at line 1: unknown error: expecting "EOF" but got 'V' instead #875

Open
acczefly opened this issue Sep 18, 2020 · 1 comment

Comments

@acczefly
Copy link

mysql -h'127.0.0.1' -u'user' -p'pass' homestead -e"SHOW VARIABLES WHERE Variable_name ='language'"
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1105 (HY000) at line 1: unknown error: expecting "EOF" but got 'V' instead

run with example:

func main() {
driver := sqle.NewDefault()
driver.AddDatabase(createTestDatabase())

config := server.Config{
    Protocol: "tcp",
    Address:  "localhost:3306",
    Auth:     auth.NewNativeSingle("user", "pass", auth.AllPermissions),
}

s, err := server.NewDefaultServer(config, driver)
if err != nil {
    panic(err)
}

s.Start()

}

@smola
Copy link
Collaborator

smola commented Sep 18, 2020

@acczefly This project is not maintained anymore, but you can try with the liquidata fork:
#873

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants