[MDB] DSN syntax question

From: Date: Sat, 13 Sep 2003 21:24:24 +0000
Subject: [MDB] DSN syntax question
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7792@lists.php.net to get a copy of this message
Hi, using an array, what is the good writing for port : $mdb=&MDB::connect(array ( "hostspec" => "localhost", "port" => 110 ) or $mdb=&MDB::connect(array ( "hostspec" => "localhost:110" ) For using a socket : $mdb=&MDB::connect(array ( "protocol" => "unix(/path/to/socket)" ) or $mdb=&MDB::connect(array ( "protocol" => "unix" "proto_ops" => "/path/to/socket" ) or $mdb=&MDB::connect(array ( "protocol" => "unix" "socket" => "/path/to/socket" ) Thanks Thierry Bothorel

« previous php.pear.general (#7792) next »