What Is an Embedded System?

Until now in this book, we have always treated MySQL as a separate entity from other applications, as a server program that runs independently, and to which other users and applications can connect. You have seen how to connect to a MySQL server through the mysql client and through the PHP, Perl, and C APIs.

MySQL version 4 introduced the capability to link the program code of MySQL into another program. Embedding means that you can put a full-featured MySQL server inside a client application.

If you are a software author writing an application, you can create your application with a MySQL database embedded within it. The client-server paradigm is broken, with application and database becoming a single program.

This ...

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.