Re: mysql_pconnect() made things worse

2006-12-01 Thread Jacques Marneweck
we're getting "No database selected" with that one table "busy" and the only way out is mysqladmin flush-hosts. In that one busy script, I replaced mysql_connect() with mysql_pconnect() according to some advice I received, and the server immediately went back to "

mysql_pconnect() made things worse

2006-11-30 Thread Brian Dunning
"No database selected" with that one table "busy" and the only way out is mysqladmin flush-hosts. In that one busy script, I replaced mysql_connect() with mysql_pconnect() according to some advice I received, and the server immediately went back to "No data

mysql_pconnect

2003-06-25 Thread Paco Martinez
Hi My server www has Suse 8.2, apache-1.3.27, mod_php4-4.3.1, and my server mysql has Suse 8.2, and mysql.4.0.12-Max-log Sometimes, not always, it appears an error in www. Warning: mysql_pconnect() [function.mysql-pconnect]: Link to server lost, unable to reconnect in db_mysql.inc on line 73

Very strange behavior with mysql_pconnect()

2002-11-27 Thread Derek Scruggs --> Escalan
Hi, I'm getting some very strange (and nerve-wracking) behavior and hope someone here has some ideas. The subject says mysql_pconnect, but I get the same problem using mysql_connect. I'm using PHP 4.2 & MySQL 3.23.44 on Red Hat 7.2 In PHP I have a simple db class that more or le

RE: mysql_pconnect doesn/t work in php

2002-05-28 Thread Neville Lewis
Perhaps you are using php as cgi try using it as a module of apache ** -Original Message- i use mysql_pconnect in php, but after call mysql_pconnect every time,i find that connection increase one.it says in php manual

Re: mysql_pconnect doesn't work in php

2002-05-28 Thread Jeff Kilbride
iginal Message - From: "Ê© Á¢²¨" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 8:09 PM Subject: mysql_pconnect doesn't work in php > i use mysql_pconnect in php, but after call > mysql_pconnect every time,i find that connection > i

mysql_pconnect doesn't work in php

2002-05-28 Thread Ê©
i use mysql_pconnect in php, but after call mysql_pconnect every time,i find that connection increase one.it says in php manual, mysql_pconnect will first try to find a (persistent) link that's already open with the same host, username and password. If one is found, an identifier for it wi

mysql_pconnect doesn/t work in php

2002-05-28 Thread Ê©
i use mysql_pconnect in php, but after call mysql_pconnect every time,i find that connection increase one.it says in php manual, mysql_pconnect will first try to find a (persistent) link that's already open with the same host, username and password. If one is found, an identifier for it wi

Re: (php thing) Bug #17126 Updated: mysql_pconnect() andmysql_query("LOCK TABLES...") (fwd)

2002-05-10 Thread Paul DuBois
At 14:29 +0200 5/10/02, Stian Skjelstad wrote: >Hi > >I don't know if this is of any interrest etc, but atleast it is a small >little issue from the big, big world. This is easily solved by using mysql_connect() rather than mysql_pconnect(). Then the connection won't s

(php thing) Bug #17126 Updated: mysql_pconnect() and mysql_query("LOCKTABLES...") (fwd)

2002-05-10 Thread Stian Skjelstad
126 Updated: mysql_pconnect() and mysql_query("LOCK TABLES...") ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=17126&edit=2 ID: 17126 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Statu

Re: mysql_connect () and mysql_pconnect are not recognized ! Pls help.

2001-08-31 Thread Tony Wells
It sounds like the PHP module was compiled without MySQL support. root wrote: > > Hi, > > I'm running mysql MAX 3.23.41 on LinuxPPC, everything was installed from > an RPM. > My problem is whenever I try to call mysql_connect (), from a php3 > script, I got the error function not found or misco

mysql_connect () and mysql_pconnect are not recognized ! Pls help.

2001-08-30 Thread root
Hi, I'm running mysql MAX 3.23.41 on LinuxPPC, everything was installed from an RPM. My problem is whenever I try to call mysql_connect (), from a php3 script, I got the error function not found or misconfigured The script is a simple form, that passes the data to be added to an empty d

mysql_pconnect vs mysql_connect

2001-02-15 Thread Chana Black
apache processes. Right now, using mysql_connect, there can be anywhere from 0-10 connections at a given time. If we'd use mysql_pconnect, the number would increase drastically, but it may also decrease the time it takes for a page to load. What is your opinion on this? Is it worth incre

RE: [PHP-DEV] RE: mysql_pconnect still broken (was: RE: What does this mean ?)

2001-01-17 Thread Maciek Uhlig
y 17, 2001 12:48 AM > To: Steven Roussey > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Mysql > Subject: Re: [PHP-DEV] RE: mysql_pconnect still broken (was: RE: > What does this mean ?) > > > Yep, you're right. Fixed. > > Thanks, > > Zeev > >

Re: [PHP-DEV] RE: mysql_pconnect still broken (was: RE: What does this mean ?)

2001-01-17 Thread Andi Gutmans
Looks like this was my bad :) Sorry, Andi At 01:47 AM 1/17/2001 +0200, Zeev Suraski wrote: >Yep, you're right. Fixed. > >Thanks, > >Zeev > >At 23:24 16/1/2001, Steven Roussey wrote: >> > OK. Look at a quick report. I've just installed php4-200101152345. It runs >> > with mysql-3.23.27-beta. Apac

Re: [PHP-DEV] RE: mysql_pconnect still broken (was: RE: What does this mean ?)

2001-01-16 Thread Zeev Suraski
Yep, you're right. Fixed. Thanks, Zeev At 23:24 16/1/2001, Steven Roussey wrote: > > OK. Look at a quick report. I've just installed php4-200101152345. It runs > > with mysql-3.23.27-beta. Apache 1.3.12, Solaris 2.6 (local host) and 2.4 > > (remote connection). > > > > What I can see is: the o

RE: mysql_pconnect still broken (was: RE: What does this mean ?)

2001-01-16 Thread Steven Roussey
> OK. Look at a quick report. I've just installed php4-200101152345. It runs > with mysql-3.23.27-beta. Apache 1.3.12, Solaris 2.6 (local host) and 2.4 > (remote connection). > > What I can see is: the offending messages didn't vanish at all (both hosts > are involved): > So, I think it's not fixe

mysql_pconnect still broken (was: RE: What does this mean ?)

2001-01-16 Thread Maciek Uhlig
OK. Look at a quick report. I've just installed php4-200101152345. It runs with mysql-3.23.27-beta. Apache 1.3.12, Solaris 2.6 (local host) and 2.4 (remote connection). What I can see is: the offending messages didn't vanish at all (both hosts are involved): 010116 20:52:30 Aborted connection 3