diff --git a/METdbLoad/sql/scripts/db_prep.py b/METdbLoad/sql/scripts/db_prep.py index eb9f8a5c..e5473a2f 100644 --- a/METdbLoad/sql/scripts/db_prep.py +++ b/METdbLoad/sql/scripts/db_prep.py @@ -71,9 +71,9 @@ def create_database(self): # Schema - schema_list = ['', self.db_name, ' < ', self.schema_path] - schema_str = ''.join(schema_list) - schema_cmd = uname_pass + schema_str + schema_list = [ "-umvadmin -p",self.password, self.db_name, ' < ', + self.schema_path] + schema_cmd = ''.join(schema_list) logging.debug(f'Schema command: {schema_cmd}')