Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

 

 

 

Home > Success Center > Web Help Desk (WHD) > Error: Unable to connect to database

Error: Unable to connect to database

Overview

This article provides brief information and steps to resolve the following error:

Unable to connect to database.

Environment

All WHD versions

Cause

 

In order to ensure compliance with MySQL licensing restrictions, the MySQL JDBC driver is no longer bundled with the Web Help Desk. If you are connecting to a MySQL database (such as that used by certain asset discovery connections), you will need to manually install the MySQL JDBC driver.

Resolution


1. Download the latest MySQL JDBC Driver from http://dev.mysql.com/downloads/connector/j/ (choose Platform Independent variant and download it as ZIP archive). 

2. Locate JDBC driver mysql-connector-java-<version>-bin.jar inside the downloaded ZIP archive.

3. Copy the JDBC driver into one of the following extension directories: 
  •  Windows -  \Program Files\WebHelpDesk\bin\jre\lib\ext
  •  Mac - /Library/Java/Extensions
  •  Linux - /usr/local/webhelpdesk/bin/jre/lib/ext

4. Restart Web Help Desk.
Last modified
04:40, 23 Jun 2016

Tags

Classifications

Public