Advertisement

Converting to Embedded MySQL

Started by November 13, 2005 05:12 PM
0 comments, last by hplus0603 19 years, 3 months ago
I have an instance of MySQL running, which I access from a java program I wrote using JDBC. Now I'd like to convert to an embedded version of MySQL so I can package it with the java app and easily install and run on other systems. The reference manual mentions the embedded verison, and says you just call a few extra functions to make it work. I'm confused by this, since I only use JDBC calls currently to access MySQL. (I install the MySQL server as a Windows service, and then install the JDBC driver.) Can I embed MySQL in a java app and access it with JDBC calls? If so, how do I configure MySQL and the JDBC driver to do this?
This is a MySQL and Java question, not really a networking or multiplayer question. I think that some database questions fit in this forum, but questions about "how to build with API X" really don't fit that well.

This is the first hit on Google when searching for 'embedded mysql for java' and might be of some help for you. I wonder why that didn't show up when you searched?
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement