Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Users
[Top] [All Lists]

Re: Re[2]: [Snort-users] Problem with socket

Subject: Re: Re[2]: [Snort-users] Problem with socket
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

<Prev in Thread] Current Thread [Next in Thread>