Allow empty host when installing on oracle via CLI (#25034)
This commit is contained in:
parent
3e846a4821
commit
ea330dfa6a
|
@ -106,7 +106,12 @@ class Install extends Command {
|
|||
$dbUser = $input->getOption('database-user');
|
||||
$dbPass = $input->getOption('database-pass');
|
||||
$dbName = $input->getOption('database-name');
|
||||
$dbHost = $input->getOption('database-host');
|
||||
if ($db === 'oci') {
|
||||
// an empty hostname needs to be read from the raw parameters
|
||||
$dbHost = $input->getParameterOption('--database-host', '');
|
||||
} else {
|
||||
$dbHost = $input->getOption('database-host');
|
||||
}
|
||||
$dbTablePrefix = 'oc_';
|
||||
if ($input->hasParameterOption('--database-table-prefix')) {
|
||||
$dbTablePrefix = (string) $input->getOption('database-table-prefix');
|
||||
|
|
Loading…
Reference in New Issue