HS_RFID_AUTH is a project mainly written in C++, it's free.
RFID Authentication on MBED via mySQL
This code is meant to be used on the mbed board (www.mbed.org). Libraries included are avaliable in the mbed online compiler.