ClassNotFoundException when trying to connect to external MySQL server

ClassNotFoundException when trying to connect to external MySQL server

Hello. I'm trying to set up my copy of DeviceExpert to use an external MySQL server, but I'm not getting good results. I understand that I would need to run ChangeDB.sh to do this, but when I do and enter the information, I get a ClassNotFoundException in org.gjt.mm.mysql.Driver. I know that my settings are correct as I can connect with mysql via the command line using the exact same credentials and server, and I can access the database I need. However, with the Database Configuration Manager I get the error message "MySql Server is not running. Check for hostname and credentials."

The stack trace of the exception is as follows:

java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.adventnet.ncm.util.NCMChangeDBServer.isDBServerRunning(NCMChangeDBServer.java:237)
at com.adventnet.ncm.util.NCMChangeDBServerGUI.doCheckDBOperation(NCMChangeDBServerGUI.java:507)
at com.adventnet.ncm.util.NCMChangeDBServerGUI$5.mouseReleased(NCMChangeDBServerGUI.java:307)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

I am running the application on a CentOS 6 box, running it as root for testing purposes and getting nowhere fast. If anyone could point me in the right direction (or, better yet, tell me how I can just set the application to use my MySQL server via command line) I'd appreciate it.

                  New to ADSelfService Plus?