adding serial reader with mysql