Skip to content

Commit b47d117

Browse files
MAGETWO-52981: [Github] Setup:upgrade does not work with custom mysql port #4548
1 parent 2fa8836 commit b47d117

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/DB/Adapter/Pdo

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ protected function _connect()
330330
}
331331

332332
if (isset($this->_config['port'])) {
333-
throw new \Zend_Db_Adapter_Exception('Port must be configured within host parameter');
333+
throw new \Zend_Db_Adapter_Exception('Port must be configured within host parameter (like localhost:3306');
334334
}
335335

336336
unset($this->_config['port']);

0 commit comments

Comments
 (0)