原來如此,我以為只需要安裝mysqlworkbench。后來才知道mysql服務器沒有圖形界面,workbench可以用來充當圖形界面進行mysql管理操作,sql導入成功了。后來tomcat7:run的時候踩了個坑,就是tomcal插件使用2.2版本會一直報錯:提示和prefix前綴有關的,后來改成2.1版本run成功了,Build order 1.0出來了,但輸入localhost:8071進行訪問,返回了下面這個錯誤:
HTTP Status 500 - org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
2018-07-25
原來如此,我以為只需要安裝mysqlworkbench。后來才知道mysql服務器沒有圖形界面,workbench可以用來充當圖形界面進行mysql管理操作,sql導入成功了。后來tomcat7:run的時候踩了個坑,就是tomcal插件使用2.2版本會一直報錯:提示和prefix前綴有關的,后來改成2.1版本run成功了,Build order 1.0出來了,但輸入localhost:8071進行訪問,返回了下面這個錯誤:
HTTP Status 500 - org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
2018-07-25
你的編寫源代碼的機器安裝mysql,然后更新IP、端口、用戶名和密碼
2018-07-25
我直接只裝了mysqlworkbench,沒抓mysql,嘗試導入sql文件,沒能成功
2018-07-24
我的理解是:跟應用程序同樣部署在某linux機器上的數據庫? 端口3306? ?所以地址就是該機器ip:port