Compare commits
No commits in common. "84172cfa8f5be6d52f7d8b7bf6c2d9631d0c804a" and "b616ca80ca61142a6e9f27941220be26f7bc6ad1" have entirely different histories.
84172cfa8f
...
b616ca80ca
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ if st.button('Save All Changes'):
|
|||
df.update(st.session_state.edited_df)
|
||||
st.write("All changes saved!")
|
||||
st.write(df)
|
||||
conn = mysql.connector.connect(user=user,password=password, host=host,port=port,database=database)
|
||||
conn = mysql.connector.connect(user='root',password='Throwaway', host='localhost',port=3306,database='workouts')
|
||||
cursor = conn.cursor()
|
||||
for index, row in df.iterrows():
|
||||
query = ("INSERT INTO `workouts`"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue