How to install MySQL jdbc driver on CentOS 7

      No Comments on How to install MySQL jdbc driver on CentOS 7

To enable the MySQL database support for any java application or java servers like tomcat or jboss you will need to install MySQL jdbc driver on the server or they are also called as MySQL java connectors. This can be installed very easy yum install command. You can use below specific command to download the jdbc driver for the MySQL

yum install mysql-connector-java

Once you installed this package system will install a jar file which you can use in your applications or server to make use of the jdbc connections to MySQL. You can find the installed jar file path at

ls /usr/share/java/mysql-connector-java.jar

You can use above path to configure jdbc drivers required for any application

Leave a Reply