添加 mssql 支持

This commit is contained in:
bjdgyc
2024-10-30 16:02:54 +08:00
parent 5826ebe6eb
commit 152b62ac90
4 changed files with 34 additions and 8 deletions

View File

@@ -160,11 +160,12 @@ sudo ./anylink
>
> 数据库表结构自动生成,无需手动导入(请赋予 DDL 权限)
| db_type | db_source |
|----------|----------------------------------------------------------------|
| sqlite3 | ./conf/anylink.db |
| mysql | user:password@tcp(127.0.0.1:3306)/anylink?charset=utf8 |
| postgres | postgres://user:password@localhost/anylink?sslmode=verify-full |
| db_type | db_source |
|----------|----------------------------------------------------------------------------|
| sqlite3 | ./conf/anylink.db |
| mysql | user:password@tcp(127.0.0.1:3306)/anylink?charset=utf8 |
| postgres | postgres://user:password@localhost/anylink?sslmode=verify-full |
| mssql | sqlserver://user:password@localhost?database=anylink&connection+timeout=30 |
> 示例配置文件
>