[Archivesspace_Users_Group] MySQL connector question
Blake Carver
blake.carver at lyrasis.org
Fri Oct 9 09:20:23 EDT 2020
Try using the older connector,
https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.49.tar.gz
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Peter Heiner <ph448 at cam.ac.uk>
Sent: Friday, October 9, 2020 8:13 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] MySQL connector question
Neal, Rick wrote on 2020-10-09 11:47:06:
> I checked my CLASSPATH but found it was empty. My java is using
> /bin/java. Could my issues simply be that the CLASSPATH is empty? Do
> I want to add java to the CLASSPATH by doing this: export
> CLASSPATH=/bin/java and then test to see if everything just starts
> working?
I realise capitalising 'classpath' was a mistake. Some Java apps'
startup scripts make use of this, others use the java binary's -cp or
-classpath flag directly. ArchivesSpace's classpath does not include
system directories like /usr/share/java where the mysql-connector-java
package puts its files. You need to copy or link the connector found in
/usr/share/java/mysql-connector-java-8.0.12.jar to the main
archivesspace/lib directory.
p
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20201009/7c6f867c/attachment.html>
More information about the Archivesspace_Users_Group
mailing list