Commit f6d10e8c by 李辉02

feat(解决连接mysql失败问题): dataprocess

parent df84d093
......@@ -11,5 +11,5 @@ data:
{{- end }}
{{- end }}
{{- $db := (index .Values.global .Chart.Name "database") }}
ConnectionStrings__Conn: "server={{ $db.server }};database={{ $db.database }};uid={{ $db.uid }};pwd={{ $db.pwd }};charset={{ $db.charset }};sslmode={{ $db.sslmode }};allow user variables={{ $db.allowUserVariables }};"
ConnectionStrings__Conn: "server={{ $db.server }};database={{ $db.database }};uid={{ $db.uid }};pwd={{ $db.pwd }};charset={{ $db.charset }};sslmode={{ $db.sslmode }};allow user variables={{ $db.allowUserVariables }};AllowPublicKeyRetrieval={{ $db.AllowPublicKeyRetrieval }};"
......@@ -26,3 +26,4 @@ global:
charset: "utf8"
sslmode: "none"
allowUserVariables: "true"
AllowPublicKeyRetrieval: "true"
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