What is needed for installation if I want to use the Posgresql database with zope ?? for example: Zope database adapter?

I am entering a project that uses a zope web server. With this Posgresql database. But I can not add a new Posgresql connection via zope ??? Actually, I'm a newbie and I don't know what else I need to install so that I can use Posgresql dB with zope. From what I explored about this, I learned that I would need a Zope database adapter so that I could use Posgresql dB with Zope. But I have not confirmed this yet. Also, I don’t know which version of the Zope database adapter I need to install ??? The zope version I'm using is 2.6, and the Posgresql dB version is 7.4.13, and the Python version is 2.1.3. Pls also tell me where should I download this Zope database adapter?

+3
source share
2 answers

Take a look at psycopg, it comes with a Zope database adapter.

0
source

Psycopg2 is absolutely necessary, but not enough. Psycopg2 provides a low-level python database interface.

There are several ways to provide database interconnectivity, and it depends on what exactly you want to do.

No matter which solution you choose, you want to get the right eggs from PYPI: http://pypi.python.org/

Script, Zope , Zope, SQLAlchemyDA: http://pypi.python.org/pypi/Products.SQLAlchemyDA/0.5.1. SQLAlchemyDA , db-api (, psycopg2), PostGreSQL, Oracle, MySQL .

, SQL - , pas.plugins.sqlalchemy ore.contentmirror Plone - z3c.saconfig: http://pypi.python.org/pypi/z3c.saconfig/0.12

, - , - SQLAlchemyDA z3c.saconfig.

0

Source: https://habr.com/ru/post/1764915/


All Articles