Snort mailing list archives

Re: error: 'Access denied for user 'root'@'localhost' (using password: NO)'


From: "Tedi Heriyanto" <tedi.heriyanto () gmail com>
Date: Sun, 2 Nov 2008 21:27:43 +0700

Hi Jose,


On Sun, Nov 2, 2008 at 7:10 AM, Jose Manuel Colon <jsmclon () gmail com> wrote:
SAT:/usr/src/snort-2.8.3.1# mysqladmin -u root password "psswd"
Have you try :

# mysqladmin -u root --password "mypassword"

Here is the info according to the mysqladmin manual :

<snip>

--password[=password], -p[password]

The password to use when connecting to the server. If you use the
short option form (-p), you cannot have a space between the option and
the password. If you omit the password value following the --password
or -p option on the command line, you are prompted for one.

Specifying a password on the command line should be considered insecure.
</snip>

Or better yet just use the following command :

# mysqladmin -u root --password

Hope this help.
-- 
cheers,

tedi
Blog      : http://theriyanto.wordpress.com
Website : http://tedi.heriyanto.net
You Need More Than Awareness : Stay Alert!

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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: