From bf382a3cb600541b199f48b16c98b2b1c58bf5e8 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 18 Mar 2020 10:15:05 +0100 Subject: [PATCH] Explicitly start mysql --- azure/i386/job.yml | 1 + azure/job.yml | 1 + azure/msan_job.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/azure/i386/job.yml b/azure/i386/job.yml index 65a7e5702c..5ada61b415 100644 --- a/azure/i386/job.yml +++ b/azure/i386/job.yml @@ -81,6 +81,7 @@ jobs: displayName: 'Install Build' - script: | set -e + sudo service mysql start mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test" sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';" sudo -u postgres psql -c "CREATE DATABASE test;" diff --git a/azure/job.yml b/azure/job.yml index 020f69c13c..80ffb35e86 100644 --- a/azure/job.yml +++ b/azure/job.yml @@ -19,6 +19,7 @@ jobs: - template: install.yml - script: | set -e + sudo service mysql start mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test" sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';" sudo -u postgres psql -c "CREATE DATABASE test;" diff --git a/azure/msan_job.yml b/azure/msan_job.yml index c623f55d36..724aed9ca3 100644 --- a/azure/msan_job.yml +++ b/azure/msan_job.yml @@ -62,6 +62,7 @@ jobs: echo pdo_mysql.default_socket=/var/run/mysqld/mysqld.sock > /etc/php.d/pdo_mysql.ini displayName: 'Install Build' - script: | + sudo service mysql start mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test" displayName: 'Setup' - template: test.yml -- 2.40.0