在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問(wèn)答/Linux/ github數(shù)據(jù)庫(kù)連接

github數(shù)據(jù)庫(kù)連接

我從github上拉取的項(xiàng)目,無(wú)法連接數(shù)據(jù)庫(kù),我看項(xiàng)目配置的數(shù)據(jù)庫(kù)連接是localhost的,那么我是要自己在本地創(chuàng)建數(shù)據(jù)庫(kù)嗎,如果這樣的話那數(shù)據(jù)庫(kù)里面的表信息在哪里啊,第一次用github拉項(xiàng)目,萌新求教

部分錯(cuò)誤信息

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

拉的項(xiàng)目的數(shù)據(jù)庫(kù)配置

spring.datasource.url=jdbc:mysql://localhost:3306/seckill?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
spring.datasource.username=root
spring.datasource.password=12345678

拉的項(xiàng)目地址
https://github.com/zaiyunduan...

回答
編輯回答
愛(ài)是癌

如果你要在你本地運(yùn)行,那你本地必須要有數(shù)據(jù)庫(kù)咯。如果要連遠(yuǎn)程的話把配置文件連接信息改成遠(yuǎn)程地址就OK了

2018年2月28日 23:03