Thanks Michael. dialects works great..

On Feb 26, 1:03 pm, Michael Trier <mtr...@gmail.com> wrote:
> Hello,
>
> On Feb 26, 2010, at 2:32 AM, karikris...@gmail.com wrote:
>
>
>
> > I could not get "from sqlalchemy.databases.mysql import MSBinary"
> > working on my windows XP as well as my Ubuntu 32 and 64 bit machines.
>
> > Are they dropped?
>
> > Here are summary
>
> > ActivePython 2.6.0.0 (ActiveState Software Inc.) based on
> > Python 2.6 (r26:66714, Nov 11 2008, 10:21:19) [MSC v.1500 32 bit
> > (Intel)] on win
> > 32
> > Type "help", "copyright", "credits" or "license" for more information.
> >>>> import sqlalchemy
> >>>> sqlalchemy.__version__
> > '0.6beta1'
> >>>> from sqlalchemy.databases.mysql import MSBinary
> > Traceback (most recent call last):
> >  File "<stdin>", line 1, in <module>
> > ImportError: No module named mysql
>
> In 0.6 we moved the database backends to dialects. So it would be:
>
> from sqlalchemy.dialects.mysql.base import MSBinary
>
> Thanks,
>
> Michael

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

Reply via email to