mysql deployment - fixed problem with exchange rates and first time visit in an empty database