Jump to content

Embedded mySQL (libmysqld)


Recommended Posts

QUOTE (MJE @ Mar 26 2009, 05:52 AM)

I've considered it, but never tried...I'm curious as well.

The interface is all through a DLL, basically the same as the C connector, with a couple added functions. The fun part will be (as it always is) interfacing LV to the DLL. It's not my favorite things to read through .h files and figure out exactly how they are passing strings into and out of a DLL.

I'll give this a day or two to see if anyone else has something, then I am gonna press forward...

Link to comment

I suppose I lied a bit. I have tried, and went so far as trying to initialize. The problem I found though is that the functions exported to the DLL aren't the same as those that you would call from C++ so I was unsure how to manage the lifetime. For example, there's no mysql_library_init(), but there is a mysql_init() (or something similar)...however calling the later crashes LV quite spectacularly.

The real turn off for me was much the same. I didn't want to wade through the headers to figure out what a MYSQL struct is, for example.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.