Date: 05/18/01
- Next message: Maxim Derkachev: "Re: [phplib-dev] db_mysql.inc & pconnect"
- Previous message: chrisj: "[phplib-dev] cvs commit"
- Next in thread: Maxim Derkachev: "Re: [phplib-dev] db_mysql.inc & pconnect"
- Reply: Maxim Derkachev: "Re: [phplib-dev] db_mysql.inc & pconnect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
how can i handle mysql pconnects without the behaivor that iŽll receive
a new persistent connection with every new page/query ?
on something like
$db = new example_DB("SELECT id, username FROM members ".
"WHERE user_id = '".$auth->auth["uid"]."'");
do i have to provide a Link ID ?
In session and auth, isnŽt done this automatically ?
i changed the pconnect to connect in db_mysql.inc because otherwise, after
a short while, clients receive "too many connections" from the mysql
daemon.
Holger
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>
- Next message: Maxim Derkachev: "Re: [phplib-dev] db_mysql.inc & pconnect"
- Previous message: chrisj: "[phplib-dev] cvs commit"
- Next in thread: Maxim Derkachev: "Re: [phplib-dev] db_mysql.inc & pconnect"
- Reply: Maxim Derkachev: "Re: [phplib-dev] db_mysql.inc & pconnect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

