Skip to content

Commit 805d65e

Browse files
committed
Update to MySQL 9.3.
Signed-off-by: Bradley Grainger <[email protected]>
1 parent b81c038 commit 805d65e

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
tfm: [ 'net8.0', 'net9.0' ]
3636
services:
3737
mysql:
38-
image: mysql:9.2
38+
image: mysql:9.3
3939
env:
4040
MYSQL_DATABASE: testdb
4141
MYSQL_ROOT_PASSWORD: pass

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
1717
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
1818
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
19-
<PackageVersion Include="MySql.Data" Version="9.2.0" />
19+
<PackageVersion Include="MySql.Data" Version="9.3.0" />
2020
<PackageVersion Include="NLog" Version="4.7.15" />
2121
<PackageVersion Include="Serilog" Version="2.12.0" />
2222
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="8.0.1" />

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ jobs:
176176
image: 'mysql:8.4'
177177
connectionStringExtra: 'AllowPublicKeyRetrieval=True'
178178
unsupportedFeatures: 'Ed25519,Redirection,StreamingResults,Tls11,TlsFingerprintValidation,ZeroDateTime'
179-
'MySQL 9.2':
180-
image: 'mysql:9.2'
179+
'MySQL 9.3':
180+
image: 'mysql:9.3'
181181
connectionStringExtra: 'AllowPublicKeyRetrieval=True'
182182
unsupportedFeatures: 'Ed25519,Redirection,StreamingResults,Tls11,TlsFingerprintValidation,ZeroDateTime'
183183
'MariaDB 10.6':

docs/content/home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Amazon Aurora RDS | 2.x, 3.x | Use `Pipelining=False` [for Aurora 2.x](https://m
6565
Azure Database for MySQL | 5.7, 8.0 | Single Server and Flexible Server
6666
Google Cloud SQL for MySQL | 5.6, 5.7, 8.0 |
6767
MariaDB | 10.x (**10.6**, **10.11**), 11.x (**11.4**, **11.6**) |
68-
MySQL | 5.5, 5.6, 5.7, 8.x (**8.0**, **8.4**), 9.x (**9.2**) | 5.5 is EOL and has some [compatibility issues](https://github.com/mysql-net/MySqlConnector/issues/1192); 5.6 and 5.7 are EOL
68+
MySQL | 5.5, 5.6, 5.7, 8.x (**8.0**, **8.4**), 9.x (**9.3**) | 5.5 is EOL and has some [compatibility issues](https://github.com/mysql-net/MySqlConnector/issues/1192); 5.6 and 5.7 are EOL
6969
Percona Server | 5.6, 5.7, 8.0 |
7070
PlanetScale | | See PlanetScale [MySQL compatibility notes](https://planetscale.com/docs/reference/mysql-compatibility)
7171
ProxySQL | 2.x | Some [compatibility issues](https://github.com/search?q=repo%3Amysql-net%2FMySqlConnector+proxysql&type=issues)

docs/content/tutorials/migrating-from-connector-net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ In a .NET Framework application, make the following `app.config` change to regis
4141
<!-- add name="MySQL Data Provider"
4242
invariant="MySql.Data.MySqlClient"
4343
description=".Net Framework Data Provider for MySQL"
44-
type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=9.2.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" / -->
44+
type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=9.3.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" / -->
4545

4646
<!-- ADD THIS -->
4747
<add name="MySqlConnector"

tests/Benchmark/Benchmark.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<ItemGroup>
99
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
1010
<PackageReference Include="MySqlConnector" Version="2.4.0" />
11-
<PackageReference Include="MySql.Data" Version="9.2.0" />
11+
<PackageReference Include="MySql.Data" Version="9.3.0" />
1212
</ItemGroup>
1313

1414
<!-- <ItemGroup>-->

tests/IntegrationTests/app.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<DbProviderFactories>
55
<add name="MySqlConnector" invariant="MySqlConnector" description="Async MySQL ADO.NET Connector" type="MySqlConnector.MySqlConnectorFactory, MySqlConnector, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92" />
66
<remove invariant="MySql.Data.MySqlClient" />
7-
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=9.2.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
7+
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=9.3.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
88
</DbProviderFactories>
99
</system.data>
1010
</configuration>

tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ It also verifies that MySqlConnector and MySQL Connector/NET (MySql.Data) have s
77

88
The tests require a MySQL server. The simplest way to run one is with [Docker](https://www.docker.com/community-edition):
99

10-
docker run -d --rm --pull always --name mysqlconnector -e MYSQL_ROOT_PASSWORD=pass -p 3306:3306 --tmpfs /var/lib/mysql mysql:9.2 --max-allowed-packet=96M --character-set-server=utf8mb4 --disable-log-bin --local-infile=1 --max-connections=250
10+
docker run -d --rm --pull always --name mysqlconnector -e MYSQL_ROOT_PASSWORD=pass -p 3306:3306 --tmpfs /var/lib/mysql mysql:9.3 --max-allowed-packet=96M --character-set-server=utf8mb4 --disable-log-bin --local-infile=1 --max-connections=250
1111
docker exec mysqlconnector mysql -uroot -ppass -e "INSTALL COMPONENT 'file://component_query_attributes'; CREATE USER 'caching-sha2-user'@'%' IDENTIFIED WITH caching_sha2_password BY 'Cach!ng-Sh@2-Pa55'; GRANT ALL PRIVILEGES ON *.* TO 'caching-sha2-user'@'%';"
1212

1313
Copy the file `IntegrationTests/config.json.example` to `IntegrationTests/config.json`, then edit

0 commit comments

Comments
 (0)