1.Connections could not be acquired from the underlying database!
2.The error may exist in file [/root/apache-tomcat-8.5.45/webapps/o2o/WEB-INF/classes/mapper/ShopDao.xml]
### The error may involve com.imooc.o2o.dao.ShopDao.queryShopList
### The error occurred while executing a query
3.rg.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!] with root cause
日志中报错了,最后面的错误这该怎么解决,其中Unknown database 'o2o'这个我是比较不理解的,在课程中我也有点不明白:当项目放到服务器上的时候,自己本地的数据库里面的数据和服务器上的数据两者是怎么关联起来的?我没有在服务器上的数据库导入数据,数据又是怎么在服务器上显示呢?