Re: [Zope-DB] ImportError: libmysqlclient_r.so.15

2007-11-07 Thread Michele Marcionelli
Hello Charlie no... it's not a permissions problem (and also not a SELinux problem). I just found a solution for the problem echo "/usr/local/lib/mysql" > /etc/ld.so.conf.d/mysql.conf ldconfig But I still wonder why the LD_LIBRARY_PATH variable is ignored!? Any idea? Thank you, Michele On

Re: [Zope-DB] Automatic capture of user ids for auditing

2007-11-07 Thread Maciej Wisniowski
* The idea of "extending the DA pass the current ZOPE user" seems cleaner. For me, changing DA seems to add 'audit' fields seems nasty. What if you will have one specific table that doesn't need audit fields (this may happen when you're using authentication sources that rely on DB and in many ot

Re: [Zope-DB] Automatic capture of user ids for auditing

2007-11-07 Thread Charlie Clark
Am 07.11.2007, 21:11 Uhr, schrieb Ken Winter <[EMAIL PROTECTED]>: Charlie, thanks for the encouraging response! Encouraging? Not sure if that's quite the right word! ;-) Just assuming you did have connections per user, how would you go about this? What you suggest (below) is definitely t

Re: [Zope-DB] ImportError: libmysqlclient_r.so.15

2007-11-07 Thread Charlie Clark
Am 07.11.2007, 21:31 Uhr, schrieb Michele Marcionelli <[EMAIL PROTECTED]>: If I do the same after setting the LD_LIBRARY_PATH to /usr/local/lib/mysql, I did not get error messages anymore! Now the problem: I included the LD_LIBRARY_PATH to my startup-script zopectl (see below) but I still

[Zope-DB] ImportError: libmysqlclient_r.so.15

2007-11-07 Thread Michele Marcionelli
Hello Zope-DB members I'm migrating my zope/python/mysql/... installation from RedHat 3 to RedHat 5 and I still have a little problem. If I just start python and enter "import MySQLdb" I get the following error: Python 2.3.6 (#1, Nov 7 2007, 17:02:40) [GCC 4.1.1 20070105 (Red Hat 4.1.1-

RE: [Zope-DB] Automatic capture of user ids for auditing

2007-11-07 Thread Ken Winter
Charlie, thanks for the encouraging response! What you suggest (below) is definitely the way I'd like to do this. However, ZPsycopgDA and its communications with PostgreSQL are currently black boxes for me, so I think I need some help taking the next steps. A few hours of poking around have l