Re: mysql.sock
edict_at_ancientservility.net
Date: 03/15/04
- Previous message: Aditya, ALD [Aditya Lalit Deshmukh]: "RE: First Investigation - Need advice"
- Maybe in reply to: Lawrence, Michael: "mysql.sock"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 15 Mar 2004 05:49:02 -0600 To: security-basics@securityfocus.com
not sure why this is on this thread but...
it looks like a path problem to me. try creating a symlink to the actual
mysql.sock file, which is located in /tmp by default.
ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock
if that works then you may need to specify the path to the sock file when
you start mysqld, or change it in your my.cnf file.
----- Original Message -----
From: "Lawrence, Michael" <MLawrence@soroc.com>
To: "'Jeff Leveille'" <JLeveille@SunJournal.com>;
<security-basics@securityfocus.com>
Cc: "Lawrence, Michael" <MLawrence@soroc.com>
Sent: Wednesday, March 10, 2004 3:57 PM
Subject: RE: mysql.sock
> I have tried starting mysql using safe_mysqld. It fails to start. I
checked
> the error log in /var/lib/mysql and found that there was an error 2
> (permission problem) and it was unable to locate hosts.frm in
> /var/lib/mysql/mysql/. Checked the permissions and ownership, and
> everything for mysql is owned by the user mysql and that user has the
> read/write access. I have even gone as far as setting the permissions to
> read/write/exicute through the whole tree to see if that solved the issue.
> (Box is not connected to a network currently, so security is a non issue
for
> the moment.) This has not solved the issue. I am still getting the same
two
> errors. I have even tried reinstalling the main databases using
> mysql_install_db. This has not worked. Any ideas?
> Mike
---------------------------------------------------------------------------
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
----------------------------------------------------------------------------
- Previous message: Aditya, ALD [Aditya Lalit Deshmukh]: "RE: First Investigation - Need advice"
- Maybe in reply to: Lawrence, Michael: "mysql.sock"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|