So that others may google this info:

I recently kept getting an error in a zope product (ZWarehouse) about a missing attribute: "server_capabilities". I resolved it by copying the MySQL headers and include files from the source package into directories in /usr/lib and /usr/include and running ldconfig

Poor Yorick
zope@pooryorick.org