JDBC connection problem to apache tomcat 5.0.27
843859Jul 7 2008 — edited Jan 20 2015Hi, i`m having a database connection problem with my apache tomcat.
I`m attempting to link my servlet to a database in MySQL . However , it always shows an exception.
Exception in init(): Unable to establish connection to database Elearning
I have tried anything that i know of and it still shows the same error.
I am currently using MySQL server 5.0 , mysql-connector-java-3.1.12-bin.jar .
The strange thing is an instance of the jdbc driver is created but it can`t connect me to the database.