tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Phillips <p...@partitura.com>
Subject Re: JDBC authentication configuration
Date Mon, 14 Jan 2002 22:19:08 GMT
Thanks to David!

This fixed my authentication problem!

--On Monday, January 14, 2002 10:22 AM -0500 David Smith <dns4@cornell.edu> 
wrote:

> This may or may not be the full problem, but one glaring error is in the
> connectionURL of your server.xml file.  It should read as follows.  Note
> the URL for making a  connection to a MySQL database uses an & symbol
> before 'password' and in XML  it has to be encoded.  Hope this helps you
> out.

> 	connectionURL="jdbc:mysql://localhost/rmta?user=myuser&amp;password=mypa
> ssword"


I copied the URL directly from the Apache-Jakarta-Tomcat Realm 
Configuration How-To, and it shows only the semicolon following the 
user=username pair.  It doesn't mention the ampersand at all.  Should this 
be changed in the docs (since the example is showing a connection to a 
mysql database)?

Thanks
Paul Phillips

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message