On 04/18/2011 10:09 AM, Olaf van der Spek wrote:
> On Mon, Apr 18, 2011 at 7:00 PM, Brian Moon <[email protected]> wrote:
>> PHP is probably using the mysql socket instead of TCP/IP to connect to
>> Drizzle.
> 
> There's a bug in PHP where it'll use the socket for anything on
> localhost instead of just for port 3306.

Actually, this is a "feature" that's implemented down in the MySQL
Client library. :) (we are not a fan of this feature in drizzle land)

To use TCP/IP on localhost, explicitly list 127.0.0.1 as the hostname
instead of localhost.

However - you said earlier that you were using libdrizzle to do the
connection. libdrizzle does not have this behavior - are you sure you're
using php-libdrizzle and not the php MySQL module?

Monty

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to