Change Create Windows Task to main.py
This commit is contained in:
@@ -30,6 +30,7 @@ def database(query,name,user):
|
||||
auth_plugin='mysql_native_password',
|
||||
)
|
||||
mydb.connect()
|
||||
print("SQL Server Connect")
|
||||
cursor = mydb.cursor()
|
||||
if "SELECT" in query:
|
||||
if user:
|
||||
|
||||
Reference in New Issue
Block a user