MDB2 slow mysql connect

Have a code:


$mdb2 =& MDB2::connect("mysql://$mysqllogin:$mysqlpass@localhost/$mysqldb");


and then in result i see

              total ex. time	netto ex.       time	#calls	%	calls	callers

MDB2connect 2.6473159790039 2.6473159790039 1 N/A Global (1)

Why the MDB2 connect can be so slow ?

You should ask this on the PEAR mailing list or create a ticket for MDB2:

Mike, thanks. I’ve solved it. My server was high loaded therefore all php operations were slow.