Hi there,
I am a little confused by the nomenclature. I am trying to get Achilles docker to work and I am using the following in env_vars:
ACHILLES_CDM_SCHEMA=shs
ACHILLES_VOCAB_SCHEMA=shs
ACHILLES_RES_SCHEMA=shs_achilles
Both schemas exist within the same SQL Server database. However, when I run the docker image I get the following error messages, indicating that they may have to be separate databases instead? If this is the case I can do this, but then why is it trying to write to the CDM schema/database? I thought it would be creating tables in the RES schema/database? I gave the user write privileges to RES, but only read on CDM.
Connecting using SQL Server driver
Warning: Cohort table not found, will skip analyses 1700 and 1701
Beginning single-threaded execution
Connecting using SQL Server driver
|=================================== | 50%Error: Error executing SQL:
com.microsoft.sqlserver.jdbc.SQLServerException: CREATE TABLE permission denied in database âshsâ.
An error report has been created at /opt/app/errorReport.txt
Warning: folder DEFAULT/DEFAULT/2020-02-26T19.06.26 already exists
Connecting using SQL Server driver
Error in rJava::.jcall(statement, âVâ, âcloseâ) :
com.microsoft.sqlserver.jdbc.SQLServerException: Database âshs_achillesâ does not exist. Make sure that the name is entered correctly.