[Zope] operational error!!!(databse MySQL)

Frank Tegtmeyer fte-sub-zope@fte.to
06 May 2002 12:11:43 +0200


Bala <cppbala@yahoo.com> writes:

> Error Value: (2002, "Can't connect to local MySQL
> server through socket '/var/lib/mysql/mysql.sock'

Check /etc/my.cnf, where the socket is located. In case your client
libraries think different about this you may establish a symbolic
link to get started. This is only a workaround - the right thing to do
would be to correct the client libraries and build the _mysql module
from scratch.
The right entries in /etc/my.cnf are the ones containing "socket".
Maybe that they are set different in th client- and mysqld section. If
you correct his other things may break.

Btw: this is _not_ a problem with Zope and only partial a Python problem.

Regards, Frank