Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Set the setting settings.common.database.class to dk.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)
  • Install the MySQL database (v. 5.0.X) on a machine of your choice
  • By using a MySQL database >= V. 5.5.5 you need do change the default database engine from InnoDB to MyISAM. Add the following setting to the mysqld section of your my.cnf File.

    Code Block
    titlecode
    default-storage-engine=MYISAM
  • 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";
    };
    

...