Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yifu-study
C
cloudnative
dapr
test
Commits
d14e3e12
Commit
d14e3e12
authored
Nov 10, 2021
by
chenyuxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传mysql配置文件
parent
ada91caa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
talents-database-mysql-binding.yaml
...置文件/talents-component/talents-database-mysql-binding.yaml
+35
-0
No files found.
cyx/code/配置文件/talents-component/talents-database-mysql-binding.yaml
0 → 100644
View file @
d14e3e12
apiVersion
:
dapr.io/v1alpha1
kind
:
Component
metadata
:
name
:
talents-database-mysql-binding
namespace
:
default
spec
:
type
:
bindings.mysql
version
:
v1
metadata
:
-
name
:
url
# Required, define DB connection in DSN format
value
:
"
root:123456@tcp(192.168.133.129:3306)/mysql"
#最大空闲连接数。大于 0 的整数
#"10"
#N
-
name
:
maxIdleConns
value
:
"
100"
#最大打开连接数。大于 0 的整数
#"10"
#N
-
name
:
maxOpenConns
value
:
"
500"
#最大连接寿命。持续时间字符串
#"12s"
#N
-
name
:
connMaxLifetime
value
:
"
3600s"
#最大连接空闲时间。持续时间字符串
#"12s"
#N
-
name
:
connMaxIdleTime
value
:
"
3600s"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment