replace . with - in database name