[Zope-DB] Error connecting to mysql

Dieter Maurer dieter at handshake.de
Wed Nov 12 16:37:50 EST 2003


kepena at telesat.com.co wrote at 2003-11-11 12:11 -0500:
 > I finally could start zope with mysqldb.. but now It shows this error:
 > 
 > Error Type: OperationalError
 > Error Value: (2002, "Can't connect to local MySQL server through socket
 > '/var/lib/mysql/mysql.sock' (2)")

Almost surely, your MySQL server is not running.
When it were running, it had created this communication socket.


When you are sure, the server is running then it may be a configuration
issue. E.g. the client library may think it must talk via
the above socket while the server listens at a different socket.

-- 
Dieter



More information about the Zope-DB mailing list