...
- Set the setting
settings.common.database.class
todk.netarkivet.harvester.datamodel.MySQLSpecifics
- Set the setting
settings.common.database.url
correctly:jdbc:mysql://localhost/fullhddb?user=root&password=secret
(substitute the server host for localhost, and username/password for root/secret)
Since NAS Version 4.0 you need to add zeroDateTimeBehavior=convertToNull to the Connection-String:jdbc:mysql://localhost/fullhddb?user=root&password=secret
&zeroDateTimeBehavior=convertToNull (cf.
)Jira Legacy server SBForge key NAS-2188 - Install the MySQL database (v. 5.0.X) on a machine of your choice
- Download a mysql-connector-java-5.0.X-bin.jar from http://dev.mysql.com/downloads/connector/j/5.0.html
Add a permission to the policy file used by your installation, if you use security. The following will allow NetarchiveSuite to access MySQL on localhost on the default port 3306.
Code Block grant { permission java.net.SocketPermission "127.0.0.1:3306", "connect, resolve"; };
...