Home page logo

basics logo Security Basics mailing list archives

Re: mysql.sock
From: "Gabriel Orozco" <gabriel_orozco () mx sumida com>
Date: Tue, 9 Mar 2004 17:49:58 -0600

you must first create the main database with

su mysql -c "/usr/bin/mysql_install_db"

and then start mysql with /etc/rc.d/rc.mysqld start

after that, your .sock file will be in the default directory:

hope this helps, even while is not something for this list.


----- Original Message -----
From: "Lawrence, Michael" <MLawrence () soroc com>
To: <security-basics () securityfocus com>
Sent: Tuesday, March 09, 2004 2:31 PM
Subject: mysql.sock

I have a fresh install of Slackware 9.1. Installed Mysql with the install
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,
is not on the system. How do I go about creating mysql.sock?


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: 

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]