In this episode I figured out that the problem is not stunnel or the remote connection. I simply cant log in with the command:
mysql -u root -h 127.0.0.1 -p I just get a connection refused message. There should be a trick here that I'm missing if history is a lesson, but I'm a noob to mysql. Anyone know it? I can't use my other mere mortal account to log in either although both work fine if I say: mysql -u root -h localhost -p --- Dan Nelson <[EMAIL PROTECTED]> wrote: > 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 > [EMAIL PROTECTED] ===== ----------------------------------------------------------- If you give a man a fish, he can eat for a day If you bludgeon him to death, you can eat the fish yourself ----------------------------------------------------------- __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php