运行程序时报错:(Navicat.exe启动借鉴手机百度-百度经验@RSY_SXY《mysql如何启动》)
HTTP Status 500 - Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Communications link failure
出现这种错误后,检查navicat.exe
说明没有启动MYSQL,需要手动启动
1、快捷键win+R,再输入services.msc,点击确定
2、找到MYSQL,单击右键,点击启动
3,启动后页面
启动后Navicat.exe