View Full Version : MySQL gurus
The Dawg
07-18-2001, 09:36 AM
How can I fix this error:
connect failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) at .....
The Dawg
battuss
07-18-2001, 09:40 AM
Prolly you have to contact your host
Energy Hosting
07-18-2001, 09:52 AM
try this
/etc/init.d/mysql.server start
or just reboot your server.
this error usually means that MySQL server is not running.
Simon
07-18-2001, 02:52 PM
Energy, mysql doesn't create that by default...
your safest bet is this
safe_mysqld &
type that in the prompt...
you can add prefix's to that to spice it up a notch... like the amount of connections mysql should take.. and how many seconds for each connection before terminating it and etc...
The Dawg
07-18-2001, 03:22 PM
Thanks -
Energy Hosting
07-18-2001, 04:30 PM
Simon, if he can do that than it usually means that he has root access and you don't want to run MySQL as root so the command he needs to use is usually.
safe_mysqld --user=mysql &
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.