Hi,

I think it is a possible authority issue.

>From mysql database allow the user to access, like
> grant all privileges on myDatabase.* to [EMAIL PROTECTED]

Another possible thing, (not sure) is that the port number for mysql is
3306.
try ..

jdbc:mysql://127.0.0.1:3306/myDatabase...


rgds,

----- Original Message -----
From: "Stefan Burkard" <[EMAIL PROTECTED]>
To: <users@cocoon.apache.org>
Sent: Wednesday, June 07, 2006 3:17 PM
Subject: localhost/hostname in datasource


> hi cocoon-users
>
> I have a mysql-datasource defined in cocoon.xconf (like the example
below).
>
> <dburl>jdbc:mysql://127.0.0.1/myDatabase</dburl>
> <user>myUsername</user>
> <password>myPassword</password>
>
> what's strange now, is that I get an exception on startup that my
> data-access-user has no permission for the host [fully qualified
hostname].
>
> why does my database-url with localhost resolve to the hostname? this
> way I would have to grant access in mysql for the fully qualified
> hostname...
>
> thanks and regards
> stefan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to