[maemo-developers] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.so

From: maemo at bitblit.net maemo at bitblit.net
Date: Thu Aug 21 01:16:15 EEST 2008
On Wed, 20 Aug 2008, Darius Jack wrote:

> any solution to a known problem ( a lot of entries in Google)
> (Linux + mysql + php )
> mysql worked worked fine, testing mysql commands
> to create a user with select, usage privileges on a tabase.*
> and it worked 
> on shutdown
> and reboot
> can't run mysql
> mysqld starts to run and stops, looking for a socket (none).

Im guessing the fact the unix socket is in /tmp is a problem because /tmp 
is probably wiped during the boot process.

Might be better off telling MySQL to use TCP sockets and bind to 127.0.0.1 
instead.


-- 
Aj.


More information about the maemo-developers mailing list