On a linux (mandrake9.1) PC I have installed zope2.6.1 and established a connection to a mysqldatabase (mysql-standard-4.0.12-pc-linux-i686.tar.gz). I have also installed zope2.6.2 and established a connection to the database. However, it does not seem to be able to retrieve information from mysql, e.g. select or describe statements does not work: nothing happens. Is it possible to establish MySql connections with zope2.6.2
When I compiled (using the python within the zope directory), two warnings turned up (look below). Has the error something to do with that.
Flemming
-c _mysql.c -o build/temp.linux-i686-2.1/_mysql.o
_mysql.c: In function `_mysql_ConnectionObject_info':
_mysql.c:1150: warning: assignment discards qualifiers from pointer target type
_mysql.c: In function `_mysql_ConnectionObject_stat':
_mysql.c:1379: warning: assignment discards qualifiers from pointer target type
gcc -shared build/temp.linux-i686-2.1/_mysql.o -L/usr/lib/mysql -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient_r -lz -o build/lib.linux-i686-2.1/_mysql.so
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-10-09
I installed ZMySQLDA in two different env's:
1) ZMySQLDA-2.0.8, MySQL-python-0.9.3b1, MySQL-4.1.3 on RedHat-9.0, it works well.
2) Same conditions on KNOPPIX Linux-3.2, Debians-based, it can be installed but doesn't work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-10-10
I successfully installed Zope2-6-1 with ZMySQLDA-2.0.8 and MySQL-python-0.9.0 on a Solaris 8 x86 machine some months ago, but must assume, because of all the troubles people are having that my current line up will not work (see thread started by me earlier). I shall shortly install Zope 2-6-1 on my latest installation (Solaris 9 on Sparc) and let this list know how I get on. Because of pressure from other work this may take a few days (weeks - I hope not)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On a linux (mandrake9.1) PC I have installed zope2.6.1 and established a connection to a mysqldatabase (mysql-standard-4.0.12-pc-linux-i686.tar.gz). I have also installed zope2.6.2 and established a connection to the database. However, it does not seem to be able to retrieve information from mysql, e.g. select or describe statements does not work: nothing happens. Is it possible to establish MySql connections with zope2.6.2
When I compiled (using the python within the zope directory), two warnings turned up (look below). Has the error something to do with that.
Flemming
-c _mysql.c -o build/temp.linux-i686-2.1/_mysql.o
_mysql.c: In function `_mysql_ConnectionObject_info':
_mysql.c:1150: warning: assignment discards qualifiers from pointer target type
_mysql.c: In function `_mysql_ConnectionObject_stat':
_mysql.c:1379: warning: assignment discards qualifiers from pointer target type
gcc -shared build/temp.linux-i686-2.1/_mysql.o -L/usr/lib/mysql -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient_r -lz -o build/lib.linux-i686-2.1/_mysql.so
I installed ZMySQLDA in two different env's:
1) ZMySQLDA-2.0.8, MySQL-python-0.9.3b1, MySQL-4.1.3 on RedHat-9.0, it works well.
2) Same conditions on KNOPPIX Linux-3.2, Debians-based, it can be installed but doesn't work.
I successfully installed Zope2-6-1 with ZMySQLDA-2.0.8 and MySQL-python-0.9.0 on a Solaris 8 x86 machine some months ago, but must assume, because of all the troubles people are having that my current line up will not work (see thread started by me earlier). I shall shortly install Zope 2-6-1 on my latest installation (Solaris 9 on Sparc) and let this list know how I get on. Because of pressure from other work this may take a few days (weeks - I hope not)
Yes, now I have mysql work fine with zope262.
Flemming