tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Carlsson" <rolan...@swetravel.se>
Subject Re: MySQL jdbc connection url
Date Thu, 01 Nov 2001 12:36:08 GMT
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" <obj@takas.lt>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message