[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] raq550 jsp mysql



 --- Augustus Gingell <a.gingell@xxxxxxxxxx> wrote: >
You need to install one,
> mysql connectorJ is what I use and it works fine,
> from MySQL.com it is a much 
> improved version of the mm_MySQL drivers.
> mysql-connector-java-2.0.14-bin.jar is the file and
> you can either add to 
> tomcat, or put it in /usr/java/jdk1.3/jre/lib/ext
> then anything using java 
> will have access to the classes you will need to
> restart Tomcat so that it 
> knows the knew classes.
> You also will have to allow Java io permissions for
> port and IP Address in the 
> tomcat.policy file
> (/usr/java/jakarta-tomcat-3.2.3/conf/tomcat.policy),
> if 
> you need jsp's to connect to MySQL servers on the
> network.


Thanks, very helpful. I came across this last night
via another site, and used
mysql-connector-java-3.0.6-bin.jar instead and added
the permissions to the policy file. It appears to be
talking to mysql now :)



=====

--

Ursula


http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.