diff --git a/scripts/reset-test-db.sh b/scripts/reset-test-db.sh index 42d8d69e8d..b224059028 100755 --- a/scripts/reset-test-db.sh +++ b/scripts/reset-test-db.sh @@ -26,6 +26,7 @@ DB_CACHE_DIR="common/test/db_cache" # Ensure the test database exists. echo "CREATE DATABASE IF NOT EXISTS test;" | mysql -u root +echo "GRANT ALL ON test.* TO mysql@localhost" | mysql -u root # Clear out the test database ./manage.py lms --settings bok_choy reset_db --traceback --noinput