You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing diesel migration run with one of Diesel's examples, I'm hitting the error from the title:
vtgate: http://78bab1349f40:33574/: query arguments missing for __vtdbname
The query that aggravated it was SELECT database() but when I execute that from the mysql CLI, it returns as normal. I tried setting all the variables that Diesel sets, but it still succeeds. I'll attach a packet capture.
Reproduction Steps
docker run --rm -it --entrypoint=bash gcr.io/planetscale-vitess-testing/frameworks/rust/diesel -c 'export DATABASE_URL=mysql://USERNAME:PASSWORD@HOST:PORT/DATABASE?ssl-mode=DISABLED; cd getting_started_step_1; diesel migration run'
Binary version
Using vttestserver, which doesn't support -version, but here's output from vtcombo in the same container:
$ /vt/bin/vtcombo -version
ERROR: logging before flag.Parse: E0125 18:43:12.741403 754 syslogger.go:149] can't connect to syslog
Version: acb3b4e1d (Git branch 'master') built on Mon Jan 25 16:57:11 UTC 2021 by vitess@6c41847a305c using go1.15.6 linux/amd64
Overview of the Issue
When testing
diesel migration run
with one of Diesel's examples, I'm hitting the error from the title:The query that aggravated it was
SELECT database()
but when I execute that from themysql
CLI, it returns as normal. I tried setting all the variables that Diesel sets, but it still succeeds. I'll attach a packet capture.Reproduction Steps
docker run --rm -it --entrypoint=bash gcr.io/planetscale-vitess-testing/frameworks/rust/diesel -c 'export DATABASE_URL=mysql://USERNAME:PASSWORD@HOST:PORT/DATABASE?ssl-mode=DISABLED; cd getting_started_step_1; diesel migration run'
Binary version
Using
vttestserver
, which doesn't support-version
, but here's output fromvtcombo
in the same container:Operating system and Environment details
Inside the
vttestserver
container:Log Fragments
With query logging enabled, I get this:
but nothing else
The text was updated successfully, but these errors were encountered: