Snort mailing list archives

Re: Re[2]: Problem with socket


From: Paul Schmehl <pauls () utdallas edu>
Date: Fri, 29 Apr 2005 14:14:44 -0500

--On Friday, April 29, 2005 11:58:58 PM +0400 slice <1unixoid () list ru> wrote:

Ding!

Try starting it like this.

/usr/local/mysql/bin/mysqld_safe --with-user=mysql
--socket=/var/lib/mysql/mysql.sock
 it`s very strange:
unknown variable --with-user ?????? in mysql-logfile

and the parametr doesn`t help, when i try login
(/usr/local/mysql/bin/mysql -u root -p )he told me:
can`t connect through /tmp/mysql.sock

*Something* is telling mysql to use /tmp/mysql.sock for the socket, even though you've specifically started it with /var/lib/mysql/mysql.sock.

Is mysql running?

% ps auxw | grep mysqld

If it *is* running, paste the line from ps so we can see all the parameters. Something like this should work:
% ps auxwwwwwwww | grep mysqld

Here's mine (on FreeBSD, and I obfuscated the hostname in the pid):

ps -auxwwwwwwww | grep mysqld
root 166 0.0 0.0 644 252 con- I 14Apr05 0:00.01 /bin/sh /usr/local/bin/safe_mysqld --user=mysql --datadir=/var/db/mysql --pid-file=/var/db/mysql/myhost.pid mysql 221 0.0 8.3 283848 86964 con- S 14Apr05 449:46.09 /usr/local/libexec/mysqld --basedir=/usr/local/ --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/myhost.pid

}find / -name mysql.sock
/tmp/mysql.sock

I'm using the default socket location, and I haven't had any problems.

Paul Schmehl (pauls () utdallas edu)
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu


-------------------------------------------------------
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=20
_______________________________________________
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: