Hi all,
With older mysql extension, when I wanted to connect to localhost, I was using host = localhost connect_type = tcp
and it made a socket connection. That's why the "tcp" default worked most of the time.
Now with mysqli, it no longer works: I have to tell "socket" in connect_type.
Please confirm this behavior.
Also, looking at the php manual for both mysql and mysqli, I wonder if we should keep the connect_type parameter.
Marc
Hi, Could mysqli users confirm the behavior I mention? I think this should be cleared up before 2.6.0-rc1.
Thanks,
Marc
Marc Delisle wrote:
Hi all,
With older mysql extension, when I wanted to connect to localhost, I was using host = localhost connect_type = tcp
and it made a socket connection. That's why the "tcp" default worked most of the time.
Now with mysqli, it no longer works: I have to tell "socket" in connect_type.
Please confirm this behavior.
Also, looking at the php manual for both mysql and mysqli, I wonder if we should keep the connect_type parameter.
Marc