Browse Source

add SslMode=none to mysql connection string

master
Savorboard 6 years ago
parent
commit
6abf92c2b8
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      appveyor.yml
  2. +1
    -1
      test/DotNetCore.CAP.MySql.Test/ConnectionUtil.cs

+ 1
- 1
appveyor.yml View File

@@ -4,7 +4,7 @@ environment:
BUILDING_ON_PLATFORM: win BUILDING_ON_PLATFORM: win
BuildEnvironment: appveyor BuildEnvironment: appveyor
Cap_SqlServer_ConnectionStringTemplate: Server=(local)\SQL2014;Database={0};User ID=sa;Password=Password12! Cap_SqlServer_ConnectionStringTemplate: Server=(local)\SQL2014;Database={0};User ID=sa;Password=Password12!
Cap_MySql_ConnectionStringTemplate: Server=localhost;Database={0};Uid=root;Pwd=Password12!;Allow User Variables=True
Cap_MySql_ConnectionStringTemplate: Server=localhost;Database={0};Uid=root;Pwd=Password12!;Allow User Variables=True;SslMode=none
Cap_PostgreSql_ConnectionStringTemplate: Server=localhost;Database={0};UserId=postgres;Password=Password12! Cap_PostgreSql_ConnectionStringTemplate: Server=localhost;Database={0};UserId=postgres;Password=Password12!
services: services:
- mssql2014 - mssql2014


+ 1
- 1
test/DotNetCore.CAP.MySql.Test/ConnectionUtil.cs View File

@@ -12,7 +12,7 @@ namespace DotNetCore.CAP.MySql.Test
private const string DefaultDatabaseName = @"DotNetCore.CAP.MySql.Test"; private const string DefaultDatabaseName = @"DotNetCore.CAP.MySql.Test";


private const string DefaultConnectionStringTemplate = private const string DefaultConnectionStringTemplate =
@"Server=localhost;Database={0};Uid=root;Pwd=123123;Allow User Variables=True;";
@"Server=localhost;Database={0};Uid=root;Pwd=123123;Allow User Variables=True;SslMode=none;";


public static string GetDatabaseName() public static string GetDatabaseName()
{ {


Loading…
Cancel
Save