On Fri, 8 Jun 2001, nyon wrote:

> I installed MySQL on Windows NT.
> Currently, I login in using annoyomous user.
> I can't seem to login in as root user.
> The syntax is : mysql -u root -p xxx

With the above command mysql thinks you are trying to access
database xxx using a password to be specified on the command line.
The correct syntax is:

mysql -u root -pxxx

Note that there is no space between the -p and the password.
Also note that unless you are executing this command from
within a script this is insecure as other users could sniff
your database password from the command line.

Neil


---------------------------------------------------------------------
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