Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
runnig mysql test with sql root user to fix privilege problem
Browse files Browse the repository at this point in the history
  • Loading branch information
ckleemann committed Sep 6, 2017
1 parent 5105f02 commit 471df1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- mysql -e 'CREATE DATABASE test_pyophase;'
- mysql -e 'CREATE DATABASE pyophase;'

# command to run tests
script:
Expand Down
2 changes: 1 addition & 1 deletion pyophase/settings_travis.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'ENGINE': 'django.db.backends.mysql',
'HOST': 'localhost',
'NAME': 'pyophase',
'USER': 'travis',
'USER': 'root',
'PASSWORD': '',
'OPTIONS': {
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"
Expand Down

0 comments on commit 471df1e

Please sign in to comment.