[Zope] Help on MySQLDA

Fabrice Frassaint ffrassaint@ogilvy.net
Thu, 16 Mar 2000 11:11:27 +0100


I tried to use MySQLDA without success.
I have a redhat 6.1 and MySQL 3.22.29 installed. I even installed a
unixODBC connection to MySQL that works.
How can I access this database through ZOPE.

When I try to make the MySQLDA extension a lot of errors come out of it
:


gcc -fPIC  -I/usr/local/mysql-3.22.32/include/ -I/usr/include/mysql -g
-O2 -I/us
r/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c
./MySQLmodule.c
./MySQLmodule.c: In function `pythonify_row':
./MySQLmodule.c:238: warning: assignment from incompatible pointer type
./MySQLmodule.c: In function `pythonify_res_fields':
./MySQLmodule.c:384: invalid lvalue in unary `&'
./MySQLmodule.c: In function `STH_fetchdict':
./MySQLmodule.c:1125: invalid lvalue in unary `&'
./MySQLmodule.c:1147: invalid lvalue in unary `&'
make: *** [MySQLmodule.o] Error 1

Can you help me ?


Does DigitalCreation have a solution on connecting to MySQL on a Linux
Platform (thanks to ODBC or something else).

Thanks in advance.

--
--------------------------------------------------------------------------

Fabrice FRASSAINT    (fabrice.frassaint@o-technologies.com)
O Technologies
136 Avenue des Champs Elysees
PARIS 8ème
01 40 76 24 24