Jira database connection issue

Could Not Find Driver With Class Name: com.mysql.jdbc.Driver

Could Not Find Driver of MySQL connector when installing the Jira on Linux machine using the bin package.

So you just need to download the MySQL Connector and place .jar file in the location. Jira is used to find out the bug in a software. You need a database connection to connect with the Jira Application.

You can use MySQL 5.6 or above for Jira Applications. 

Check Out : How To Enable Slow Query In MySQL

mysql error while connecting

Step 1 : Download MySQL Connector 

wget MySQL Connector

Step 2 : Extract the MySQL Connector file,

tar -zxf mysql-connector-java-5.1.35.tar.gz

Step 3 : Copy the MySQL connector jar file to below location,

Check Out : Mysql Error “Too Many Connections”

cp mysql-connector-java-5.1.35-bin.jar /opt/atlassian/jira/lib

Step 4 : Now restart the Jira Service

./startup.sh

start jira service

Also make changes in vim /etc/my.cnf

mysql configuration file

Check Out : Different Ways of Finding Table Size In Mysql Server

Step 5 : Now restart the mysqld service and Jira

systemctl restart mysqld

./startup.sh

database connection with jira

You’re done

Sponsored

LEAVE A REPLY

Please enter your comment!
Please enter your name here

one × two =