-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mahesh rai wrote:
Hi,
  we are developing an application in java that needs to have an embedded database so 
that we needn't install the database on the client machine. Is it possible to achieve 
this using mysql. I read that mysql 4.0 supports embedded database, but I find that 
embedded MySQL server library is only for C developers.

please help
thanks
rai

It is not currently planned to support 'libmysqld' from Java via the JDBC driver, as it is not technically feasible at this point in time due to threading and data conversion issues. This doesn't mean that you can't 'embed' MySQL through Java, though. There are plenty of users who do this by controlling the regular 'mysqld' through Runtime.exec() calls. 'mysqld' has enough command-line options that make it fully configurable, and controllable using plain command-line calls through Runtime.exec(). Connector/J 3.1.x will ship with utility classes to help with this (they are already included in the nightly snapshots from http://mmmysql.sourceforge.net/snapshots/dev/)


-Mark

- -- MySQL 2003 Users Conference -> http://www.mysql.com/events/uc2003/

For technical support contracts, visit https://order.mysql.com/?ref=mmma

    __  ___     ___ ____  __
   /  |/  /_ __/ __/ __ \/ /  Mark Matthews <[EMAIL PROTECTED]>
  / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer - JDBC/Java
 /_/  /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA
        <___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.1.90 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+Yr8ktvXNTca6JD8RAhD9AJ9YTFw19RTXwZa2xnvku4RvpQj5hgCdHT/W
/fZrYX1vcn8z/ONCkaU6qv0=
=URTk
-----END PGP SIGNATURE-----


--------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



Reply via email to