Re: [newbie] local connection failure
- From: "Bjorn Abelli" <bjorn_abelli@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 18 Sep 2005 14:08:31 +0200
"Guldo K" wrote...
> I've a newbie-question I'd like to ask...
> I've searched the archive with no luck...
> I can't establish a connection within my local machine.
[snipped Java code]
> but I get an error message like this:
> Host 'debian' is not allowed to connect to this MYSQL server
> (where 'debian' is my localhost) on the getConnection call.
>
> My user can connect to my local mysql server from any host.
> (table 'user' in the 'mysql' database)
>
> What's wrong?
I believe it doesn't have anything to do with Java or JDBC at all, but with
your configuration of MySQL.
AFAIK you have to acknowledge each user in a certain pattern in the MySQL
configuration, as in user@host.
I suggest you look into how you have configured the access rights for the
user "myLogin" or what you have called it.
// Bjorn A
.
- Follow-Ups:
- Re: [newbie] local connection failure
- From: Guldo K
- Re: [newbie] local connection failure
- References:
- [newbie] local connection failure
- From: Guldo K
- [newbie] local connection failure
- Prev by Date: [newbie] local connection failure
- Next by Date: Re: [newbie] local connection failure
- Previous by thread: [newbie] local connection failure
- Next by thread: Re: [newbie] local connection failure
- Index(es):
Relevant Pages
|
|