On 10/18/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
>
> Lukasz Szybalski wrote:
> >> sqlalchemy.dburi="mysql://user:[EMAIL PROTECTED]:3306/dbname?use_unicode=1"
> >
> > nope,
> > I still get the same error.
>
> Maybe try "convert_unicode" instead of "use_unicode", as explained here:
> http://www.sqlalchemy.org/docs/04/dbengine.html#dbengine_establishing
Is there a special way to add that argument?
sqlalchemy.dburi="mysql://user:[EMAIL PROTECTED]:3306/dbname?convert_unicode=1"
raise exceptions.DBAPIError("Connection failed", e)
sqlalchemy.exceptions.DBAPIError: (Connection failed) (TypeError)
'convert_unicode' is an invalid keyword argument for this function
I found a post somewhere that said to use charset=utf8 which is not
shown on the documentation for sqlalchemy therefore I assume that
http://www.sqlalchemy.org/docs/04/dbengine.html#dbengine_establishing
db = create_engine('postgres://scott:[EMAIL
PROTECTED]/test?argument1=foo&argument2=bar')
is different from ???
sqlalchemy.dburi="mysql://user:[EMAIL PROTECTED]:3306/dbname?convert_unicode=1"
Are these the same or are they different? If they are different what
is the argument set I can use?
Lucas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---