Please help me find a way to do it.
I have looked at the following for sending data Arduino to MySql
But can't seem to find visa-versa.
Please help me find a way to do it.
I have looked at the following for sending data Arduino to MySql
But can't seem to find visa-versa.
There are two things you have to set up for this: 1. Retrieving/parsing websites from your Arduino. 2. Making a dynamic website using PHP (and MySql).
IF your arduino can retrieve webpages, you're halfway there (somewhat). And your project is running out of the scope of this arduino.stackexchange.
Now you're going to have to create a dynamic website. You can let PHP reach for values from your MySql database (you should just use a text file first) and display them on your site (in HTML). Your Arduino can now poll your website, to get the HTML content and parse it to the values.
You could develop a REST based service, to make Arduino consume web service using the aRest library.
Following is a tutorial of how to use the aRest API with Arduino: A REST API for Arduino & the CC3000 WiFi Chip.