It url should be formed like any other url so you should use & to separate name=value. Not ; as u have done
jdbc:mysql://localhot/db?user=name&password=pw Regards Roland Carlsson ----- Original Message ----- From: "Andrius" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 01, 2001 1:51 PM Subject: MySQL jdbc connection url > Hello, > What's the correct MySQL jdbc connection url? I'm trying to setup > jdbcRealm on tomcat 4.0.1, > and using this url pattern : > connectionURL="jdbc:mysql://localhost/authority?user=test;password=test" > but it goes wrong - it says "Invalid authorization exception: Access > denied for user: 'test;password@host'. > I've configured server side permissions properly (mySQL accepts using > another client). thanx for any response. > > obj. > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>