Re: [PHP-DEV] Mysql socket

2005-06-08 Thread Ilia Alshanetsky
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 s

Re: [PHP-DEV] Mysql socket

2005-06-08 Thread D. Walsh
On Jun 08, 2005, at 11:06 AM, PAGES Vincent wrote: Hi, I hope i'm writing in the good mailing list... Since one year, i'm working on loadbalancing solution for webservers (usually Apache 2). Behind a cluster of http servers, we can find a mysql cluster. Generally ppl are using the mysql_c

Re: [PHP-DEV] Mysql socket

2005-06-08 Thread Leonardo Pedretti
Note that the system administrator may be a company that offers web hosting solutions, it's really not practical, nor ethically correct to make a change that forces every customer to change their scripts and systems so they begin working again. I have seen several times that people like me, that

Re: [PHP-DEV] Mysql socket

2005-06-08 Thread PAGES Vincent
If only it were so easier... Unfortunately, last month we moved 600 websites on a unique server to a solution based on loadbalancing (LVS, 2 dedicated servers with apache only and a mysql cluster). The developpers who generally works on ather server which use "localhost" as the hostname, did no

Re: [PHP-DEV] Mysql socket

2005-06-08 Thread Ilia Alshanetsky
Why not simply instruct your developers to use the proper host name in the first place? Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Mysql socket

2005-06-08 Thread PAGES Vincent
Hi, I hope i'm writing in the good mailing list... Since one year, i'm working on loadbalancing solution for webservers (usually Apache 2). Behind a cluster of http servers, we can find a mysql cluster. Generally ppl are using the mysql_connect with the hostname = "localhost". When i suggest