[Zope3-Users] Re: mysql connection

2007-11-14 Thread Christian Klinger

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/

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
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]







___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Re: mysql connection

2007-11-14 Thread Roman Budzianowski


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.





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
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
- 
---

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: mysql connection

2007-11-14 Thread Christian Klinger

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=searchterm=infrae.subversionsubmit=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
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users