Re: Problem in django tutorial 5 , 1044 Access denied for user @'localhost' database error

2017-01-12 Thread Melvyn Sopacua
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

Re: Problem in django tutorial 5 , 1044 Access denied for user @'localhost' database error

2017-01-12 Thread Andreas Kuhne
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

Problem in django tutorial 5 , 1044 Access denied for user @'localhost' database error

2017-01-12 Thread Shashank Yadav
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