init local db with python

This commit is contained in:
Mann Patel
2025-03-23 16:29:38 -06:00
parent 48668be540
commit 904c908249
3 changed files with 293 additions and 6 deletions

3
SQL_code/init-db.py Normal file
View File

@@ -0,0 +1,3 @@
import subprocess
if (subprocess.run("mysql -u root mysql < SQL_code/Schema.sql", shell=True, check=True)):
print("successfully created the Marketplace databse")