I am trying to use the manage.py dbshell call. I give the command,
F:\djangoprojects\polls>manage.py dbshell
This is giving me an error like
 F:\djangoprojects\polls> ERROR 1045 (28000): Access denied for user
'ODBC'@'localhost' (using password: NO)
However in my settings.py I have set the user and password.
django\db\backends\mysql\client.py is the file which is used when
manage.py dbshell is used, so I modified the file to print the
arguments passed to
    os.execvp('mysql', args)
call. This prints the value of args as expected.

F:\djangoprojects\polls>manage.py dbshell
['', '--user=root', '--password=081084', 'pollngo']

F:\djangoprojects\polls> ERROR 1045 (28000): Access denied for user
'ODBC'@'localhost' (using password: NO)

What am I missing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to