add mysql operation

still has crash bugs