used to store tsar data to mysql