Thanks Vladas, I have logged http://framework.zend.com/issues/browse/ZF-1187 to track this issue.
Regards, Bill Karwin ________________________________ From: Vladas Dirzys [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 3:12 AM To: fw-general@lists.zend.com Subject: [fw-general] Zend_Db mysqli Hi! where is not possible to change mysql port using mysqli adapter. i've changed Zend_Db_Adapter_Mysqli // function _connect() to this: protected function _connect() { if ($this->_connection) { return; } + $port = ($this->_config['port']) ? $this->_config['port'] : null; // Suppress connection warnings here. // Throw an exception instead. @$this->_connection = new mysqli( $this->_config['host'], $this->_config['username'], $this->_config['password'], $this->_config['dbname'], + $port ); if ($this->_connection === false || mysqli_connect_errno()) { throw new Zend_Db_Adapter_Mysqli_Exception(mysqli_connect_error()); } } -- Pagarbiai // Gruß, Vladas Diržys tel.: +370 677 17851 www.dirzys.com