Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14383780
D15982.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15982.diff
View Options
diff --git a/src/applications/config/controller/PhabricatorConfigDatabaseController.php b/src/applications/config/controller/PhabricatorConfigDatabaseController.php
--- a/src/applications/config/controller/PhabricatorConfigDatabaseController.php
+++ b/src/applications/config/controller/PhabricatorConfigDatabaseController.php
@@ -4,16 +4,14 @@
extends PhabricatorConfigController {
protected function buildSchemaQuery() {
- $conf = PhabricatorEnv::newObjectFromConfig(
- 'mysql.configuration-provider',
- array($dao = null, 'w'));
+ $ref = PhabricatorDatabaseRef::getMasterDatabaseRef();
$api = id(new PhabricatorStorageManagementAPI())
- ->setUser($conf->getUser())
- ->setHost($conf->getHost())
- ->setPort($conf->getPort())
+ ->setUser($ref->getUser())
+ ->setHost($ref->getHost())
+ ->setPort($ref->getPort())
->setNamespace(PhabricatorLiskDAO::getDefaultStorageNamespace())
- ->setPassword($conf->getPassword());
+ ->setPassword($ref->getPass());
$query = id(new PhabricatorConfigSchemaQuery())
->setAPI($api);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 8:25 AM (17 h, 41 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6917939
Default Alt Text
D15982.diff (1 KB)
Attached To
Mode
D15982: Read "Database Status" page connection information from cluster config if present
Attached
Detach File
Event Timeline
Log In to Comment