read database from arduino

Hello everyone! I would like to make that arduino can read data resent within a database of xampp , and if , for example, status = 1 , you must turn on the LEDs , are otherwise if different from 1 , must be off.

Currently I have a web server that allows me to do this , but I wish it did through a mysql database as described above .

I have tried many sketches , but do not work , and I have no idea how to do .

I installed xampp with mySQL , and I phpmyadmin database . No one knows how to help me to do this?