Re: Mysql socket
| From: | Ilia Alshanetsky | Date: | Thu, 09 Jun 2005 01:15:58 +0000 |
| Subject: | Re: Mysql socket | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16571@lists.php.net to get a copy of this message | ||
Well, there is an alternative to telling users to change their, code you can force them to :-)
PHP allows setting of default connection parameters for mysql_connect() via INI settings and subsequently disabling (turn on SQL safe mode) the ability to specify them directly.
The ext/MySQL ini settings can be set a per-virtual host basis, so there is no issue of connection conflicts.
Ilia