Closed antiguru closed 2 years ago
Hi, thanks for reporting this. I'm not able to reproduce this and can still successfully run dbbench with postgres. Could you share more details to help repro?
Not sure if it's relevant, but it also looks like your connection string has a typo (postggresql instead of postgres).
Thanks for checking. I'll try to see if the issue still reproduces next week and will update this issue accordingly.
Alright, finally go around to checking this problem. You're correct that the problem does not reproduce on head. Please close this issue at your convenience. I figured what confuses me, but it might just be my lack of experience with go:
$ go get github.com/memsql/dbbench
go: downloading github.com/memsql/dbbench v0.3.1
go: downloading github.com/go-sql-driver/mysql v1.6.0
go: downloading github.com/denisenkom/go-mssqldb v0.11.0
go: downloading github.com/lib/pq v1.10.4
go: downloading github.com/awreece/goini v0.0.0-20170814002257-6b3ccd8204f1
go: downloading golang.org/x/net v0.0.0-20211118161319-6a13c67c3ce4
go: downloading github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe
go: downloading golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c
go get: installing executables with 'go get' in module mode is deprecated.
Use 'go install pkg@version' instead.
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
The interesting bit is that it should download version 0.4, but in fact it picks 0.3.1. Building from source produces a working copy of dbbench.
Thanks for confirming
I cannot connect to Postgres after #14 was merged:
Reverting to bbf9ecdb088095ff43361c7c25655d5b71fc5e3f avoids the problem.