From the course: Java EE: Application Servers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Prepare MySQL driver

Prepare MySQL driver

From the course: Java EE: Application Servers

Start my 1-month free trial

Prepare MySQL driver

- [Instructor] WebLogic currently has a version 5 driver, and we're using a MySQL version 8 driver. How do we solve this? There's a couple ways we're going to do this, and this would really work with any driver that's not compatible with WebLogic. The first thing we're going to do is going to switch back to our terminal, I'm going to stop the WebLogic instance, then we're going to CD to the Oracle Middleware, Oracle Common, modules, driver. And the modules common directory contains all the various libraries and drivers that are needed by WebLogic, including MySQL version 5. We're going to do two things. First, I've already downloaded and unzipped the latest MySQL version 8 driver, and we can see that the version 5 driver is here in the modules directory by typing "grep MySQL". What we're going to do is copy the latest version, going to paste it here, we'll do a grep again, now we can see both. The second thing we're going to do is rename the directory for the version 5 driver, and the…

Contents