Skip to content

Socket system variable to return vitess mysql socket#7637

Merged
systay merged 7 commits intovitessio:masterfrom
planetscale:sysvar-socket
Mar 10, 2021
Merged

Socket system variable to return vitess mysql socket#7637
systay merged 7 commits intovitessio:masterfrom
planetscale:sysvar-socket

Conversation

@harshit-gangal
Copy link
Copy Markdown
Member

Description

Currently select @@socket returns socket file path of any vttablet. The change returns the socket path of vitess mysql socket path that can be used to connect to VTGate. Also, added logic to handle set socket = <some_path> at vtgate level.

Related Issue(s)

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

Impacted Areas in Vitess

Components that this PR will affect:

  • Query Serving

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
systay added 2 commits March 10, 2021 06:28
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay merged commit 9f5e7e5 into vitessio:master Mar 10, 2021
@systay systay deleted the sysvar-socket branch March 10, 2021 07:36
@askdba askdba added this to the v10.0 milestone Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support @@socket better

3 participants