permaculture playing cards
The moose likes JDBC and Relational Databases and the fly likes MySql server - reg Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "MySql server - reg" Watch "MySql server - reg" New topic

MySql server - reg

Vanchi Nathan
Ranch Hand

Joined: Feb 24, 2004
Posts: 107
Hello there!
I have just installed MySql 4.0.18 version and able to launch the server and access the database.<p>The question is, Is it possible to access or use MySql as an embedded database rather than using it as a separate server?</p><p>Thanks in advance... </p>

Best regards,<br /> <br />vanchin
Mike Southgate
Ranch Hand

Joined: Jul 18, 2003
Posts: 183
I have read that it's possible, but as I'm very new to MySQL I don't know how yet. I know this doesn't really help much...

ms<br />SCJP, SCJD
Vanchi Nathan
Ranch Hand

Joined: Feb 24, 2004
Posts: 107
Thanks Mike
Vanchi Nathan
Ranch Hand

Joined: Feb 24, 2004
Posts: 107
Can anyone help me!
What should be the URL for making an Java application to access an MySql database?
Joe Ess

Joined: Oct 29, 2001
Posts: 9188

MySQL has some excellent documentation. It clearly states that the embedded server is available in C/C++ only. If you must use the embedded server, you could probably work it with JNI. Be advised that the embedded server is GPL licensed:

The MySQL source code is covered by the GNU GPL license (see section G GNU General Public License). One result of this is that any program which includes, by linking with libmysqld, the MySQL source code must be released as free software (under a license compatible with the GPL).

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: MySql server - reg
It's not a secret anymore!