CHAPTER 6

image

Turning Your Raspberry Pi into a Database Server

Now that you know what sensor networks are and even how to build sensor nodes using an Arduino and a Raspberry Pi, it’s time to do something really cool with your Raspberry Pi. The last chapter discussed the various ways you can store data from your sensors. One of the most reliable and the most versatile is storing your sensor data in a database. This chapter explores using a Raspberry Pi as a database server.

You begin with a short introduction to MySQL and then jump in to getting MySQL up and running on a Raspberry Pi.1 If you have experience with installing and using MySQL, you may ...

Get Beginning Sensor Networks with Arduino and Raspberry Pi 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.