Skip to content

Commit 028acf2

Browse files
committed
MySQL 9.0.0 client libarary support
1 parent 4141938 commit 028acf2

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- os: ubuntu-22.04
2020
client: "8.4"
2121
server: "8.0"
22+
- os: ubuntu-22.04
23+
client: "9.0"
24+
server: "8.4"
2225
runs-on: ${{ matrix.os }}
2326
services:
2427
mysql:
@@ -53,6 +56,10 @@ jobs:
5356
run: |
5457
sudo debconf-set-selections <<EOF
5558
mysql-apt-config mysql-apt-config/select-server select mysql-8.4-lts
59+
- if: matrix.client == '9.0'
60+
run: |
61+
sudo debconf-set-selections <<EOF
62+
mysql-apt-config mysql-apt-config/select-server select mysql-innovation
5663
EOF
5764
- name: "Setup mysql libs"
5865
run: |

Makefile.PL

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,8 @@ sub Configure {
447447
}
448448

449449
if ($param eq 'version') {
450-
if ($str !~ /^8\./) {
451-
die "DBD::mysql requires MySQL 8.x for building. Version reported by $command: $str";
450+
if ($str !~ /^[89]\./) {
451+
die "DBD::mysql requires MySQL 8.x or newer for building. Version reported by $command: $str";
452452
}
453453
}
454454

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Usage is described in [DBD::mysql](https://metacpan.org/pod/DBD::mysql).
1010

1111
## Building and Testing
1212

13-
For building DBD::mysql you need the MySQL 8.x client library.
13+
For building DBD::mysql you need a MySQL 8.x or newer client library.
1414

1515
```
1616
perl Makefile.PL

0 commit comments

Comments
 (0)