[Zope-DB] Can't connect to MySQL database

Martin Gebert Murphy@members.netsolution-net.de
Thu, 24 Oct 2002 16:27:51 +0200


Kolari S. Bhat schrieb:

> I have the following setup:
> RedHat Linux 7.3
> Zope 2-6-0 installed and working.
> MySQL 4.0.4 installed from RPM; tested, works.
> ZMySQLDA installed from ZMySQLDA-2.0.7.linux-i686.tar.gz

Did you install the MySQLdb (Python adapter for MySQL), too?

<http://www.zope.org/Members/adustman/Products/MySQLdb>

BTW, current is ZMySQLDA 2.0.8...

> Do I need to change ownership of /var/lib/mysql? If so what sort of 
> ownership should this directory have?

Not that I know of. Can you connect with this connection parameters from 
the MySQL client (executed from a shell as normal user)?

Martin