Commit d14e3e12 authored by chenyuxi's avatar chenyuxi

上传mysql配置文件

parent ada91caa
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"
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 to comment