Page MenuHomePhabricator

bin/storage shell: force TCP
ClosedPublic

Authored by avivey on Jul 21 2016, 10:12 PM.
Tags
None
Referenced Files
F18809836: D16317.id39237.diff
Sun, Oct 19, 5:13 PM
F18759757: D16317.id39238.diff
Mon, Oct 6, 5:45 AM
F18644226: D16317.diff
Sep 19 2025, 4:26 AM
F18507906: D16317.id.diff
Sep 5 2025, 2:30 AM
F18089872: D16317.id.diff
Aug 6 2025, 1:04 PM
F18082905: D16317.diff
Aug 5 2025, 7:55 AM
F17947123: D16317.diff
Jul 31 2025, 3:41 PM
Unknown Object (File)
Jul 3 2025, 10:27 AM
Subscribers

Details

Summary

mysql has the magic feature of ignoring port arguments and using the socket when connecting to localhost.

This flag makes it not do that.

Test Plan

./bin/storage shell, execute status, see Connection: localhost via TCP/IP.

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13114
Build 16772: Run Core Tests
Build 16771: arc lint + arc unit

Event Timeline

avivey retitled this revision from to bin/storage shell: force TCP.
avivey updated this object.
avivey edited the test plan for this revision. (Show Details)
avivey added reviewers: epriestley, joshuaspence.
avivey edited edge metadata.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jul 21 2016, 11:17 PM
This revision was automatically updated to reflect the committed changes.

@avivey: Is there any particular rationale to doing this? I'm looking at going in the other direction - completely away from TCP - and this makes that somewhat harder ...

The rational is, phabricator is always connecting via tcp, and the settings might be different (eg: user might not have permissions) when connecting via socket.

@avivey Reasonable enough. I'd hoped to be able to use socket paths explicitly, but that would be a separate change to this then. Thanks, and sorry for the noise.