Fix PostgreSQL and MySQL setup on Travis CI

Note that the PostgreSQL tests still don't work on some architectures.

Closes GH-5607.
This commit is contained in:
Gerard Roche 2020-05-20 20:03:10 +01:00 committed by Nikita Popov
parent d1dde094f2
commit cf3d3cd86f
2 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,4 @@
#!/bin/bash
if [ -n "$ARM64" ]; then
sudo mysql -e 'CREATE USER "travis"@"localhost" IDENTIFIED BY ""'
sudo mysql -e 'GRANT ALL PRIVILEGES ON *.* TO "travis"@"localhost"'
fi
mysql -e "CREATE DATABASE IF NOT EXISTS test"
#!/bin/sh
set -ev
mysql -vvv -e "CREATE DATABASE IF NOT EXISTS test"