課程
/后端開發
/Java
/2小時學會Spring Boot
我的日志軟件不報錯,但是就是連不上數據庫是什么問題
2018-06-07
源自:2小時學會Spring Boot 3-1
正在回答
MySQL6.0版本:dataSource.setDriverClassName("com.mysql.cj.jdbc.Driver");
? ? ? ? ? ? ?dataSource.setUrl("jdbc:mysql://localhost:3306/spring?serverTimezone=UTC");
? ? ? ? ? ? ?dataSource.setUsername("root");
? ? ? ? ? ? ?dataSource.setPassword("");
試試
數據庫是不是沒開
舉報
Spring Boot入門視頻教程,你將學會使用Spring Boot快速構建應用程序
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2018-06-12
MySQL6.0版本:dataSource.setDriverClassName("com.mysql.cj.jdbc.Driver");
? ? ? ? ? ? ?dataSource.setUrl("jdbc:mysql://localhost:3306/spring?serverTimezone=UTC");
? ? ? ? ? ? ?dataSource.setUsername("root");
? ? ? ? ? ? ?dataSource.setPassword("");
試試
2018-06-09
數據庫是不是沒開