Security Basics mailing list archives

Re: mysql.sock


From: daedalus <daedalus_ () gmx net>
Date: Wed, 10 Mar 2004 14:01:13 +0100

Am Di, den 09.03.2004 schrieb Lawrence, Michael um 21:31:
I have a fresh install of Slackware 9.1. Installed Mysql with the install of
the OS. When attempting to start mysqld, I receive an error stating it can
not connect to /var/lib/mysql/mysql.sock. When I searched for mysql.sock, it
is not on the system. How do I go about creating mysql.sock?

Mike


the mysqld _service_ is not running. try to start that service.
i don't exactly know how this is done w/ slackware but probably like this:

% /etc/rc.d/init.d/mysqld start

for starting mysqld at boot add a symlink into /etc/init.d/rc.d/rcX.d, that 
points to the mysqld-startscript mentioned above

% cd /etc/init.d/rc.d/rcX.d
% ln -s ../init.d/mysqld SYYmysqld

where X is the runlevel you want mysql to be started automatically and YY is a 
number that indicates between wich other startscripts in the current runlevel-
configuration the mysqld should be started, e.g. S99mysqld...

hth.


---------------------------------------------------------------------------
Ethical Hacking at the InfoSec Institute. Mention this ad and get $545 off 
any course! All of our class sizes are guaranteed to be 10 students or less 
to facilitate one-on-one interaction with one of our expert instructors. 
Attend a course taught by an expert instructor with years of in-the-field 
pen testing experience in our state of the art hacking lab. Master the skills 
of an Ethical Hacker to better assess the security of your organization. 
Visit us at: 
http://www.infosecinstitute.com/courses/ethical_hacking_training.html
----------------------------------------------------------------------------


Current thread: