List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:November 25 2002 8:46pm
Subject:Re: Need to force Mysql to use port, NOT socket
View as plain text  
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 <hostname>.  Don't use -h localhost, because
that means "use the socket".

-- 
	Dan Nelson
	dnelson@stripped
Thread
Need to force Mysql to use port, NOT sockettwig les25 Nov
  • Re: Need to force Mysql to use port, NOT socketDan Nelson25 Nov
    • Re: Need to force Mysql to use port, NOT sockettwig les25 Nov
    • Connecting via 127.0.0.1 (was Need to force Mysql to use port, NOT socket)twig les26 Nov
      • Re: Connecting via 127.0.0.1 (was Need to force Mysql to use port, NOT socket)Dan Nelson26 Nov