PHP 4.0 Bug #4223 Updated: PHP calls MySQL with apache user instead of connected user
| From: | Bug Database | Date: | Sun, 30 Jul 2000 15:07:23 +0000 |
| Subject: | PHP 4.0 Bug #4223 Updated: PHP calls MySQL with apache user instead of connected user | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-26962@lists.php.net to get a copy of this message | ||
ID: 4223
Updated by: zak
Reported By: louis@sitebysite.nl
Status: Open
Bug Type: MySQL related
Assigned To:
Comments:
User response:
"As far as I can gather it has something to do with the
wait_timeout of MySQL. This was set pretty low. I think
the persistent connections outlived the connections on the
database side during quiet periods. The error doesn't
seem to appear if I up this timeout or bring down the
life span of the apache child processes. Is there a
way to set a timeout on the persistent connections
on the php side? That would enable one to match it
against the MySQL timeout and make sure it never happens."
Full Bug description available at: http://bugs.php.net/?id=4223