我从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...
添加回答
举报
0/150
提交
取消