VMware Cloud Community
slahy
Enthusiast
Enthusiast
Jump to solution

Enable Support for MySQL Databases via SQL Plugin on VCO Appliance 5.1.1

Hi

I am trying to connect to a mysql database from a workflow using the SQL plugin 1.1.0 . Every time I run the Add Database workflow I get the following error

"java.lang.IllegalArgumentException: The driver 'com.mysql.jdbc.Driver' for 'MySQL' database cannot be found! (Dynamic Script Module name : addDatabase#8)"

I have found some documentation on enabling this in windows just not on the appliance. I have tried placing the jar file in

/opt/vmo/app-server/server/vmo/lib/ext

But I still get the error.

How do I instal this driver ?

Thanks.

0 Kudos
1 Solution

Accepted Solutions
Burke-
VMware Employee
VMware Employee
Jump to solution

When you placed the mySQL driver on your appliance, did you make sure to set permissions on the file properly? it should be owned by the vco user and vco group. The following commands should be issued from the /opt/vmo/app-server/server/vmo/lib/ext directory:

chown vco.vco *.jar

And:

chmod 640 *.jar

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter

View solution in original post

0 Kudos
2 Replies
Burke-
VMware Employee
VMware Employee
Jump to solution

When you placed the mySQL driver on your appliance, did you make sure to set permissions on the file properly? it should be owned by the vco user and vco group. The following commands should be issued from the /opt/vmo/app-server/server/vmo/lib/ext directory:

chown vco.vco *.jar

And:

chmod 640 *.jar

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos
slahy
Enthusiast
Enthusiast
Jump to solution

That did the job Burke, Thanks very much.

0 Kudos