From: Dan Nelson Date: November 25 2002 8:46pm Subject: Re: Need to force Mysql to use port, NOT socket List-Archive: http://lists.mysql.com/mysql/125774 Message-Id: <20021125204625.GE44715@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In the last episode (Nov 25), twig les said: > Hey all, I'm having a painful time trying to get stunnel and mysql to > play together. My mysql works fine locally and remotely until I add > stunnel. After chasing my tail for a week (and drinking a lot on the > weekend) I realized that Mysql is trying to open a socket on the > server machine instead of using the TCP port like stunnel needs it > to. Is there a way to force Mysql to use the TCP port and not the > socket? Try -h 127.0.0.1, or -h . Don't use -h localhost, because that means "use the socket". -- Dan Nelson dnelson@stripped