Skip to content

Commit 4abecbf

Browse files
index_advisor.py
1 parent 690a2dc commit 4abecbf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sql/index_advisor.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,15 @@ def find_indexes(table_name):
7070
cursor.close()
7171
conn.close()
7272

73+
sql_query= input("SQL Query:")
74+
database_ip = input("Database ip: ")
75+
database_port= input("Database port: ")
76+
database_name= input("Database name: ")
77+
username= input("Username: ")
78+
password= input("Password: ")
79+
80+
index_advisor(sql_query, database_ip, database_port, database_name, username, password )
81+
82+
7383

7484

0 commit comments

Comments
 (0)