[Koha] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/*mysqld/mysqld.sock' (2)
Samuel Desseaux
samuel.desseaux at ecp.fr
Tue Sep 25 03:19:38 NZST 2012
Hi
I have a problem while installing koha on a machine (i install with
debian package)
I have this message "ERROR 2002 (HY000): Can't connect to local MySQL
server through socket '/var/run/*mysqld/mysqld.sock' (2)"
What i don't understand is
>mysql well running
$ service mysql status
/usr/bin/mysqladmin Ver 8.42 Distrib 5.1.49, for debian-linux-gnu on x86_64
Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Server version 5.1.49-3
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/run/mysqld/mysqld.sock
Uptime: 2 min 12 sec
Threads: 2 Questions: 842 Slow queries: 0 Opens: 135 Flush tables:
1 Open tables: 32 Queries per second avg: 6.378.
>no problem when i restart
$ service mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
But, the problem could come from that
$locate libmysqlclient.so
/usr/lib/libmysqlclient.so.16
/usr/lib/libmysqlclient.so.16.0.0
As the debian package include mysql-server5.1, there may be a conflict.
How can i fix this problem?
best regards
samuel
More information about the Koha
mailing list