Revision history [back]
django cannot create test database
I created a django project and a testCase with setUpTestData containing several objects.create. when I debug the test , I get the following error : I get the following error : Got an error creating the test database: (1044, "Access denied for user 'odile'@'localhost' to database 'test_recettes_database'")
I am using mySQL and my django settings module is using a .env file in my virtual environment. Any help will be welcomed