OMOP/MySQL/VocabImport
Peter Groves Williams 7db262cbb6 Add support for MySQL and a Mac/Unix loader script 2016-10-03 10:33:07 +01:00
..
README.md Add support for MySQL and a Mac/Unix loader script 2016-10-03 10:33:07 +01:00
omop_cmd_vocabulary_load-MySQL.sh Add support for MySQL and a Mac/Unix loader script 2016-10-03 10:33:07 +01:00

README.md

Common-Data-Model / MySQL Loader

This folder contains the a bash script for loading the csv data files. It should work on both MAC and Debian Family (eg Ubuntu)

It has two modes:

Interactive

 ./omop_cmd_vocabulary_load-MySQL.sh  
CDMV5 Loader  
Where have the CDMV5 files been unzipped to?
/users/peterw/tmp/cdm
Local Database Schema?  
cdm  
Local Database username?  
cdm_user  
Local Database password?  
cmd_pwd

Headless

In this mode, all the parameters required are passed on the command line and the nohup command means you can disconnect from the server and the processs will not terminate. Output is directected to a nohup.out file in the current directory

nohup ./omop_cmd_vocabulary_load-MySQL.sh /users/peter/tmp/cdm cdm cdm_user cdm_pwd