S

Secret Agent

Guest
I had already applied a servlet and restarted Tomcat

{
Class.forName("com.mysql.jdbc.Driver").newInstance();
connection = DriverManager.getConnection("jdbc:mysql://"+sqlHost+"/user_biliyormusun?user=user_unistan&password=PASSWORD");
stmt = connection.createStatement();


exception is : Class not found


Anyone know what is causing this? Not sure what logs to check to be honest

I had Tomcat installed via WHM and installed JDBC via this method according to another thread here

wget http://hostitnow.com/downloads/updatejdbc.sh
chmod 755 updatejdbc.sh
./updatejdbc.sh