user29224: I'm about to do this project where I will make some lights flash up depending on some values that are in an SQL database on a server. I have already bought my Arduino and waiting for it to arrive. But I've been stuck at how to read the SQL data from the Arduino, connected to ethernet only. 
Is there a library where I can select from the database directly or do I have to make a web service, in which I can make a http request to when needed?
If it's a web service, can I be directed to some examples of this being used with Arduino? I've been looking around the past few days but haven't been able to find a decent example.
Best regards and thanks a lot in advance for your time! :-)

user28569: I would make a small http REST API on your SQL server. The Arduino could use the API to get the data.
The API can easily be done in php, ruby or whatever.

29224: <p>I'm about to do this project where I will make some lights flash up depending on some values that are in an SQL database on a server. I have already bought my Arduino and waiting for it to arrive. But I've been stuck at how to read the SQL data from the Arduino, connected to ethernet only. </p>

<p>Is there a library where I can select from the database directly or do I have to make a web service, in which I can make a http request to when needed?</p>

<p>If it's a web service, can I be directed to some examples of this being used with Arduino? I've been looking around the past few days but haven't been able to find a decent example.</p>

<p>Best regards and thanks a lot in advance for your time! :-)</p>
 28569: <p>I would make a small http REST API on your SQL server. The Arduino could use the API to get the data.
The API can easily be done in php, ruby or whatever.</p>
