Michael Hoennig <[EMAIL PROTECTED]> wrote:

>> > But we can NOT connect locally by host:port:
>> 
>> >    local-system> mysql -h 66.70.34.150 -O 3307 -u xyz00 -p
>> >    => ERROR 1045: Access denied for user: 'xyz00@localhost' (Using
>> > password: YES)
>> 
>> > On a mysqld which is accessible only locally the both INSERT
>> > statements above would have  "localhost" instead of "%".  Why does
>> > "localhost" not qualify for "%"? 
>> 
>> Probably because you already have entry for 'localhost','%' or something
>> to that effect.

> nope, there is not such an entry.  But IF we add it, we can login. This
> just means that we have to insert two entries (% and localhost) each.  It
> looks clumsy to me.

One question - are sure that you have wrote "-O" instead "-P" as listed ?

> local-system> mysql -h 66.70.34.150 -O 3307 -u xyz00 -p 

-- 
Dimitry


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