Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Luiz on November 29, 2000, 09:50:25 AM

Title: Webmail - MySql Errors - Dan
Post by: Luiz on November 29, 2000, 09:50:25 AM
I am not sure what the impact is but I am getting the following error message :

########
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /home/e-smith/files/primary/horde-phplib/db_mysql.inc on line 73

Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /home/e-smith/files/primary/horde-phplib/db_mysql.inc on line 73

Warning: Cannot add header information - headers already sent by (output started at /home/e-smith/files/primary/horde-phplib/db_mysql.inc:73) in /home/e-smith/files/primary/html/horde/imp/templates/doctype.inc on line 8

IMP requires JavaScript to perform certain message handling functions.
########

Let me know if this is what you get or do I need to do something different.

Thanks
Title: RE: Webmail - MySql Errors - Dan
Post by: Tim Litwiller on November 29, 2000, 05:51:20 PM
Here is a work-around
go to the /tmp directory and type this

ln -s /var/lib/mysql/mysql.sock

mysql from dan's download is putting it's mysql.sock file in /var/lib/mysql instead of in /tmp. This will redirect the query to the correct place.


Tim Litwiller
http://linux.made-to-order.net
Title: RE: Webmail - MySql Errors - Dan
Post by: alex sayle on December 03, 2000, 03:04:24 PM
i was trying today, and i got the same error.

but it fixed it self when i whent..

rpm -Uvh -force MySql-*.rpm
Title: RE: Webmail - MySql Errors - Dan
Post by: Luiz on December 04, 2000, 08:55:26 AM
thanks I willl give it a try.