Explorar el Código

add SslMode=none to mysql connection string

master
Savorboard hace 6 años
padre
commit
6abf92c2b8
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      appveyor.yml
  2. +1
    -1
      test/DotNetCore.CAP.MySql.Test/ConnectionUtil.cs

+ 1
- 1
appveyor.yml Ver fichero

@@ -4,7 +4,7 @@ environment:
BUILDING_ON_PLATFORM: win
BuildEnvironment: appveyor
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!
services:
- mssql2014


+ 1
- 1
test/DotNetCore.CAP.MySql.Test/ConnectionUtil.cs Ver fichero

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

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()
{


Cargando…
Cancelar
Guardar