Skip to content

Commit

Permalink
AppVeyor: Restore MySQL (#1998)
Browse files Browse the repository at this point in the history
Looks like the image was borked with MySQL 8 went in (because it's still trying to start 5.7), see appveyor/ci#3894.
  • Loading branch information
NickCraver authored Nov 13, 2023
1 parent 947b582 commit cea07ab
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ environment:
POSTGRES_ENV_POSTGRES_PASSWORD: Password12!
POSTGRES_ENV_POSTGRES_DB: test
# MySQL
MYSQL_PATH: C:\Program Files\MySql\MySQL Server 5.7
MYSQL_PATH: C:\Program Files\MySQL\MySQL Server 8.0
MYSQL_PWD: Password12!
MYSQL_ENV_MYSQL_USER: root
MYSQL_ENV_MYSQL_PASSWORD: Password12!
Expand All @@ -38,15 +38,18 @@ init:
- git config --global core.autocrlf input
- SET PATH=%POSTGRES_PATH%\bin;%MYSQL_PATH%\bin;%PATH%
- net start MSSQL$SQL2019
- ps: Start-Service MySQL80

nuget:
disable_publish_on_pr: true

build_script:
before_build:
# Postgres
- createdb test
# MySQL
# - mysql -e "create database test;" --user=root
- '"C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql" -e "create database test;" --user=root'

build_script:
# Our stuff
- ps: .\build.ps1 -PullRequestNumber "$env:APPVEYOR_PULL_REQUEST_NUMBER" -CreatePackages $true

Expand Down

0 comments on commit cea07ab

Please sign in to comment.