Skip to content

Commit

Permalink
MAGETWO-52981: [Github] Setup:upgrade does not work with custom mysql…
Browse files Browse the repository at this point in the history
… port #4548
  • Loading branch information
shiftedreality committed Jul 7, 2016
1 parent 2fa8836 commit b47d117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ protected function _connect()
}

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

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

0 comments on commit b47d117

Please sign in to comment.