Re: tomcat 6, ubuntu, mysql connection
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 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) > 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 > >
Re: tomcat 6, ubuntu, mysql connection
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) 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
Re: tomcat 6, ubuntu, mysql connection
Hi Mihamina please refer to tomcat docs: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations Flavio Atenciosamente, Flavio Crispim - GEDEM SulAmerica associada ao ING 5ยบ Andar asa Oeste - Morumbi Rota: 111-5753 (11) 3779-5753 "Mihamina Rakotomandimby (R12y)" gravou em 27/01/2009 05:37:15: > 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
tomcat 6, ubuntu, mysql connection
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