<div dir="ltr"><div>I sucessfully installed the Noark5 database with noark5-validator in a MySQL database on Debian unstable.<br></div><br>On Debian, install the package mysql-client, php-mysql and php-doctrine-dbal<br><br>root@linux:/# apt-get install mysql-client<br>root@linux:/# apt-get install php-mysql<br>root@linux:/# apt-get install php-doctrine-dbal<br><br>Checkout noark5-validator from <a href="http://github.com">github.com</a>:<br><br>oka@linux:~/src$ git clone <a href="https://github.com/KDRS-SA/noark5-validator.git">https://github.com/KDRS-SA/noark5-validator.git</a><br><div>oka@linux:~/src$ cd noark5-validator/src/<br><br>In noark5-validator/src/importExtraction.php, enter a new MySQL database:<br><br>    $conn = array(<br>        &#39;driver&#39; =&gt; &#39;pdo_mysql&#39;,<br>        &#39;user&#39; =&gt; &#39;noark5&#39;,<br>        &#39;host&#39; =&gt; &#39;localhost&#39;,<br>        &#39;password&#39; =&gt; &#39;&lt;your_password&gt;&#39;,<br>        &#39;charset&#39; =&gt; &#39;utf8&#39;,<br>        &#39;driverOptions&#39; =&gt; array(1002=&gt;&#39;SET NAMES utf8&#39;),<br>        &#39;dbname&#39; =&gt; &#39;noark5&#39;<br>    );<br><br>Enter the noark5-validator/src directory and run the script<br><br>oka@linux:~/src/noark5-validator/src$ php importExtraction.php -d$HOME/src/noark5-validator/src/resources/test-uttrekk/uttrekk1/n5uttrekk/ -t=noark5 -v=31 -s=y -i$HOME/src/noark5-validator/src/resources/test-uttrekk/uttrekk1/info.xml PHP Warning:  Declaration of ArkivstrukturDBImporter::preProcessFile($classType) should be compatible with ArkivstrukturParser::preProcessFile() in /home/oka/src/noark5-validator/src/handler/ArkivstrukturDBImporter.php on line 4<br>PHP Warning:  Declaration of ArkivstrukturDBImporter::preProcessRecord($classType) should be compatible with ArkivstrukturParser::preProcessRecord() in /home/oka/src/noark5-validator/src/handler/ArkivstrukturDBImporter.php on line 4<br>PHP Warning:  Declaration of ArkivstrukturDBImporter::postProcessFile($classType) should be compatible with ArkivstrukturParser::postProcessFile() in /home/oka/src/noark5-validator/src/handler/ArkivstrukturDBImporter.php on line 4<br>PHP Warning:  Declaration of ArkivstrukturDBImporter::postProcessRecord($classType) should be compatible with ArkivstrukturParser::postProcessRecord() in /home/oka/src/noark5-validator/src/handler/ArkivstrukturDBImporter.php on line 4<br>DocumentDescription::__toString id[], systemId[2872a56c-7e3a-416c-8cad-3ffb9e8f49ce]<br>DocumentDescription::__toString id[], systemId[2872a56c-7e3a-416c-8cad-3ffb9e8f49ce]<br>DocumentDescription::__toString id[], systemId[942486fd-c763-47c2-a75c-48a62a727e81]<br>DocumentDescription::__toString id[], systemId[6a71028c-5023-4768-95bf-733a706ae06e]<br><br>This creates 52 Noark5 tables and populates the MySQL database with noark5 tables and the data in noark5-validator/src/resources/test-uttrekk/uttrekk1/info.xml<br><br>mysql&gt; show tables;<br>+-------------------------------+<br>| Tables_in_noark5              |<br>+-------------------------------+<br>| author                        |<br>| basic_file_storage_location   |<br>| basic_record                  |<br>| basic_record_author           |<br>| basic_record_comment          |<br>| basic_record_keyword          |<br>| basic_record_storage_location |<br>| case_file                     |<br>| case_file_precedence          |<br>| case_party                    |<br>| class                         |<br>| class_keyword                 |<br>| classification_system         |<br>| classified                    |<br>| comment                       |<br>| conversion                    |<br>| correspondence_part           |<br>| cross_reference               |<br>| deletion                      |<br>| disposal                      |<br>| disposal_undertaken           |<br>| document_description          |<br>| document_description_author   |<br>| document_description_comment  |<br>| document_object               |<br>| electronic_signature          |<br>| file                          |<br>| file_comment                  |<br>| file_keyword                  |<br>| fonds                         |<br>| fonds_creator                 |<br>| fonds_fonds_creator           |<br>| fonds_storage_location        |<br>| keyword                       |<br>| meeting_file                  |<br>| meeting_participant           |<br>| meeting_record                |<br>| precedence                    |<br>| record                        |<br>| record_case_party             |<br>| record_correspondence_part    |<br>| record_document_description   |<br>| record_sign_off               |<br>| registr_entry_precedence      |<br>| registry_entry                |<br>| screening                     |<br>| series                        |<br>| series_classfication_system   |<br>| series_storage_location       |<br>| sign_off                      |<br>| storage_location              |<br>| workflow                      |<br>+-------------------------------+<br>52 rows in set (0.01 sec)<br><br></div><div>Best,<br></div><div>Ole Aamot<br></div></div>