Chapter 5Connecting from Code
It’s more common for users to work with data stored in a database through an application’s display than to directly send queries to the server using a command-line client. Although any specific details depend on the nature and purpose of each application, generally speaking the program provides an interface to accept input and display data, and some internal process to formulate queries and communicate with the database management system. Users may not even be aware their data is stored in a database behind all of that. In this chapter, we’ll discuss the basics of communicating with MySQL from programming code.
There are many programming languages to choose from—even if we restrict ourselves to the most popular ones. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access