Re: Tomcat connecting to MySQL - Ubuntu 8.10 Server
- From: Derek Broughton <news@xxxxxxxxxxxxxx>
- Date: Sun, 16 Nov 2008 22:31:38 -0400
Ambrose Krapacs wrote:
PLEASE don't top-post.
Perhaps you are on to something here. Below is the output from 3
attempts to telnet to localhost on port 3306. Something doens't seem
right..
ambrose@ubuntusrvr:~$ telnet localhost 3306
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
=
5.0.67-0ubuntu6pOw,olQ3,FIyF1c!tIO2IConnection closed by foreign
host.
Actually, that looks pretty normal - I don't do MySQL, but many servers
close the port immediately if you don't send a proper packet. In this
case it did _open_ the port, so it's there and accepting connections.
Mysql must have a command line client. Try it.
For instance, in postgres, I'll use:
# psql database -h localhost
for a local tcp-socket connection to "database" - but you definitely need
it to be trying to connect by TCP, not unix sockets.
--
derek
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: Tomcat connecting to MySQL - Ubuntu 8.10 Server
- From: Hal Burgiss
- Re: Tomcat connecting to MySQL - Ubuntu 8.10 Server
- References:
- Tomcat connecting to MySQL - Ubuntu 8.10 Server
- From: Ambrose Krapacs
- Re: Tomcat connecting to MySQL - Ubuntu 8.10 Server
- From: Chris Mohler
- Re: Tomcat connecting to MySQL - Ubuntu 8.10 Server
- From: Ambrose Krapacs
- Tomcat connecting to MySQL - Ubuntu 8.10 Server
- Prev by Date: Re: Tomcat connecting to MySQL - Ubuntu 8.10 Server
- Next by Date: Re: Tomcat connecting to MySQL - Ubuntu 8.10 Server
- Previous by thread: Re: Tomcat connecting to MySQL - Ubuntu 8.10 Server
- Next by thread: Re: Tomcat connecting to MySQL - Ubuntu 8.10 Server
- Index(es):
Relevant Pages
|
Loading