| | 115 | |
| | 116 | == Running {{{dvoToMySQL}}} == |
| | 117 | |
| | 118 | Like all other {{{ippToPsps}}} components, {{{dvoToMySQL}}} takes one argument which is a path to a config file. For example: |
| | 119 | |
| | 120 | {{{ |
| | 121 | ./run.sh ./dvoToMySQL.py configs/lap.xml |
| | 122 | }}} |
| | 123 | |
| | 124 | This will begin to import the DVO database pointed to in the config into the scratch MySQL database also detailed in the config. The program can be started and stopped, as it will 'remember' which DVO files it has read and imported. |
| | 125 | |
| | 126 | There is a second 'hidden' argument to {{{dvoToMySQL}}}, namely {{{reset}}}. This is dangerous, as this option will reset all the tables necessary to import a DVO database. If you have spent days importing a DVO database, then run {{{dvoToMySQL}}} using this option, everything wilol be lost. The user is prompted to ask whether they really want to proceed. |