Can Arduino Yun connect to MYSQL on External Server and store sensor data on it. If yes how?.
Asked
Active
Viewed 1,214 times
0
-
1Unfamiliar with arduino but I understand the arduino-yun has ethernet and wifi to connect to a LAN and python to program it? Python can connect to a MySQL database on another computer so yes that should be possible then. – asontu Oct 28 '14 at 08:23
1 Answers
0
Technically you can.
You could write or port a mysql driver to the Arduino, but the small amount of memory and process power will make that no very easy.
With the Yún you could also install some libraries and program an app running on the linux side that forwards incoming data from the serial to your mysql database.
An other option:
- Use an intermediary app to save incoming data to your database. The interface could be a typical HTTP API or via a publish/subscribe broker.
For simplicity I would recommend to go for option three.

256dpi
- 111
- 2