summaryrefslogtreecommitdiff
path: root/travis/setup-mysql.sh
blob: 4866f24442d0f74786075f8c5757e4e7770316fc (plain)
1
2
3
4
5
6
#!/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"