Comment 2 for bug 241802

Revision history for this message
Derek Price (derek-ximbiot) wrote :

Thanks for the link. I added a comment to the MySQL not-a-bug. I had to agree with one of the previous posters that the current behavior is quite insane.

It does sound like a work-around for at least some clients is to put "protocol=tcp" in the [client] section of my.cnf (I confirmed that this works for mysql & mysql-admin, but the mysql bug mentions that some PHP clients won't notice that). I think it would be much better to push this upstream if the MySQL team regains its senses, but for now, maybe adding that line to the Ubuntu my.cnf would be a good idea? My feeling is that it is better not to cause connection errors and let the performance tuners figure out that they should specify the socket protocol for connections to localhost.