feat: 连接数据库
This commit is contained in:
15
application.yml
Normal file
15
application.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
# 应用服务 WEB 访问端口
|
||||
server:
|
||||
port: 8080
|
||||
# 应用名称
|
||||
spring:
|
||||
application:
|
||||
name: netstate
|
||||
#数据库配置连接
|
||||
datasource:
|
||||
url: jdbc:mysql://123.60.169.47:33069/netstate?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: "517517."
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
jpa:
|
||||
show-sql: true
|
||||
Reference in New Issue
Block a user