Skip to content

Commit 099bd6f

Browse files
Merge pull request #79 from max-ieremenko/update/mysql
update mysql version in tests
2 parents f98f7fc + 4b821a4 commit 099bd6f

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

Build/scripts/Start-Mysql.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Start-Mysql {
55
$sqlConnectordll = Join-Path $PSScriptRoot 'MySqlConnector.dll'
66
Add-Type -Path $sqlConnectordll
77

8-
$container = Start-Container -Image sqldatabase/mysql:8.0.25 -ContainerPort 3306
8+
$container = Start-Container -Image sqldatabase/mysql:9.4 -ContainerPort 3306
99

1010
$builder = New-Object -TypeName MySqlConnector.MySqlConnectionStringBuilder
1111
$builder['Database'] = 'sqldatabasetest'

Build/tasks/create-images-tasks.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ task BuildPgSqlDatabase {
3636
}
3737

3838
task BuildMySqlDatabase {
39-
$dockerfile = Join-Path $context 'image-mysql-8025.dockerfile'
39+
$dockerfile = Join-Path $context 'image-mysql.dockerfile'
4040
exec {
4141
docker build `
4242
--pull `
4343
-f $dockerfile `
44-
-t sqldatabase/mysql:8.0.25 `
44+
-t sqldatabase/mysql:9.4 `
4545
$context
4646
}
4747
}

Sources/Docker/docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: "3"
21
services:
32
mssql:
43
image: sqldatabase/mssql:2025
@@ -13,7 +12,7 @@ services:
1312
- 5432:5432
1413

1514
mysql:
16-
image: sqldatabase/mysql:8.0.25
15+
image: sqldatabase/mysql:9.4
1716
restart: always
1817
ports:
1918
- 3306:3306

Sources/Docker/image-mysql-8025.dockerfile renamed to Sources/Docker/image-mysql.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mysql:8.0.25
1+
FROM mysql:9.4
22

33
ENV MYSQL_ROOT_PASSWORD=qwerty
44

0 commit comments

Comments
 (0)