数据库信息

main
王宇航 2024-05-13 10:03:51 +08:00
parent 23b0739f81
commit 35dbee0168
2 changed files with 3 additions and 12 deletions

View File

@ -6,11 +6,11 @@ like:
spring:
# 数据源配置
datasource:
url: jdbc:mysql://localhost:3306/【库名称】?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
url: jdbc:mysql://139.224.213.131:3306/surprise?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
type: com.zaxxer.hikari.HikariDataSource # 数据源类型
driver-class-name: com.mysql.jdbc.Driver # MySql的驱动
username: root # 数据库账号
password: root # 数据库密码
password: 4e14b5378637d9c7 # 数据库密码
# Redis配置
redis:
host: localhost # Redis服务地址

View File

@ -1,10 +1 @@
Spring Boot Version: ${spring-boot.version}
///////////////////////////////////////////////////////
// _ _ _ _ _ _ //
// | | (_) | __ / \ __| |_ __ ___ (_)_ __ //
// | | | | |/ / / _ \ / _` | '_ ` _ \| | '_ \ //
// | |___| | < / ___ \ (_| | | | | | | | | | | //
// |_____|_|_|\_\/_/ \_\__,_|_| |_| |_|_|_| |_| //
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
// 佛祖保佑 永不宕机 永无BUG //
//////////////////////////////////////////////////////
Spring Boot Version: ${spring-boot.version}