fixed mysql for add session