connecting with mysql to compare data in caris db