Hi Gleb,

Here's the output:

[EMAIL PROTECTED]:/usr/local/mysql/bin:> ./mysql -u=root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 143 to server version: 4.1.10a-standard

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> SELECT CURRENT_USER();
+----------------+
| CURRENT_USER() |
+----------------+
| @localhost     |
+----------------+
1 row in set (0.01 sec)

mysql>


Thanks,

~RO

On 11/22/05, Gleb Paharenko <[EMAIL PROTECTED]> wrote:
>
> Hello.
>
>
>
> ># mysql -u=root
>
>
>
> What is 'SELECT CURRENT_USER();' reporting for you?
>
>
>
>
>
> Rajesh Olafson <[EMAIL PROTECTED]> wrote:
>
> >hanks Gleb.
>
> >
>
> >I get the exact same results when I connect with:
>
> >
>
> ># mysql -u=root
>
> >
>
> >---
>
> >Maybe a different issue but, for some reason I can't connect with
>
> >
>
> ># mysql --user=root
>
> >^^^
>
> >ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
>
> >password: NO)
>
> >
>
> >but I can with:
>
> >
>
> ># mysql -user=root
>
> >^^^
>
> >
>
> >MySQL v4.1.10a-standard.
>
> >
>
> >
>
> >Thanks for your time. I'm only a sporadic user of MySQL - so some of this
>
> >maybe a case of RTM.
>
> >
>
> >
>
>
>
> --
> For technical support contracts, goto https://order.mysql.com/?ref=ensita
> This email is sponsored by Ensita.NET http://www.ensita.net/
>    __  ___     ___ ____  __
>   /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
> / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
> /_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
>        <___/   www.mysql.com
>
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
>
>

Reply via email to