mysql has the magic feature of ignoring port arguments and using the socket when connecting to localhost.
This flag makes it not do that.
Differential D16317
bin/storage shell: force TCP avivey on Jul 21 2016, 10:12 PM. Authored by Tags None Referenced Files
Details
mysql has the magic feature of ignoring port arguments and using the socket when connecting to localhost. This flag makes it not do that. ./bin/storage shell, execute status, see Connection: localhost via TCP/IP.
Diff Detail
Event TimelineComment Actions @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 ... Comment Actions 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. Comment Actions @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. |