MySQL C API: Need example for initiating DB on *Embedded* mode
问题 I work on a C tool, in which I need to manipulate and query process-internal data intensively. Hence, I've decided to use the MySQL C API on Embedded mode, so I can have an embedded DB for each running process of my tool, and use all the SQL features on it. All the MySQL C API tutorials I've found over the web, deal with connecting to a running server, which is not my case. There are some examples for working with Embedded mode in Oracle's MySQL website, but they are not simple, and it's hard