Specify a version number on the MySQL database URL, so that doctrine does not need to start a connection while cache clearing

This commit is contained in:
Jan Böhmer 2024-06-10 23:35:13 +02:00
parent 1c8b81ca2c
commit be97ea08a2

View file

@ -31,7 +31,7 @@ jobs:
steps: steps:
- name: Set Database env for MySQL - name: Set Database env for MySQL
run: echo "DATABASE_URL=mysql://root:root@127.0.0.1:3306/partdb" >> $GITHUB_ENV run: echo "DATABASE_URL=mysql://root:root@127.0.0.1:3306/partdb?serverVersion=8.0" >> $GITHUB_ENV
if: matrix.db-type == 'mysql' if: matrix.db-type == 'mysql'
- name: Set Database env for SQLite - name: Set Database env for SQLite
@ -154,9 +154,5 @@ jobs:
env: env:
DATABASE_URL: mysql://root:root@localhost:3306/legacy_db DATABASE_URL: mysql://root:root@localhost:3306/legacy_db
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ failure() }}