Github database connection

the project I pulled from github cannot connect to the database. I see that the database connection configured by the project is localhost, so do I want to create the database locally? if so, where is the table information in the database? using github to pull the project for the first time, Mengxin asks for advice

some error messages

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.

Database configuration of the project pulled

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

La"s project address
https://github.com/zaiyunduan.

May.11,2021

if you want to run locally, you must have a database locally. OK if you want to connect remotely, change the profile connection information to the remote address

Menu