Commit 8e2d7942 by Ben Patterson

Improve compatibility with additional mysql installations.

Some mysql debian packages do not grant mysql user as many permissions, and
we need to add them.
parent 24039fb8
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment