tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Harms <j...@clarionmag.com>
Subject Re: How to configure Mysql with Tomcat.
Date Thu, 16 Nov 2000 15:19:53 GMT
Tony,

> connPool[i]=DriverManager.getConnection("jdbc:mysql://"+dbServer+"?user="+db
> 
> Login); 
> As for connecting with a non-empty password, I don't know
> how to do that. 
> If you figure it out, please let me know.
>

Passing the userid and password separately works fine for me:

   connection = DriverManager.getConnection(connectionURL,
    "userid", "password");
    

Dave

Dave Harms
jdev@clarionmag.com


Mime
View raw message