mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
bin/storage shell: force TCP
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`. Reviewers: joshuaspence, #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D16317
This commit is contained in:
parent
c27ba19da3
commit
68904d941c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ final class PhabricatorStorageManagementShellWorkflow
|
|||
}
|
||||
|
||||
return phutil_passthru(
|
||||
'mysql --default-character-set=utf8 '.
|
||||
'mysql --protocol=TCP --default-character-set=utf8 '.
|
||||
'-u %s %C -h %s %C',
|
||||
$api->getUser(),
|
||||
$flag_password,
|
||||
|
|
Loading…
Reference in a new issue