Did you verify that the user that you are connecting to mysql with has host
based permissions on mysql(In other words, does the user have rights to the
database from your webserver as the webserver is the host in this case)?

On Tue, Jan 27, 2009 at 9:09 AM, Glen Peterson <g...@organicdesign.org>wrote:

> Some applications have the connection information inside the WAR file.
>  For instance, in tomcat/webapps/WEB-INF/classes/hibernate-config.xml
>
> If that's the case, you need to get the database information from the
> developer - the tables and users particularly.
>
> On Tue, Jan 27, 2009 at 2:37 AM, Mihamina Rakotomandimby (R12y)
> <miham...@lab.vectoris.fr> wrote:
> > Hi all,
> > An external developper sent me a war file to be put in webapps/.
> > Ok, the war was extracted and so on.
> > But that application has toconnect to mysql.
> >
> > My system is Ubuntu 8.10 64-bit, packages only.
> >
> > I have installed (some might be useless)
> > openjdk-6
> > tomcat-6
> >
> > What should I put in the server.xml file in order to have the application
> > connection to mySQL?
> >
> > I have all the rights on the mySQL DB server, I know the database to be
> > used.
> >
> > It's my first time with tomcat and I'm not so used with Java (but it's
> > coming... ;)).
> >
> > --
> > Chef de projet chez Vectoris
> > http://www.google.com/search?q=mihamina+rakotomandimby
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to