Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorMySQLConfigOptions.php
Show All 32 Lines | return array( | ||||
pht('MySQL username to use when connecting to the database.')), | pht('MySQL username to use when connecting to the database.')), | ||||
$this->newOption('mysql.pass', 'string', null) | $this->newOption('mysql.pass', 'string', null) | ||||
->setHidden(true) | ->setHidden(true) | ||||
->setDescription( | ->setDescription( | ||||
pht('MySQL password to use when connecting to the database.')), | pht('MySQL password to use when connecting to the database.')), | ||||
$this->newOption('storage.default-namespace', 'string', 'phabricator') | $this->newOption('storage.default-namespace', 'string', 'phabricator') | ||||
->setLocked(true) | ->setLocked(true) | ||||
->setSummary( | ->setSummary( | ||||
pht('The namespace that Phabricator databases should use.')) | pht('The namespace that databases should use.')) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
"Phabricator puts databases in a namespace, which defaults to ". | "Databases are created in a namespace, which defaults to ". | ||||
"'phabricator' -- for instance, the Differential database is ". | "'phabricator' -- for instance, the Differential database is ". | ||||
"named 'phabricator_differential' by default. You can change ". | "named 'phabricator_differential' by default. You can change ". | ||||
"this namespace if you want. Normally, you should not do this ". | "this namespace if you want. Normally, you should not do this ". | ||||
"unless you are developing Phabricator and using namespaces to ". | "unless you are developing extensions and using namespaces to ". | ||||
"separate multiple sandbox datasets.")), | "separate multiple sandbox datasets.")), | ||||
$this->newOption('mysql.port', 'string', null) | $this->newOption('mysql.port', 'string', null) | ||||
->setLocked(true) | ->setLocked(true) | ||||
->setDescription( | ->setDescription( | ||||
pht('MySQL port to use when connecting to the database.')), | pht('MySQL port to use when connecting to the database.')), | ||||
); | ); | ||||
} | } | ||||
} | } |