Re: [Phplib-users] DB-Class and open connections
Brought to you by:
nhruby,
richardarcher
From: Stephen W. <wo...@me...> - 2001-09-10 15:59:20
|
You need to change one line in db_mysql.inc from: $this->Link_ID=mysql_pconnect($Host, $User, $Password); to: $this->Link_ID=mysql_connect($Host, $User, $Password); I had this same problem. -Steve Guenther Theilen wrote: > > Hi, > > I'm using the DB-Class to connect to a MySQL-database. Is it correct > that this class handles the connections for me. In other words: Do I > have to think of closing connections at the end of the script? > > Sorry if this seems to be a stupid question, but I didn't find > anyhting in the manual and today my database didn't work and my > provider told me that this was because of 200 open connections which > caused MySQL to stop... > > tia. > Guenther Theilen > > -- > eqi Web-Design + Infanterieweg 30 + 26129 Oldenburg > Tel: 0441 / 77 81 333 + Fax: 0441 / 99 89 02 20 > mailto:th...@eq... + http://www.eqi.de > > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users |