To fetch data as blob from mysql