[Zope] connecting mysql db from zope

jacintha menezes jacintha.menezes@wipro.com
Fri, 19 Jan 2001 10:15:04 +0530


hi,
     AS you said i installed MySQLbd-0.3.0 & ZMySQLDA-2.0.2 . When i started
Zope it gave the following error.What more do we have to  do ?.Please help.

                                      Thanks,
                                        jacintha

[root@Sound1 zope-linux]# ./start
./start
------
2001-01-19T04:35:16 ERROR(200) Zope Couldn't import Products.ZMySQLDA
Traceback (innermost last):
  File /zope/zope-linux/lib/python/OFS/Application.py, line 397, in
import_produ
cts
    (Object: string)
  File /zope/zope-linux/lib/python/Products/ZMySQLDA/__init__.py, line 91,
in ?
  File /zope/zope-linux/lib/python/Products/ZMySQLDA/DA.py, line 91, in ?
  File /zope/zope-linux/lib/python/Products/ZMySQLDA/db.py, line 89, in ?
ImportError: No module named _mysql
 ------
2001-01-19T04:35:16 ERROR(200) Zope Couldn't import Products.ZMySQLTDA
Traceback (innermost last):
  File /zope/zope-linux/lib/python/OFS/Application.py, line 397, in
import_produ
cts
    (Object: string)
  File /zope/zope-linux/lib/python/Products/ZMySQLTDA/__init__.py, line 91,
in ?
  File /zope/zope-linux/lib/python/Products/ZMySQLTDA/DA.py, line 91, in ?
  File /zope/zope-linux/lib/python/Products/ZMySQLTDA/db.py, line 4, in ?
NameError: DB


------
2001-01-19T04:35:16 ERROR(200) Zope Couldn't import Products.ZSolidDA
Traceback (innermost last):
  File /zope/zope-linux/lib/python/OFS/Application.py, line 397, in
import_produ
cts
    (Object: string)
  File lib/python/Products/ZSolidDA/__init__.py, line 102, in ?
  File lib/python/Products/ZSolidDA/DA.py, line 103, in ?
  File lib/python/Products/ZSolidDA/db.py, line 99, in ?
ImportError: No module named sql


------
2001-01-19T04:35:16 INFO(0) ZServer HTTP server started at Fri Jan 19
10:05:16 2
001
        Hostname: Sound1
        Port: 8080
------
2001-01-19T04:35:16 INFO(0) ZServer FTP server started at Fri Jan 19
10:05:16 20
01
Hostname: Sound1
        Port: 8021
------
2001-01-19T04:35:16 INFO(0) ZServer PCGI Server started at Fri Jan 19
10:05:16 2
001
        Unix socket: /zope/zope-linux/var/pcgi.soc
------
2001-01-19T04:35:16 INFO(0) ZServer Monitor Server (V1.8.4.1) started on
port 80
99
Traceback (innermost last):
  File "/zope/zope-linux/z2.py", line 719, in ?
    asyncore.loop()
  File "/zope/zope-linux/ZServer/medusa/asyncore.py", line 138, in loop
    poll_fun (timeout, map)
  File "/zope/zope-linux/ZServer/medusa/asyncore.py", line 66, in poll
    r,w,e = select.select (r,w,e, timeout)
KeyboardInterrupt
Traceback (innermost last):
  File "/zope/zope-linux/z2.py", line 537, in ?
    zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid))
  File "/zope/zope-linux/lib/python/zdaemon.py", line 208, in run
    p,s = os.waitpid(pid, 0)
KeyboardInterrupt