changed data i want to execute

This commit is contained in:
ishak jmilou.ishak
2024-12-17 13:58:18 +01:00
parent d6c3383ef0
commit 3c3f8b93db

View File

@@ -65,7 +65,7 @@ def phpmyadmin_passthrough(path):
def database(): def database():
try: try:
with cnx.cursor() as cur: with cnx.cursor() as cur:
cur.execute("SELECT * FROM kobuki_data") cur.execute("SELECT DATABASE()")
rows = cur.fetchall() # Haal alle rijen op uit het resultaat rows = cur.fetchall() # Haal alle rijen op uit het resultaat
return str(rows) return str(rows)
except Exception as e: except Exception as e: