Snort mailing list archives

Re: problem with snortcenter


From: Irwan Hadi <irwanhadi () phxby com>
Date: Sun, 19 Oct 2003 01:46:37 -0600

On Sun, Oct 19, 2003 at 01:10:21PM +0800, samwun wrote:

I got the following error when I tried to access snortcenter db:

[root@nids snortcenter]# echo "CREATE DATABASE snortcenter;" | mysql -u
root -p
Enter password: 
[root@nids snortcenter]# mysql -u root snortcenter <
snortcenter_db.mysql
ERROR 1045: Access denied for user: 'root@localhost' (Using password:
NO)
[root@nids snortcenter]# /usr/local/mysql/bin/mysql
ERROR 1045: Access denied for user: 'root@localhost' (Using password:
NO)
[root@nids snortcenter]#

How can I solve the above problem?

You forgot the -p to enter your password.
put mysql -u root -p snortcenter < snortcenter_db.mysql



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
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: