Commit 10311f60 by lgphone Committed by GitHub

Update .env.example

修复示例配置中MySQL的DSN错误问题
parent 869fe957
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
# 数据库相关配置 # 数据库相关配置
# 数据库连接字符串 # 数据库连接字符串
# SQL_DSN=mysql://user:password@tcp(127.0.0.1:3306)/dbname?parseTime=true # SQL_DSN=user:password@tcp(127.0.0.1:3306)/dbname?parseTime=true
# 日志数据库连接字符串 # 日志数据库连接字符串
# LOG_SQL_DSN=mysql://user:password@tcp(127.0.0.1:3306)/logdb?parseTime=true # LOG_SQL_DSN=user:password@tcp(127.0.0.1:3306)/logdb?parseTime=true
# SQLite数据库路径 # SQLite数据库路径
# SQLITE_PATH=/path/to/sqlite.db # SQLITE_PATH=/path/to/sqlite.db
# 数据库最大空闲连接数 # 数据库最大空闲连接数
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment