Skip to content

Commit e6c30a0

Browse files
committed
Support specifying TLS Version when MySqlConnector uses wrong one
ref, mysql-net/MySqlConnector#1074
1 parent d008b41 commit e6c30a0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Goodbye.WordPress/ConnectionStringBuilder.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ public string? Database
7979
set => this[nameof(Database)] = value;
8080
}
8181

82+
public string? TlsVersion
83+
{
84+
get => this[nameof(TlsVersion)];
85+
set => this[nameof(TlsVersion)] = "TLS " + value;
86+
}
87+
8288

8389
static bool KeyEquals(string a, string b)
8490
=> string.Equals(a, b, StringComparison.OrdinalIgnoreCase);

0 commit comments

Comments
 (0)