MySQL Connector/Arduino

Chuck Bell, one of my former colleague from MySQL AB, has created a connector for Arduino to MySQL. So this allows Arduino code to be a direct client of a MySQL or MariaDB server, with Ethernet and WiFi shields supported.

With Arduino boards being used more and more, this can come in really handy – not only for retrieving (for instance) centralised configuration data, but also for logging. Useful stuff. Thanks Chuck!

Links

 Introducing MySQL Connector/Arduino 1.0.0 beta

One thought on “MySQL Connector/Arduino”

  1. Good Evening,
    I downloaded the software you mentioned, I loaded libraries and compiled the sketch hello_mysql_reboot present examples but at compile reports error in how come?
    Thank you.

    Arduino: 1.6.1 (Windows 8.1), Card: “Arduino Uno”

    Using the SPI library folder: D: \ Arduino \ software \ arduino-nightly \ hardware \ arduino \ avr \ libraries \ SPI

    Use the Ethernet library folder: D: \ Arduino \ software \ arduino-nightly \ libraries \ Ethernet

    Using the sha1 library folder: D: \ Arduino \ software \ arduino-nightly \ scketch \ libraries \ sha1 (legacy)

    Using the library mysql_connector folder: D: \ Arduino \ software \ arduino-nightly \ scketch \ libraries \ mysql_connector (legacy)

    D: \ Arduino \ software \ arduino-nightly / hardware / tools / avr / bin / avr-g ++ -c -g -w -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu ATMEGA328P -DF_CPU = = = 10601 16000000L -DARDUINO -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -ID: \ Arduino \ software \ arduino-nightly \ hardware \ arduino \ avr \ cores \ arduino -ID: \ Arduino \ software \ arduino-nightly \ hardware \ Arduino \ avr \ variants \ standard -ID: \ Arduino \ software \ arduino-nightly \ hardware \ arduino \ avr \ libraries \ SPI -ID: \ Arduino \ software \ arduino-nightly \ libraries \ Ethernet \ src -ID: \ Arduino \ software \ arduino-nightly \ scketch \ libraries \ sha1 -ID: \ Arduino \ software \ arduino-nightly \ scketch \ libraries \ mysql_connector C: \ Users \ Louis \ AppData \ Local \ Temp \ build9215590842799408408.tmp \ hello_mysql_reboot.cpp -o C: \ Users \ Louis \ AppData \ Local \ Temp \ build9215590842799408408.tmp \ hello_mysql_reboot.cpp.o

    hello_mysql_reboot.ino: In function ‘void loop ()':

    hello_mysql_reboot.ino: 47: 13: error: ‘Connector class’ has no member named ‘show_results’

    Error compiling

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>