MySQL for the Internet of Things

(Steven Felgate) #1

Chapter 6 ■ Building low-Cost MysQl data nodes


As I mentioned, the current version of Connector/Python is 2.1.3, but most versions 2.0 or later
should be fine for your solutions. The newest releases add high availability features for use with the
enterprise-level high availability solution named MySQL Fabric. Any release of 2.0 or 2.1 will be fine for use
with IOT solutions.


■Tip see the online reference manual for specific notes about installing on some platforms


(http://dev.mysql.com/doc/connector-python/en/connector-python-installation.html).


Installing on Low-Cost Platforms


Installing Connector/Python on the smaller platforms is a bit more involved but not overly so. In short, you
install Connector/Python by using the packaging mechanism for the platform (apt-get, opkg, and so on).
The following shows how to install Connector/Python on the Raspberry Pi using Raspbian Jessie. Other
platforms are similar.


Figure 6-18. Connector/Python download page

Free download pdf