We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 292dadf commit e3fd257Copy full SHA for e3fd257
lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php
@@ -434,7 +434,7 @@ private function avoidReusingParentProcessConnection()
434
$this->pid = getmypid();
435
436
// Reset config host to avoid issue with multiple connections
437
- if (!empty($this->_config['port'])) {
+ if (!empty($this->_config['port']) && strpos($this->_config['host'], ':') === false) {
438
$this->_config['host'] = implode(':', [$this->_config['host'], $this->_config['port']]);
439
unset($this->_config['port']);
440
}
0 commit comments