On Tue, Mar 25, 2008 at 9:21 AM, Paul Johnston <[EMAIL PROTECTED]> wrote: > Hi, > > > > > eng = > sqlalchemy.create_engine("mssql:///?dsn=mydsn,UID=myusername,PWD=mypass",module=pyodbc) > > > > Try this: > eng = > sqlalchemy.create_engine("mssql://myusername:mypass@/?dsn=mydsn",module=pyodbc) >
Still the same error. File "/usr/lib/python2.4/site-packages/sqlalchemy/pool.py", line 111, in create_connection return _ConnectionRecord(self) File "/usr/lib/python2.4/site-packages/sqlalchemy/pool.py", line 149, in __init__ self.connection = self.__connect() File "/usr/lib/python2.4/site-packages/sqlalchemy/pool.py", line 174, in __connect connection = self.__pool._creator() File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/strategies.py", line 57, in connect raise exceptions.DBAPIError("Connection failed", e) sqlalchemy.exceptions.DBAPIError: (Connection failed) (TypeError) function takes at least 1 argument (0 given) Lucas --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---