Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1655

Mysql driver class is pointing to wrong path on admin console while creating datasource

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.6.Final
    • 3.0.10.Final, 3.2.0.Final
    • None
    • None

      driver.get(DRIVER_CLASS_NAME).set("com.mysql.jdbc.Driver");

      This should be:
      driver.get(DRIVER_CLASS_NAME).set("com.mysql.cj.jdbc.Driver")

      The package structure of mysql driver has changed since Connector: J/8

      While creating datasource from console for jboss eap 7.2.5 driver class added is:
      <driver-class>com.mysql.jdbc.Driver</driver-class>

              Unassigned Unassigned
              rhn-support-spatra Sweta Patra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: