在计算机的服务里面确定mysql的服务启动。
SqlSession sqlSession = MyBatisUtils.getSqlSession(); sqlSession.close();
3.具体的操作看官网的文档
https://mybatis.org/mybatis-3/zh/index.html
02-mybatis的注意事项
原文:https://www.cnblogs.com/coopermini/p/14907964.html