Comment 30 for bug 551130

Revision history for this message
Artis Caune (artis.caune) wrote : Re: [Bug 551130] Re: infinite loop in /etc/init/mysql.conf if mysqld is not running.

On 7 July 2010 05:34, stininkey skunkenheimer <email address hidden> wrote:
> Does ANYONE have a solution for: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
> Can I install an old version or something? I MUST get this server up. Nothing will get it to run.
>

Try to edit /etc/init/mysql.conf and change:
"exec /usr/sbin/mysqld"
to
"exec /usr/bin/mysqld_safe"

--
Artis Caune

    Everything should be made as simple as possible, but not simpler.