IlanGanor
Posts: 8
Joined: Mon Jan 28, 2013 3:33 pm

MySQL + JAVA

Mon Jan 28, 2013 3:38 pm

hello

I am using Debian “Wheezy”
JRE: java version "1.7.0_10"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_10-b18, headless)
Java HotSpot(TM) Embedded Client VM (build 23.6-b04, mixed mode)

Java programs run great , MySQL is installed and working great.

for some reason the distribution (done with tomcat+servlet communication to mysql) does not work
the problematic part is the mysql connection part.

BTW this installation works great on other server deployment , but not on the Raspberry

any ideas why?

User avatar
xranby
Posts: 538
Joined: Sat Mar 03, 2012 10:02 pm
Contact: Website

Re: MySQL + JAVA

Mon Jan 28, 2013 4:25 pm

Please post the java exception you get.

Most likely you need to install the MySQL JDBC Driver
http://dev.mysql.com/downloads/connector/j/3.1.html
Xerxes Rånby @xranby I once had two, then I gave one away. Now both are in use every day!
twitter.com/xranby

Return to “Java”

Who is online

Users browsing this forum: No registered users and 2 guests