You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Antonio Gallardo <ag...@agssa.net> on 2006/06/08 08:15:03 UTC

Re: localhost/hostname in datasource

Hi Stefan,

Seems to be a database permissions issue. Before configuring in cocoon, 
please make sure you can access your database using a jdbc client 
application ie: SQuirrel SQL or from the mysql admin tool.

Best Regards,

Antonio Gallardo.

[1] http://squirrel-sql.sourceforge.net/

Stefan Burkard escribió:
> 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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org