Re: Problem with tomcat realms - can't connect to MySQL

2006-06-04 Thread Sarah Parrott
That works! Thank you! Sarah :) On 04/06/06, Guido Schoepp <[EMAIL PROTECTED]> wrote: Sarah Parrott schrieb: > and in my servers.xml document: > connectionName="tomcat" connectionPassword="pword" > connectionURL="jdbc:mysql://localhost/authority" driverName=" > org.gjt.mm.mysql.Driver" roleNa

Re: Problem with tomcat realms - can't connect to MySQL

2006-06-04 Thread Guido Schoepp
Sarah Parrott schrieb: and in my servers.xml document: [...] I've added the jar file for the jdbc driver to the classpath for the project, and I can connect to the database fine through eclipses 'Database Explorer' using the same connection URL. Any ideas why this is not working? By configuri

Problem with tomcat realms - can't connect to MySQL

2006-06-03 Thread Sarah Parrott
Hi, I'm trying to use realms in tomcat to authenticate people at a website. I'm using eclipse to do this in, with a MySQL database to hold the usernames, passwords and roles. When I try to start the server, thru eclipse, I get the following output: 02-Jun-2006 15:25:27 org.apache.catalina.core.