6 messages in com.mysql.lists.javaConnectorJ 3.0 & unix sockets
FromSent OnAttachments
Michael McTernan20 Jan 2004 08:46 
Mark Matthews20 Jan 2004 09:10 
Morten Norby Larsen20 Jan 2004 09:59 
Stefan Praszalowicz20 Jan 2004 10:16 
Michael McTernan20 Jan 2004 12:26 
"Schäfer, Peter"21 Jan 2004 00:25 
Subject:ConnectorJ 3.0 & unix sockets
From:Michael McTernan (Mich@ttpcom.com)
Date:01/20/2004 08:46:27 AM
List:com.mysql.lists.java

Hi there,

I've got Tomcat and MySQL on the same box and want them to talk using Unix sockets to save a bit of TCP/IP overhead.

The docs say that this is not possible:

"MySQL Connector/J must use TCP/IP sockets to connect to MySQL, as Java does not support Unix Domain Sockets. Therefore, when MySQL Connector/J connects to MySQL, the security manager in MySQL server will use its grant tables to determine whether or not the connection should be allowed."

I can see that that allows a pure Java implementation, but does anyone know if support for Unix domain sockets is planned at all?

Thanks,

Mike