ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

com.mysql.jdbc.NonRegisteringDriver when running SQL Command

book

Article ID: 213457

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

We're getting below error when executing a MySQL Command

Failed to initialize driver: com.mysql.jdbc.NonRegisteringDriver

 

 

Cause

There are at least two causes for this error:

  1. A jdbc driver is not available. 
  2. A driver classname has not been supplied to the action.

Environment

Release : 6.6

Component : CA RELEASE AUTOMATION ACTION PACK

Resolution

To resolve the issue you will need to:

  1. Download a mysql jdbc driver and import it using one of the following:
    • Automation Studio -> Administration -> Action Management; or
    • ROC -> Administration -> Action Management
  2. Specify a value (ex: com.mysql.jdbc.Driver) in the actions field: Driver Class Name [String]