MySQL Lists are EOL. Please join:

List:MySQL and Java« Previous MessageNext Message »
From:Stas Ostapenko Date:March 2 2006 11:25am
Subject:Re: --skip-networking and JDBC connection
View as plain text  
Hi !
Thanks for help. I got ~50% performance increase in INSERT
requests, very impressive i have to admit. I'm using windows only a
little  - some testing etc. What is the way to do the same on Linux ?

>Java itself doesn't support unix domain sockets -

so, i need to implement it myself with the JNI.
I found probably ready to use solution since there is library for
java to work with unix domain sockets at With the help of this library i
have to implement my own socket factory as it's done in
NamedPipeSocketFactory. It's ok. This scenario must work, but i dont
think that there is no ready to use out from the box one ?

On 2/24/06, Mark Matthews <mark@stripped> wrote:
> Hash: SHA1
> Stas Ostapenko wrote:
> > Hello !
> > Is it possible to connect to mysql through jdbc driver
> > when mysqld started with --skip-networking option ?. For example as here:
> > "C:\Program Files\MySQL\mysql-4.1.13-win32\bin\mysqld-max-nt.exe"
> > --console --port=8888 --skip-networking --enable-named-pipe.
> Stas,
> Java itself doesn't support unix domain sockets, but since you're on
> windows, you can use named pipes, see the end of the following section:
>         -Mark
> Version: GnuPG v1.4.1 (MingW32)
> Comment: Using GnuPG with Mozilla -
> iD8DBQFD/38ztvXNTca6JD8RAiOdAKCeDDq3wMOHdf4dOPBBucYCe8PJxgCgkqRD
> J88gnvEN2jz4VqnFykkPAnY=
> =AkVX
--skip-networking and JDBC connectionStas Ostapenko24 Feb
  • Re: --skip-networking and JDBC connectionMark Matthews24 Feb
Re: --skip-networking and JDBC connectionStas Ostapenko2 Mar