Snort mailing list archives

Re: Problem with socket


From: "John Creegan" <jcreegan () questarweb com>
Date: Fri, 29 Apr 2005 15:00:18 -0500

On Fri, 2005-04-29 at 23:08 +0400, slice wrote:
Sorry, i forgot to tell that when i have this string in /etc/my.cnf

socket=/var/lib/mysql/mysql.sock

i can`t login to MySQL. He told me that can`t open /tmp/mysql.sock

I started MySQL-server with standard options (may be)
 #./usr/local/mysql/bin/mysqld_safe --with-user=mysql



Slice...
Notice the "." just after the prompt?  This dot means "start down this directory path specification from the directory 
you are currently in."

That means you're not running (or attempting to run)  "/usr/local/mysql/bin" anything, bur rather attempting to run 
"whatever_dir_i_am_in/usr/local/mysql/bin/mysql_safe --with-user=mysql".  Unless you are in the "/" dir the mysqld 
executable would not be found.

Hope that helps!



This message (including any attachments) contains confidential
information intended for a specific individual and purpose,
and is protected by law.  If you are not the intended recipient,
you should delete this message and are hereby notified that any
disclosure,copying, or distribution of this message, or the taking
of any action based on it, is strictly prohibited.



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: