xref: /PHP-7.4/travis/setup-mysql.sh (revision bd379df4)
1#!/bin/bash
2if [ -n "$ARM64" ]; then
3  sudo mysql -e 'CREATE USER "travis"@"localhost" IDENTIFIED BY ""'
4  sudo mysql -e 'GRANT ALL PRIVILEGES ON *.* TO "travis"@"localhost"'
5fi
6mysql -e "CREATE DATABASE IF NOT EXISTS test"
7