diff --git a/.github/workflows/mysql.yaml b/.github/workflows/mysql.yaml index e2122f1716..38a9bda596 100644 --- a/.github/workflows/mysql.yaml +++ b/.github/workflows/mysql.yaml @@ -17,7 +17,6 @@ jobs: MYSQL_USER: inventree MYSQL_PASSWORD: password MYSQL_ROOT_PASSWORD: password - MYSQL_DATABASE: test_inventree options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 ports: - 3306:3306 diff --git a/InvenTree/InvenTree/ci_mysql.py b/InvenTree/InvenTree/ci_mysql.py index a0b0f860f1..74570339d1 100644 --- a/InvenTree/InvenTree/ci_mysql.py +++ b/InvenTree/InvenTree/ci_mysql.py @@ -12,7 +12,7 @@ if 'test' in sys.argv: # Ensure mysql backend is being used 'ENGINE': 'django.db.backends.mysql', 'NAME': 'inventree', - 'USER': 'inventree', + 'USER': 'root', 'PASSWORD': 'password', 'HOST': '127.0.0.1', 'PORT': '3306',