Use 'w' connection in bin/storage
Test Plan: Built a DB provider using readonly connection for 'r' mode. Then: $ arc unit Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3484
This commit is contained in:
@@ -35,7 +35,9 @@ EOHELP
|
||||
);
|
||||
$args->parseStandardArguments();
|
||||
|
||||
$conf = PhabricatorEnv::newObjectFromConfig('mysql.configuration-provider');
|
||||
$conf = PhabricatorEnv::newObjectFromConfig(
|
||||
'mysql.configuration-provider',
|
||||
array($dao = null, 'w'));
|
||||
|
||||
$default_user = $conf->getUser();
|
||||
$default_host = $conf->getHost();
|
||||
|
||||
Reference in New Issue
Block a user