Re: MXJ connector shutdown
Eric Herman <[email protected]> Mon, 21 Dec 2009 09:19:37 +0100
| Newsgroups | gmane.comp.db.mysql.java |
|---|---|
| Message-ID | <[email protected]> |
Hello Sebastian, Sebastian Haug wrote: > Hi, > I am trying to set up my application to use the "embedded" MySQL Server with > the MXJ connector. > The "Running as part of the JDBC Driver" way appeals to me. It works fine to > set it up and connect as described in the documentation: > http://dev.mysql.com/doc/refman/5.0/en/connector-mxj-configuration-driver-la > unched.html > > The problem ist the shutdown. I want the mysqld thread to shutdown with my > application. But I see no way to tell the MXJ connector to do this. It keeps > running after my application shuts down. Are you including a call to: ServerLauncherSocketFactory.shutdown(databaseDir, null); at the shutdown of your application? Cheers, -Eric > Any tips appretiated. > > Regards, > Sebastian > > -- Eric Herman, Software Developer Sun MySQL www.mysql.com Mobile: +31 62 071 9662 -- MySQL Java Mailing List For list archives: http://lists.mysql.com/java To unsubscribe: http://lists.mysql.com/[email protected]