On Thursday 12 January 2017 01:24:05 Shashank Yadav wrote:
> $ python manage.py test polls
> Creating test database for alias 'default'...
> Got an error creating the test database: (1044, "Access denied for
> user 'myprojectuser'@'localhost' to database 'test_myproject'")
> I also ran ,"GRANT A
You need to have the database create permission as well. Otherwise django
can't recreate the database. What happens when you start the tests is that
the database is dropped and recreated each time.
Regards,
Andréas
2017-01-12 10:24 GMT+01:00 Shashank Yadav :
> Hello,
>
> I am working on tutoria
Hello,
I am working on tutorial 5 , i tried running a test:
$ python manage.py test polls
Creating test database for alias 'default'...
Got an error creating the test database: (1044, "Access denied for user
'myprojectuser'@'localhost' to database 'test_myproject'")
Type 'yes' if you would like
3 matches
Mail list logo