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
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
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
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
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
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
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
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
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
[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
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
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
12 matches
Mail list logo