Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-31-2006, 08:45 AM   #1
Registered: Dec 2005
Posts: 47

Rep: Reputation: 16
Strange problem - mysql not working through ssh tunnel

Please bear with me as I try to explain the problem - it is very strange and hard for me to explain.

I've been using an ssh tunnel on Putty to access a remote mysql server with various software for some time now. Everything worked fine (allbeit painfully slowly for some unexplained reason) until recently.

The only thing I can think of that has changed is the MySQL version. An upgrade from 5.0.17 to 5.0.18 (and now to 5.0.19). And standard system upgrades.

The truely bizzar thing is that the firewall (iptables) seems to affect the problem. (of course ssh is enabled in the firewall.)

With the firewall enabled, when trying to connect to the mysql server, it just hangs. When the firewall is disabled I get an "access denied" error. Of course the credentails are correct since I can use them to connect to mysql on ssh.

How the firewall has any affect - is beyond my comprehension right now (since it allows connection to ssh with no problem).

Please help me and stop me pulling my hair out.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH TUNNEL PROBLEM(putty to OpenSSH) Le Hara Linux - Security 3 03-26-2006 10:34 PM
Problem setup SSH tunnel over multiple servers dussel Linux - Networking 5 07-29-2005 08:51 AM
SSH tunnel problem jackster Linux - Security 1 02-16-2005 10:46 PM
Strange ssh problem Inexactitude *BSD 2 04-05-2004 01:37 PM
SSH Tunnel not working... "Administratively Probihited..." nsanity Linux - Networking 3 01-03-2004 01:25 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration