How to install com.mysql.jdbc.Driver "Could not find driver with class name: com.mysql.jdbc.Driver"?

RayofCommand picture RayofCommand · Sep 4, 2013 · Viewed 17.7k times · Source

I am setting up Atlassian Confluence and when it comes to choosing the database I stuck when I choose "use external Mysql DB" I saw some tutorials, but for me it didnt work out the way it should work. I use ubuntu 12.04 Server and have mysql installed. Now I tried to run confluence with an external database and I need this connector driver to make it work.

I already did :

sudo apt-get install libmysql-java

and I have java installed.

java version "1.6.0_27"

any help is upvoted fast :)

Answer

Jayaram picture Jayaram · Sep 4, 2013

You don't have mysql-connectorxx.jar in your class path make sure its added the error you are facing will be resolved