Added live snapshot storing into mySQL