| View previous topic :: View next topic |
| Author |
Message |
Paul Battersby Guest
|
Posted: Tue May 03, 2005 4:27 am Post subject: mysql and named pipes |
|
|
I'm using Win2000 and I want to use named pipes instead of a TCP/IP
connection to MySql.
I'm using the following connection string:
jdbc:mysql://localhost/?enable-named-
pipe&socket=MySQL&socketFactory=com.mysql.jdbc.NamedPipeSocketFactory
And I get the following error:
java.io.FileNotFoundException: \.pipeMySQL (The system cannot find the
file specified)
Any idea what I'm doing wrong?
|
|
| Back to top |
|
 |
Mark Matthews Guest
|
Posted: Tue May 03, 2005 4:00 pm Post subject: Re: mysql and named pipes |
|
|
Paul Battersby wrote:
| Quote: | I'm using Win2000 and I want to use named pipes instead of a TCP/IP
connection to MySql.
I'm using the following connection string:
jdbc:mysql://localhost/?enable-named-
pipe&socket=MySQL&socketFactory=com.mysql.jdbc.NamedPipeSocketFactory
And I get the following error:
java.io.FileNotFoundException: \.pipeMySQL (The system cannot find the
file specified)
Any idea what I'm doing wrong?
|
Paul,
You need to start the server with --enable-named-pipe.
Regards,
-Mark
--
Mark Matthews
MySQL AB, Software Development Manager - Connectivity
www.mysql.com
|
|
| Back to top |
|
 |
Paul Battersby Guest
|
Posted: Tue May 03, 2005 5:51 pm Post subject: Re: mysql and named pipes |
|
|
"Mark Matthews" <mark (AT) mysql (DOT) com> wrote
| Quote: | You need to start the server with --enable-named-pipe.
|
When I open up MySql Administrator, under Service Control/Configure
Service/Server Features the "named pipes" option is checked (mysql has been
started and stopped many times since this was first set) .
I looked in the my.ini file and saw no mention of named pipes so I added the
line.
enable-named-pipe
and now it works.
Thanks.
|
|
| Back to top |
|
 |
|