nano wrote:
> hello,
> I'm new to sqlalchemy and database
> I just installed postgres "http://doc.fedora-fr.org/wiki/
> Installation_et_configuration_de_PostgreSQL",
> and I have a problem connecting to my database
> with a script sqlalchemy
> the error is "  File"/usr/lib/python2.4/site-packages/SQLAlchemy-0.4.0-
> py2.4.egg/sqlalchemy/engine/strategies.py", line 77, in connect raise
> exceptions.DBAPIError.instance(None, None, e)
> sqlalchemy.exceptions.OperationalError: (OperationalError) FATAL:
> Ident authentication failed for user "postgres" None None".
> Thanks.
>   
No expert in SA, but if you just start with it I would suggest going 
with version 5, i.e. 0.5rc2 just came out the other day.

Have you installed psycopg2?  The DB-API you need for PostGres.

Showing a little of your script might also help.

You might also find answers in the SA doc, which is pretty good (and I 
always forget to look into it too ;-) ).

http://www.sqlalchemy.org/docs/05/intro.html

I would also look at declarative, I found it easier to define my db model.

http://www.sqlalchemy.org/docs/05/ormtutorial.html#datamapping_declarative

Hope this helps
Werner

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

Reply via email to