MySQL Persistent-Links in SafeMode PHP4.1.1 on Linux
| From: | Oliver Welter | Date: | Thu, 24 Jan 2002 07:00:59 +0000 |
| Subject: | MySQL Persistent-Links in SafeMode PHP4.1.1 on Linux | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16154@lists.php.net to get a copy of this message | ||
Hi Group,
im encountering a problem with safemode and pers. links:
Running unsafe mode everything is fine, when i turn on safemode the call to mysql-db with mysql_pconnect fails with "cant connect to mysql thru socket /tmp/mysql.sock".
This will only hasppend if i use persistent connect - normal connects work fine.
I havent found a socket-file in /tmp but in /var/lib/mysql" - so might be thats the prob - but why is it working in unsafe mode then ??
any hints ??
Oli