At 03:58 PM 9/14/01 +0200, jean.schuller wrote:
>         I'm under root and say :mysql -u root -p password and
>         mysql says ERROR 1045: Access denied for user: 'root@localhost'
>(Using password: YES)
>         What can this password be ?? where can I get it ??

Did you set a password with mysqladmin?  In any event, it looks like your 
syntax is incorrect for getting into the database.  You shouldn't specify 
the password after the -p switch.  By specifying the -p switch you'll be 
prompted for the password.  In other words, try this:

mysql -u root

If that doesn't work try:

mysql -u root -p

and then when it prompts for the password, just hit Enter.

I would strongly recommend setting a root password for mysql.  See 
mysqladmin for that.

Steve


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to