File tree 3 files changed +4
-4
lines changed
src/Examples/DapperExample
test/DapperTests/IntegrationTests 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 26
26
27
27
<!-- Non-published dependencies (these are safe to update, won't cause a breaking change) -->
28
28
<AspNetCoreVersion >8.0.*</AspNetCoreVersion >
29
- <EntityFrameworkCoreVersion >8.0.*-* </EntityFrameworkCoreVersion >
29
+ <EntityFrameworkCoreVersion >8.0.*</EntityFrameworkCoreVersion >
30
30
<SystemTextJsonVersion >$(AspNetCoreVersion)</SystemTextJsonVersion >
31
31
</PropertyGroup >
32
32
Original file line number Diff line number Diff line change 4
4
// docker run --rm --detach --name dapper-example-postgresql-db -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 postgres:latest
5
5
// docker run --rm --detach --name dapper-example-postgresql-management --link dapper-example-postgresql-db:db -e PGADMIN_DEFAULT_EMAIL=admin@admin.com -e PGADMIN_DEFAULT_PASSWORD=postgres -p 5050:80 dpage/pgadmin4:latest
6
6
"DapperExamplePostgreSql" : " Host=localhost;Database=DapperExample;User ID=postgres;Password=postgres;Include Error Detail=true" ,
7
- // docker run --rm --detach --name dapper-example-mysql-db -e MYSQL_ROOT_PASSWORD=mysql -e MYSQL_DATABASE=DapperExample -e MYSQL_USER=mysql -e MYSQL_PASSWORD=mysql -p 3306:3306 mysql:latest --default-authentication-plugin=mysql_native_password
7
+ // docker run --rm --detach --name dapper-example-mysql-db -e MYSQL_ROOT_PASSWORD=mysql -e MYSQL_DATABASE=DapperExample -e MYSQL_USER=mysql -e MYSQL_PASSWORD=mysql -p 3306:3306 mysql:latest
8
8
// docker run --rm --detach --name dapper-example-mysql-management --link dapper-example-mysql-db:db -p 8081:80 phpmyadmin/phpmyadmin
9
- "DapperExampleMySql" : " Host=localhost;Database=DapperExample;User ID=mysql;Password=mysql" ,
9
+ "DapperExampleMySql" : " Host=localhost;Database=DapperExample;User ID=mysql;Password=mysql;SSL Mode=None;AllowPublicKeyRetrieval=True " ,
10
10
// docker run --rm --detach --name dapper-example-sqlserver -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=Passw0rd!" -p 1433:1433 mcr.microsoft.com/mssql/server:2022-latest
11
11
"DapperExampleSqlServer" : " Server=localhost;Database=DapperExample;User ID=sa;Password=Passw0rd!;TrustServerCertificate=true"
12
12
},
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ private WebApplicationFactory<TodoItem> CreateFactory()
58
58
$ "Host=localhost;Database=DapperExample-{ Guid . NewGuid ( ) : N} ;User ID=postgres;Password=postgres;Include Error Detail=true") ;
59
59
60
60
builder . UseSetting ( "ConnectionStrings:DapperExampleMySql" ,
61
- $ "Host=localhost;Database=DapperExample-{ Guid . NewGuid ( ) : N} ;User ID=root;Password=mysql;SSL Mode=None") ;
61
+ $ "Host=localhost;Database=DapperExample-{ Guid . NewGuid ( ) : N} ;User ID=root;Password=mysql;SSL Mode=None;AllowPublicKeyRetrieval=True ") ;
62
62
63
63
builder . UseSetting ( "ConnectionStrings:DapperExampleSqlServer" ,
64
64
$ "Server=localhost;Database=DapperExample-{ Guid . NewGuid ( ) : N} ;User ID=sa;Password=Passw0rd!;TrustServerCertificate=true") ;
You can’t perform that action at this time.
0 commit comments