cancel
Showing results for 
Search instead for 
Did you mean: 

export utility - defaults to MySql

ddelapasse
Champ in-the-making
Champ in-the-making
With 4.2, I'm trying to create an acp file from a folder:

java -XX:MaxPermSize=512m -classpath /vol1/alfresco-4.2.f/tomcat/lib/servlet-api.jar:classes/alfresco/module:classes:lib/* org.alfresco.tools.Export -user admin -pwd XXXX -s workspace://SpacesStore -verbose -p /sys:system/sys:authorities  -d /tmp authorities.xml

My Alfresco uses postgresql, but something is defaulting to MySQL and am seeing:

2015-08-10 17:02:16,232  INFO  [alfresco.repo.admin] [main] Using database URL 'jdbc:mysql:///alfresco' with user 'alfresco'.
Caused by: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver

Can I override the connection string somehow???
1 REPLY 1

mrogers
Star Contributor
Star Contributor
you probably need an alfresco-global.properties file or possibly repository.properties in your classpath.