AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mysql and named pipes

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
Paul Battersby
Guest





PostPosted: Tue May 03, 2005 4:27 am    Post subject: mysql and named pipes Reply with 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?


Back to top
Mark Matthews
Guest





PostPosted: Tue May 03, 2005 4:00 pm    Post subject: Re: mysql and named pipes Reply with quote



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





PostPosted: Tue May 03, 2005 5:51 pm    Post subject: Re: mysql and named pipes Reply with quote



"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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.