/** * Creates a new connection using unix domain socket * * @param string $uds socket * @param string $user username * @param string $password password * @param string $db database name * @param integer $options connection options * * @return PMA_DrizzleCon */ public function addUds($uds, $user, $password, $db, $options) { $dcon = parent::addUds($uds, $user, $password, $db, $options); return $dcon instanceof DrizzleCon ? new PMA_DrizzleCon($dcon) : $dcon; }