-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

On 1/22/2010 8:44 AM, Mark Witczak wrote:
> I used: mysql -u foo -p -h test.hostname.com
> 
> Is there a way to force the command to use TCP/IP? is there a parameter
> for networking that I should include in context.xml?

What you did ought to be fine. The MySQL command line client only uses
named pipes (not UNIX domain sockets) for communication when you use
"localhost" (the default hostname) from the command line.

I'm not sure what the problem, but I can tell you what the problem is NOT:

1. You have your mysql-connector.jar file in the right place, otherwise
you'd be getting a different error.

2. Your username/password appear to be correct, otherwise you would have
gotten a different error.

Other than the error you posted, are there other errors in any log
files? Specifically, catalina.out and friends?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktaAHUACgkQ9CaO5/Lv0PDdywCguhM3lilCqCDpDSlmua4U3kQI
R2gAoIniLq9pzlVHO4hv2W8OBd+79tVr
=p84t
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to