Page MenuHomePhabricator

bin/storage shell: force TCP
ClosedPublic

Authored by avivey on Jul 21 2016, 10:12 PM.
Tags
None
Referenced Files
F19893958: D16317.id.diff
Sat, Mar 28, 11:00 AM
F19854803: D16317.id.diff
Fri, Mar 13, 11:17 AM
F19846650: D16317.diff
Thu, Mar 12, 1:23 PM
F19763641: D16317.diff
Feb 18 2026, 8:28 PM
F19446151: D16317.id39238.diff
Dec 29 2025, 2:52 PM
F19273172: D16317.diff
Dec 22 2025, 11:24 PM
F19269631: D16317.id39238.diff
Dec 22 2025, 9:42 PM
F19253156: D16317.id.diff
Dec 22 2025, 10:48 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.