aboutsummaryrefslogtreecommitdiffstats
path: root/tests/travis/prepare_mysql.sh
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-12-10 01:29:49 +0100
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2018-01-28 22:56:21 +0100
commitfb111e6d958fdf56352db66e144134241abbacf8 (patch)
treef7331a829ef12589f135af1d69f80be05d64099e /tests/travis/prepare_mysql.sh
parente177462c901cd29c3e423640a6f538a930c29536 (diff)
downloadvolse-hubzilla-fb111e6d958fdf56352db66e144134241abbacf8.tar.gz
volse-hubzilla-fb111e6d958fdf56352db66e144134241abbacf8.tar.bz2
volse-hubzilla-fb111e6d958fdf56352db66e144134241abbacf8.zip
:white_check_mark: Unit Test for dba_pdo driver class.
Diffstat (limited to 'tests/travis/prepare_mysql.sh')
-rwxr-xr-xtests/travis/prepare_mysql.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/travis/prepare_mysql.sh b/tests/travis/prepare_mysql.sh
index 095ad7e25..9fd79c1ab 100755
--- a/tests/travis/prepare_mysql.sh
+++ b/tests/travis/prepare_mysql.sh
@@ -42,8 +42,8 @@ mysql $PROTO -e "SELECT @@sql_mode;"
# Create Hubzilla database
mysql $PROTO -u root -e "CREATE DATABASE IF NOT EXISTS hubzilla;";
-mysql $PROTO -u root -e "CREATE USER 'hubzilla'@'localhost' IDENTIFIED BY 'hubzilla';"
-mysql $PROTO -u root -e "GRANT ALL ON hubzilla.* TO 'hubzilla'@'localhost';"
+mysql $PROTO -u root -e "CREATE USER 'hubzilla'@'%' IDENTIFIED BY 'hubzilla';"
+mysql $PROTO -u root -e "GRANT ALL ON hubzilla.* TO 'hubzilla'@'%';"
# Import table structure
mysql $PROTO -u root hubzilla < ./install/schema_mysql.sql