[Koha-devel] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/*mysqld/mysqld.sock' (2)
Robin Sheat
robin at catalyst.net.nz
Tue Sep 25 01:59:45 CEST 2012
Samuel Desseaux schreef op ma 24-09-2012 om 17:19 [+0200]:
>
> I have this message "ERROR 2002 (HY000): Can't connect to local MySQL
> server through socket '/var/run/*mysqld/mysqld.sock' (2)"
is that '*' really there? Because it seems like a strange thing to have.
Also, does the file '/var/run/mysqld/mysqld.sock' exist?
> $locate libmysqlclient.so
> /usr/lib/libmysqlclient.so.16
> /usr/lib/libmysqlclient.so.16.0.0
This is normal, my servers say the same thing.
Can you try 'sudo koha-mysql instancename' to see if that works? Also
try it manually:
mysql -ukoha_instancename -p koha_instancename
(replacing instancename above with the name of your instance.)
>
--
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: </pipermail/koha-devel/attachments/20120925/bd0d683c/attachment.pgp>
More information about the Koha-devel
mailing list