Re: Embed MySQL into c# .Net application
Posted by: Jimmy Tjendra
Date: March 12, 2008 09:27PM

@Marko Simic

I've success to manage my app(vb.net+connector 5.2.1) to use mysql on a stand-alone environment (flashdisk/portable hdd) without needed to install mysql server. But this is "not embed". Just a little trick to manipulate mysql startup.

This is how i do:
1. put a function to modify my.ini/my.cnf to adjust the basedir and datadir value based your application.startuppath on your app startup event.
2. then launch the mysql engine directly from your app.
3. load the main form as normal.

In this case (portable application) not recomended to use other storage than MyISAM.

hope this can help ^^

Thanks..

Options: ReplyQuote


Subject
Written By
Posted
Re: Embed MySQL into c# .Net application
March 12, 2008 09:27PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.