Tuesday 4 September 2012

django syncdb mysql access denied for user

you are new to django, you thought you had setup everything, but when you run syncdb for the first time you get access denied for the user you created..

running the following command should fix the problem:

grant all on databasename.* to 'username'@'domain';

flush privileges;

No comments:

Post a Comment