Re: [PHP General] RE: Problems with MySQL-Link [3:14370:14592]
| From: | Berthold | Date: | Thu, 31 Jan 2002 08:20:36 +0000 |
| Subject: | Re: [PHP General] RE: Problems with MySQL-Link [3:14370:14592] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82887@lists.php.net to get a copy of this message | ||
So,
I've testet all possible I found in my brain...
CGI or Apache module: same error
mysql_connect or mysql_pconnect: same error
Variing settings in php.ini: same error
How can I solve that problem?
BTW: Here I describe it again:
Connecting to a database works well: ok
Working with that database: ok
Using the additional $link-Parameter: false
Not a valid resource id ...
And it does not matter how many different links with different servers I use! The resource-id is always '1'.
Strange...
Metin Arman wrote:
http://www.zend.com/phorum//read.php?num=3&id=14592&thread=14370 Sorry, Berthold! I can't think of anything else either. And now, I saw also in your "phpinfo"-page that you are running Php in CGI mode. And that explains that "mysql.allow_persistent" shows "Off". When Php is running in CGI mode - persistent connections are not possible. Anyhow, tell me if you solve your problem! It's interesting what causes it. Regards Metin-- Berthold