Re: SSH connection from a client machine - localhost works but not 127.0.0.1

2004-08-07 Thread Whil Hentzen
On Monday 02 August 2004 22:34, James Weisensee wrote: > What does your '/etc/hosts' file contain? Sounds like > it may have the following entry: > > 127.0.0.1 localhost.localdomain > > change it to: > > 127.0.01localhost Actually, it has 127.0.0.1 localhost.localdomain localhost

Re: SSH connection from a client machine - localhost works but not 127.0.0.1

2004-08-02 Thread Michael Stassen
From mysql's point of view, localhost and 127.0.0.1 are not the same thing. When you connect with mysql -h localhost -u root -p or simply mysql -u root -p (localhost is the default), you are connecting via unix socket, so the user=root, host=localhost entry is used. When you connect with

Re: SSH connection from a client machine - localhost works but not 127.0.0.1

2004-08-02 Thread James Weisensee
What does your '/etc/hosts' file contain? Sounds like it may have the following entry: 127.0.0.1 localhost.localdomain change it to: 127.0.01localhost or Yes, add 'localhost.localdomain' to mysql.user another option, Why not just SSH to 'daisy' and issue: shell> mysql -u root -p a

SSH connection from a client machine - localhost works but not 127.0.0.1

2004-08-02 Thread Whil Hentzen
Hi folks, Now that I can connect to my MySQL server using the Unix sockets (e.g. [EMAIL PROTECTED] ~] mysql -u root I'm moving on to the next step - connecting via TCP/IP. Since I don't have physical access to the box (well, I'm just too lazy to walk down to the basement), I SSH into the box

Re: SSH Connection

2002-11-11 Thread Michael T. Babcock
Insanely Great wrote: Greetings I am writing a C app wherein I have to connect to MySQL server whcih is on SSH connection. How can I connect to the server using mysql_real_connect () Just use SSH to create a local tunnel then connect to localhost ... -- Michael T. Babcock C.T.O

SSH Connection

2002-11-11 Thread Insanely Great
Greetings I am writing a C app wherein I have to connect to MySQL server whcih is on SSH connection. How can I connect to the server using mysql_real_connect () Any ideas ? Its urgent Rgds insane - Before posting, please

Win32 SSH connection to Linux MySql db

2001-08-06 Thread Dan the man
All, I have read everywhere of people getting this to work in loads of newsgroups, but I can't seem to find the actuall answer! I have downloaded ssh32 and SecureCRT, both apparently can do the job. I have a RedHat 6.2 install and want to talk to MySql (latest version) over MyODBC using SSH

Re: ssh connection between web server and mysql]

2001-04-13 Thread Jeremy Zawodny
On Fri, Apr 13, 2001 at 09:35:38AM +0800, Leon Harris wrote: > > I believe that the session was idle. It also does it when I give the > -2 option to ssh ( ssh2 is supposed to not time out, according to > some usenet posts I have read). The point of the excercise is to > have an encrypted connect

Re: ssh connection between web server and mysql

2001-04-12 Thread Leon Harris
rt=3306 -h 127.0.0.1 -p dbname > > and I get an encrypted connection. ( thats what tcpdump shows me) ! > > Lovely ! > > > > But after a few tens of minutes, no more connection, and mysql times > > out. > > Is the SSH connection idle or active when you see the ti

Re: ssh connection between web server and mysql]

2001-04-12 Thread Leon Harris
[EMAIL PROTECTED] wrote: > Your message cannot be posted because it appears to be either spam or > simply off topic to our filter. To bypass the filter you must include > one of the following words in your message: > > database,sql,query > > If you just reply to this message, and include

Re: ssh connection between web server and mysql]

2001-04-12 Thread Jeremy Zawodny
ows me) ! > Lovely ! > > But after a few tens of minutes, no more connection, and mysql times > out. Is the SSH connection idle or active when you see the timeouts? (I've had this working between a Linux master and FreeBSD slave before.) Jeremy -- Jeremy D. Zawodny, <[EMAIL PROTE

ssh connection between web server and mysql]

2001-04-11 Thread Leon Harris
Hi all. I have had a real nightmare with mysql and ssh, trying to get a tunnel going. I also have had similar probs with stunnel, but that is another post. I am running OpenSSH_2.5.2p2, SSH protocols 1.5/2.0, OpenSSL 0x0090581f as the ssh client on the web server and sshd version OpenSSH_2.5.1p