Snort mailing list archives

Re: mysql error prevails...


From: AllowOverride <allowoverride () gmail com>
Date: Thu, 04 Oct 2012 23:34:45 -0700

1. same server
2. no i havent. advise howto
3. where in the snort/by2/pp docs does it mention having to deal with
all this extra stuff - exactly what im talking about standardizing these
programs - yes its loopbacked with 127.0.0.1
4. wild card huh? advise - you know more about this than i do.

thanks


On Thu, 2012-10-04 at 21:18 -0400, beenph wrote:
On Thu, Oct 4, 2012 at 9:03 PM, AllowOverride <allowoverride () gmail com> wrote:
Oct  4 17:58:52 jupiter barnyard2[17983]: FATAL ERROR: database:
mysql_error: Access denied for user 'snort'@'localhost' (using password:
YES)



Is you MySQL server located on the same machine as the one your
running barnyard2
or is your MySQL located on a different server?

Have you tried in the barnyard2 configuration file  to use your server
loopback IP instead of localhost?

Also have you tried to wildcard your access for the user you configured?

UPDATE mysql.user SET host="%' WHERE user='YOURCONFIGUREDUSED';

REF: https://dev.mysql.com/doc/refman/5.5/en/adding-users.html

And make sure to flush--privileges/reload before testing .


Now you keep mentionning a "script". Are your sure your/the script is
working correctly?

-elz



ya know, i completely ganked and reinstalled this server, ran my script,
i can log in locally remotely via ssh with mysql -u snort -p
yet.... per manuals, howtos, official documentation, still.... i get

Oct  4 17:58:52 jupiter barnyard2[17983]: FATAL ERROR: database:
mysql_error: Access denied for user 'snort'@'localhost' (using password:
YES)


grants are fine, ufw is off, hostname is jupiter, snort.conf is set to
localhost, or anywhere else it is required in howtos, yet... i still get
this cheesy error,,, anyone come across this before? and saw it was
something not common?

mysql --version
mysql  Ver 14.14 Distrib 5.5.24, for debian-linux-gnu (i686) using
readline 6.2

mysqladmin --version
mysqladmin  Ver 8.42 Distrib 5.5.24, for debian-linux-gnu on i686

sighs.....



------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
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

Please visit http://blog.snort.org to stay current on all the latest Snort news!


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
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

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: