lampongyuen commited on
Commit
9180c63
·
1 Parent(s): c42ddd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,7 +15,8 @@ mydb = connector.connect(
15
 
16
  mycursor=mydb.cursor()
17
  st.write("Connection Established")
18
- mycursor.execute("select * from mytable")
 
19
  result = mycursor.fetchall()
20
  for row in result:
21
  st.write(row)
 
15
 
16
  mycursor=mydb.cursor()
17
  st.write("Connection Established")
18
+ # mycursor.execute("select * from mytable")
19
+ mycursor.execute("select * from users")
20
  result = mycursor.fetchall()
21
  for row in result:
22
  st.write(row)