亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

github數據庫連接

github數據庫連接

ITMISS 2018-09-08 19:57:48
我從github上拉取的項目,無法連接數據庫,我看項目配置的數據庫連接是localhost的,那么我是要自己在本地創建數據庫嗎,如果這樣的話那數據庫里面的表信息在哪里啊,第一次用github拉項目,萌新求教、部分錯誤信息com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failureThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.拉的項目的數據庫配置spring.datasource.url=jdbc:mysql://localhost:3306/seckill?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=falsespring.datasource.username=root spring.datasource.password=12345678拉的項目地址https://github.com/zaiyunduan...
查看完整描述

1 回答

?
拉丁的傳說

TA貢獻1789條經驗 獲得超8個贊

如果你要在你本地運行,那你本地必須要有數據庫咯。如果要連遠程的話把配置文件連接信息改成遠程地址就OK了

查看完整回答
反對 回復 2018-09-09
  • 1 回答
  • 0 關注
  • 1091 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號