File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed
Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11function Start-Mysql {
22 param ()
33
4- $sqlConnectordll = Join-Path $env: USERPROFILE ' \.nuget\packages\mysqlconnector\1.3.10\lib\netstandard2.0\MySqlConnector.dll'
4+ # https://www.nuget.org/packages/MySqlConnector/1.3.10 lib/netstandard2.0/MySqlConnector.dll
5+ $sqlConnectordll = Join-Path $PSScriptRoot ' MySqlConnector.dll'
56 Add-Type - Path $sqlConnectordll
67
78 $container = Start-Container - Image sqldatabase/ mysql:8.0 .25 - ContainerPort 3306
Original file line number Diff line number Diff line change 11function Start-Pgsql {
22 param ()
33
4- $npgsqldll = Join-Path $env: USERPROFILE ' .nuget\packages\npgsql\4.0.16\lib\netstandard2.0\Npgsql.dll'
4+ # https://www.nuget.org/packages/Npgsql/4.0.16 lib/netstandard2.0/Npgsql.dll
5+ $npgsqldll = Join-Path $PSScriptRoot ' Npgsql.dll'
56 Add-Type - Path $npgsqldll
67
78 $container = Start-Container - Image sqldatabase/ postgres:13.3 - ContainerPort 5432
You can’t perform that action at this time.
0 commit comments