PROTECTED]
Objet : RE: MySQL DataSource using Tomcat 4
The thing to remembert is that the ENC does *not* use MySQL's own
connection pool implementation -- it uses its own (Tyrex). And Tyrex's
mechanism for connectiong to the database requires logging on with a
username and password.
Craig
On Fri
PROTECTED]]
Envoye : lundi 17 decembre 2001 12:34
A : Tomcat Users List
Objet : RE: MySQL DataSource using Tomcat 4
OK, now I think I'm getting it.
I have modified my server.xml file so that it includes a login/password that
permits connecting to the database:
Resource name=jdbc/pim auth=Container
You also need the database username and password (in the user and
password parameters, respectively). More info in the JNDI How-To, which
is part of the docs shipped with Tomcat and also available online.
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html
Craig
On Fri,
part de Craig R.
McClanahan
Envoye : vendredi 14 decembre 2001 18:40
A : Tomcat Users List; [EMAIL PROTECTED]
Objet : Re: MySQL DataSource using Tomcat 4
You also need the database username and password (in the user and
password parameters, respectively). More info in the JNDI How-To, which
is part
Dec 2001 19:16:39 +0100
From: Diego Castillo [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: MySQL DataSource using Tomcat 4
Hello Craig,
Thanks for your answer. I have tried your suggestion, but I