Building Embedded Server Programs

If you followed the example given today and successfully built and ran the program, you have created a standalone application with an entire MySQL database server inside it.

Combining this with a knowledge of C, you should now be able to build your own embedded applications. Although the example given was carried out on a Linux platform, the principle is the same for compiling on Windows or any other OS.

There is room in this book for only a practical introduction to this subject. If you want to build serious applications, study the MySQL Technical Reference for more details on the behavior of the C API and its function calls.

Get Sams Teach Yourself MySQL in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.