I've just installed postgresql and psycopg2. I supplied a password in
the postgres install, but don't know how to supply it to psycopg2:

 ~/s/sd$ manage.py syncdb
Traceback (most recent call last):
  File "./manage.py", line 11, in <module>
    execute_manager(settings)
  File "/users/home/system/lib/djangotrunk/django/core/management/
__init__.py", line 347, in execute_manager
    utility.execute()
  File "/users/home/system/lib/djangotrunk/django/core/management/
__init__.py", line 295, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/users/home/system/lib/djangotrunk/django/core/management/
base.py", line 195, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/users/home/system/lib/djangotrunk/django/core/management/
base.py", line 222, in execute
    output = self.handle(*args, **options)
  File "/users/home/system/lib/djangotrunk/django/core/management/
base.py", line 351, in handle
    return self.handle_noargs(**options)
  File "/users/home/system/lib/djangotrunk/django/core/management/
commands/syncdb.py", line 48, in handle_noargs
    cursor = connection.cursor()
  File "/users/home/system/lib/djangotrunk/django/db/backends/
__init__.py", line 62, in cursor
    cursor = self._cursor(settings)
  File "/users/home/system/lib/djangotrunk/django/db/backends/
postgresql_psycopg2/base.py", line 84, in _cursor
    self.connection = Database.connect(conn_string, **self.options)
psycopg2.OperationalError: fe_sendauth: no password supplied
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to