From: Warren Young Date: October 16 2008 10:39pm Subject: Re: problem with query (execute) timeout option List-Archive: http://lists.mysql.com/plusplus/8055 Message-Id: <48F7C2B9.1020902@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Seth Linden wrote: > > Error: Can't connect to local MySQL server through socket > '/var/run/mysqld/mysql.sock' I'm guessing that by trying to set an option that only works for TCP sockets, you're confusing the C API, since you're apparently not connecting to the DB server over TCP.