Thanks!
I also started with a JNI interface,
even managed to start a server
but it crashes almost immediately
(after a couple of seconds).
I guess it's a thread related problem,
but I'm not willing or able to debug into
the mysql code.
-- Peter
> -----Original Message-----
> From: Mark Robson [mailto:slarty2@stripped]
> Sent: Montag, 20. Januar 2003 11:10
> To: Peter Schäfer; java@stripped
> Subject: Re: JDBC Interface for Embedded Server ?
>
>
> On Monday 20 January 2003 8:07 am, Peter Schäfer wrote:
> > Hello there,
> >
> > Are there any plans to write a JDBC interface to the mysql embedded
> > library (libmysqld) ?
>
> I started a project to do just that. Essentially it used JNI
> to interface the
> C library, enabling it to connect to an embedded server (and
> also in theory
> improve performance when connecting to a non-embedded one)
>
> Nigel Wetters also attempted to do the same thing, and we
> were exchanging
> some ideas and even started a Sourceforge project
> (http://sourceforge.net/projects/java2mysql)
>
> However, neither of us got very far.
>
> My driver can be found here or somewhere
>
> http://homepage.ntlworld.com/slarty2/myjdbc.html
>
> It should be noted that in its present form, selects cannot
> be done (which
> limits the usefulness somewhat) (and it only supports latin1 encoding)
>
> There was also some suggestions to build some kind of add-on for Mark
> Matthews' driver, but looking at the source code rapidly gave
> us the idea
> that that would be awkward.
>
> I haven't actually tried to use embedded mysql with this
> driver, but I
> imagine the modifications required would be minimal.
>
> Regards
> Mark
>