Skip to content

Commit 73b43ea

Browse files
committed
Fix in-memory db settings again
1 parent abe45cb commit 73b43ea

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

build/before_install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ fi
4040

4141
#
4242
# set up memory
43+
# Need to setup MySQL for the debug part
4344
#
4445
if [ "$DB" == "memory" ] ; then
4546
echo "Setting up in memory sqlite ..."
47+
mysql -u root -e "CREATE DATABASE userfrosting;"
48+
mysql -u root -e "GRANT ALL ON userfrosting.* TO 'travis'@'localhost';"
4649
printf "UF_MODE=\"debug\"\nDB_DRIVER=\"mysql\"\nDB_HOST=\"localhost\"\nDB_PORT=\"3306\"\nDB_NAME=\"userfrosting\"\nDB_USER=\"travis\"\nDB_PASSWORD=\"\"\n" > app/.env
4750
fi

0 commit comments

Comments
 (0)