Skip to content

Commit

Permalink
use correct path to schema file
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Jul 24, 2023
1 parent b7a7cdc commit 76464d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion METdbLoad/sql/scripts/db_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ def create_database(self):


# Schema
schema_full_path = os.path.join(self.schema_path,
'METdataio/METdbLoad/sql/mv_mysql.sql')
schema_list = [ "-umvadmin -p",self.password, " ", self.db_name, ' < ',
self.schema_path]
schema_full_path]
schema_cmd = ''.join(schema_list)
logging.debug(f'Schema command: {schema_cmd}')

Expand Down

0 comments on commit 76464d4

Please sign in to comment.