Hi Gleb,
Here's the output:
root@cats:/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 <gleb.paharenko@stripped> wrote:
>
> Hello.
>
>
>
> ># mysql -u=root
>
>
>
> What is 'SELECT CURRENT_USER();' reporting for you?
>
>
>
>
>
> Rajesh Olafson <rolafson@stripped> 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
> / /|_/ / // /\ \/ /_/ / /__ Gleb.Paharenko@stripped
> /_/ /_/\_, /___/\___\_\___/ 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/mysql?unsub=1
>
>