Fetching the data from a pv machine and posting into a mysql db.