Koozali.org: home of the SME Server

Webmail - MySql Errors - Dan

Luiz

Webmail - MySql Errors - Dan
« 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

Tim Litwiller

RE: Webmail - MySql Errors - Dan
« Reply #1 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

alex sayle

RE: Webmail - MySql Errors - Dan
« Reply #2 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

Luiz

RE: Webmail - MySql Errors - Dan
« Reply #3 on: December 04, 2000, 08:55:26 AM »
thanks I willl give it a try.