Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th January 2008, 03:19
n74jw n74jw is offline
Junior Member
 
Join Date: Oct 2006
Location: Philly, PA USA
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to n74jw
Question MySQL Error in Intrusion Detection: Snort, MySQL exercise

Hello,

I am trying to get the Intrusion detection exercise to work, and have reached a snag at the end of step 11.

The code: mysql -D snort -u root -p < /root/snorttmp/snort-2.8.0.1/schemas/create_mysql

produces the following output:

ERROR 1045 (28000): Access denied for user '-root'@'localhost' (using password: YES)

I did reset the mysql password to match what I set in the snort.conf file. A blank password produces the same output but with a password: NO change.

I do not know anything about setting up mysql.

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 11th January 2008, 03:34
volksman volksman is offline
Senior Member
 
Join Date: May 2007
Posts: 124
Thanks: 2
Thanked 16 Times in 14 Posts
Default

in the error you report it has a - beside root. Is that actually the error or is that a typo when making your post?

If it's the error make sure you have just '-u root' in the command you are running.
Reply With Quote
  #3  
Old 11th January 2008, 03:40
n74jw n74jw is offline
Junior Member
 
Join Date: Oct 2006
Location: Philly, PA USA
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to n74jw
Default You called it!

Thanks

You got it. I should be more careful before I start a thread! I was staring at this for around 45min too...

Thanks again / Muchas Gracias
Reply With Quote
  #4  
Old 11th January 2008, 03:53
volksman volksman is offline
Senior Member
 
Join Date: May 2007
Posts: 124
Thanks: 2
Thanked 16 Times in 14 Posts
Default

hahaha....been there before....know how that feels...glad I could help. BTW that howto tells you to comment out lines 97,98 and 452 in the web.rules. Don't bother. I didn't have to with 2.8.0.1...
Reply With Quote
  #5  
Old 11th January 2008, 04:14
n74jw n74jw is offline
Junior Member
 
Join Date: Oct 2006
Location: Philly, PA USA
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to n74jw
Default Good to know

Thanks for the tip... One other thing I did notice was that the section:

Find the line that says "base_header" and change it to "header".

I could not find, that is the only other hang-up. I don't know how to search for text in nano.

Thanks again!
Reply With Quote
  #6  
Old 11th January 2008, 05:01
volksman volksman is offline
Senior Member
 
Join Date: May 2007
Posts: 124
Thanks: 2
Thanked 16 Times in 14 Posts
 
Default

yeah I think that is fixed now too...I didn't have to modify that line...

no clue how to search for text in nano....use vi and hit / then type header and hit enter...but I don't think you'll find a base_header in there...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LAMP System Fedora Core 6 MySQL start error gavino HOWTO-Related Questions 13 21st November 2007 19:13
Messed up ISPConfig-2.2.8 Upgrade Morons Installation/Configuration 4 29th November 2006 12:17
Intrusion Detection With Snort kungfuice HOWTO-Related Questions 1 5th October 2006 16:29
Intrusion Detection With BASE And Snort StupidScript HOWTO-Related Questions 7 12th August 2006 20:02
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 04:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.