added mysql escape sequence for reserved symbols