Skip to content

Commit cea07ab

Browse files
authored
AppVeyor: Restore MySQL (#1998)
Looks like the image was borked with MySQL 8 went in (because it's still trying to start 5.7), see appveyor/ci#3894.
1 parent 947b582 commit cea07ab

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

appveyor.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ environment:
1919
POSTGRES_ENV_POSTGRES_PASSWORD: Password12!
2020
POSTGRES_ENV_POSTGRES_DB: test
2121
# MySQL
22-
MYSQL_PATH: C:\Program Files\MySql\MySQL Server 5.7
22+
MYSQL_PATH: C:\Program Files\MySQL\MySQL Server 8.0
2323
MYSQL_PWD: Password12!
2424
MYSQL_ENV_MYSQL_USER: root
2525
MYSQL_ENV_MYSQL_PASSWORD: Password12!
@@ -38,15 +38,18 @@ init:
3838
- git config --global core.autocrlf input
3939
- SET PATH=%POSTGRES_PATH%\bin;%MYSQL_PATH%\bin;%PATH%
4040
- net start MSSQL$SQL2019
41+
- ps: Start-Service MySQL80
4142

4243
nuget:
4344
disable_publish_on_pr: true
4445

45-
build_script:
46+
before_build:
4647
# Postgres
4748
- createdb test
4849
# MySQL
49-
# - mysql -e "create database test;" --user=root
50+
- '"C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql" -e "create database test;" --user=root'
51+
52+
build_script:
5053
# Our stuff
5154
- ps: .\build.ps1 -PullRequestNumber "$env:APPVEYOR_PULL_REQUEST_NUMBER" -CreatePackages $true
5255

0 commit comments

Comments
 (0)