[Zope3-Users] Re: mysql connection

Christian Klinger cklinger at novareto.de
Wed Nov 14 15:34:01 EST 2007


Roman Budzianowski schrieb:
> 
> On Nov 14, 2007, at 12:01 AM, Christian Klinger wrote:
> 
>> Hi Roman,
>>
>> it depends on what you are trying to do:
>>
>> When you want a zope database adapter for mysql:
>> look here http://svn.zope.org/mysqldbda/
> 
> Yes. Maybe it's a question about zopeproject. I added mysqldbda 
> dependency to setup.py and ran buildout, but it fails to find it. What's 
> the naming scheme for the libraries ?
> 
> I have a copy downloaded from zope.org, but I am unsure where to install 
> it manually in the zopeproject framework.
> 
> The installation instructions in mysqldbda are obsolete (referring to 
> cvs). So somehow this package doesn't fit neatly into the new easy way 
> of doing things. I wondered if I should use it at all.
> 

I don´t know if there is an egg of mysqldbda. If there is not you can 
try to use the addtional buildout receipe infrae.subversion [1] which 
allows you to include a package from an svn tree.

I don´t know zopeproject details, but i think this should be doable.

HTH Christian

[1] 
http://pypi.python.org/pypi?%3Aaction=search&term=infrae.subversion&submit=search

> 
>>
>> If you want ORM than try zalchemy. 
>> http://pypi.python.org/pypi/z3c.zalchemy/0.2.1
>>
>> If you need a kind of "SQL-Expression" than take a look at
>> z3c.sqlalchemy.
>> http://pypi.python.org/pypi/z3c.sqlalchemy/1.0.11
>>
>> HTH
>>
>> Christian
>>
>>
>>
>>> I am trying to connect to mysql. What is the preferred package to do 
>>> that ?
>>> I am using zopeproject. I tried to add dependency to mysqldbda, but 
>>> it fails.
>>> The 2nd edition of the book mentions mysql utility, but it is not 
>>> installed by default it seems.
>>> Thanks,
>>> Roman
>>> plone at budzianowski.net 
>>> <mailto:plone at budzianowski.net>
>>> ------------------------------------------------------------------------
>>> _______________________________________________
>>> Zope3-users mailing list
>>> Zope3-users at zope.org
>>> http://mail.zope.org/mailman/listinfo/zope3-users
>>
>> _______________________________________________
>> Zope3-users mailing list
>> Zope3-users at zope.org
>> http://mail.zope.org/mailman/listinfo/zope3-users



More information about the Zope3-users mailing list