[imp] Database connectivity error
Bill Hilburn
bhilburn at frontier.net
Sat Feb 15 09:08:28 PST 2003
You can make the command line simpler: mysql -u horde -p horde
That reads "User = horde, using password, Database = horde" localhost is assumed
here.
Did you login to your MySQL server and create the horde user & privileges using
GRANT?
Did you flush privileges or reload MySQL?
Your command used "-h localhost" but the return message says
"horde at mail.example.com" which indicates to me that your /etc/hosts is
incorrect, it should have this line:
127.0.0.1 localhost
If your not using DNS but instead using your /etc/hosts file you should add
other lines for any other resolution you need and not change the 127.0.0.1 line.
*ATTENTION EVERYONE*
You should only use the domain example.com if your on a *closed* network, *NO*
Internet connection, *NO* DNS!
Why you ask, Because the domain example.com is a real registered domain, it was
registered and reserved for the use of printed technical material and "examples".
So, in your current configuration, if you setup your machine as mail.example.com
with an internet connection using external DNS then it will not resolve properly.
Quoting mohammad adil <adilbws at yahoo.com>:
> When I try to test my database connectivity, wiht the
> following command:
> "myql -h localhost -D horde -u horde -p" and give the
> password for my horde user
> it gives the following error:
> "ERROR 1045: Access denied for the user:
> 'horde at mail.example.com' ( Using password; YES )
>
> I don't know where I am wrong. Can anyone help me in
> rectifying this problem!
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> http://shopping.yahoo.com
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
Bill Hilburn
NOC Frontier Internet
-------------------------------------------------
This mail sent through frontier.net webmail service!
More information about the imp
mailing list