tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Phillips <>
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 <> 

> 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)?

Paul Phillips

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message